MediaWiki:Monobook.js: Difference between revisions

Jump to navigation Jump to search
test redirect custom button
No edit summary
(test redirect custom button)
Line 1: Line 1:
/* tooltips and access keys */
/* <pre><nowiki> tooltips and access keys */
ta = new Object();
ta = new Object();
ta['pt-userpage'] = new Array('.','My user page');
ta['pt-userpage'] = new Array('.','My user page');
Line 49: Line 49:
ta['ca-nstab-help'] = new Array('c','View the help page');
ta['ca-nstab-help'] = new Array('c','View the help page');
ta['ca-nstab-category'] = new Array('c','View the category page');
ta['ca-nstab-category'] = new Array('c','View the category page');
{
//Redirect
mwCustomEditButtons[mwCustomEditButtons.length] = {
    "imageFile": "http://www.wikiindex.com/images/c/c8/Button_redirect.png",
    "speedTip": "Redirect",
    "tagOpen": "#REDIRECT[[",
    "tagClose": "]]",
    "sampleText": "Redirect target"}
}
/* </nowiki></pre> */
1,923

edits

Navigation menu