"मीडियाविकि:Common.js" के अवतरणों में अंतर
नेविगेशन पर जाएँ
खोज पर जाएँ
(नया पृष्ठ: /* यहां लिखी गई जावास्क्रीप्ट सभी सदस्योंके लिये इस्तेमाल में लाई...) |
|||
पंक्ति १७: | पंक्ति १७: | ||
// extra drop down menu on editing for adding special characters | // extra drop down menu on editing for adding special characters | ||
includePage( 'MediaWiki:Edittools.js' ); | includePage( 'MediaWiki:Edittools.js' ); | ||
+ | |||
+ | if (mwCustomEditButtons) { | ||
+ | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
+ | "imageFile": "http://www.koreanwikiproject.com/wiki/skins/common/images/Button_redirect.png", | ||
+ | "speedTip": "Redirect", | ||
+ | "tagOpen": "#REDIRECT [[", | ||
+ | "tagClose": "]]", | ||
+ | "sampleText": "Insert text"}; | ||
+ | } |
०७:१०, ८ दिसम्बर २००९ का अवतरण
/* यहां लिखी गई जावास्क्रीप्ट सभी सदस्योंके लिये इस्तेमाल में लाई जायेगी। */ function includePage( name ) { document.write('<script type="text/javascript" src="' + wgScript + '?title=' + name + '&action=raw&ctype=text/javascript"><\/script>' ); } /* End of includePage */ /* Including extra .js pages */ // switches for scripts // var load_extratabs = true; var load_edittools = true; // extra drop down menu on editing for adding special characters includePage( 'MediaWiki:Edittools.js' ); if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://www.koreanwikiproject.com/wiki/skins/common/images/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT [[", "tagClose": "]]", "sampleText": "Insert text"}; }