User:MarkS/extraeditbuttons.js: Difference between revisions

Content deleted Content added
m Reverted edits by Xeno (talk) to last version by Harej
mwEditButtons has been empty for years, it is no longer possible to remove standard buttons. And even years ago when it was possible, it was not a feature, but a bug (internal variable that leaked in global scope).
Line 154:
//Remove the buttons the user doesn't want
 
if (typeof rmEditButtons!='object') return;
 
if (typeof rmEditButtons[0] == 'string' && rmEditButtons[0].toLowerCase() == 'all')