"मीडियाविकि: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' ); | ||
+ | var button = { | ||
+ | "imageFile": "images/Button_redirect.png", // image to be shown on the button (may be a full URL too), 22x22 pixels | ||
+ | "speedTip": "Redirect", // text shown in a tooltip when hovering the mouse over the button | ||
+ | "tagOpen": "[[", // the text to use to mark the beginning of the block | ||
+ | "tagClose": "]]", // the text to use to mark the end of the block (if any) | ||
+ | "sampleText": "#redirect:pagename" // the sample text to place inside the block | ||
+ | }; |
१०:३४, ८ दिसम्बर २००९ का अवतरण
/* यहां लिखी गई जावास्क्रीप्ट सभी सदस्योंके लिये इस्तेमाल में लाई जायेगी। */ 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' ); var button = { "imageFile": "images/Button_redirect.png", // image to be shown on the button (may be a full URL too), 22x22 pixels "speedTip": "Redirect", // text shown in a tooltip when hovering the mouse over the button "tagOpen": "[[", // the text to use to mark the beginning of the block "tagClose": "]]", // the text to use to mark the end of the block (if any) "sampleText": "#redirect:pagename" // the sample text to place inside the block };