MediaWiki:Monobook.js: Difference between revisions

m
nope, didn't work
(test redirect custom button)
m (nope, didn't work)
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> */
/* </nowiki></pre> */
1,923

edits