Jump to content

User:Maxim's JS test account/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Maxim's JS test account (talk | contribs) at 23:56, 6 December 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//
//--------------------------------------------------------------
//First loads
//Helper tools
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//////////////////////
 
// Admin tools
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice of All/adminnolupin/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// Script from [[User:MarkS/extraeditbuttons.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:MarkS/extraeditbuttons.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// [[User:Lupin/popups.js]]   
importScript('User:Lupin/popups.js');
 
popupAdminLinks=true;
popupFixDabs=true;
 
// CSD AutoReason
importScript('User:^demon/csd.js');
 
// [[User:Steel359/protection.js]]
importScript('User:Steel359/protection.js');
 
// {{commons ok}} tagger
function commonsOK() {
  document.editform.wpTextbox1.value += "\n{{commons ok}}";
  document.editform.wpSummary.value = "{{[[Template:commons ok|commons ok]]}}";
  document.editform.submit();
}
function addCommonsOK(){
  imgString = "Editing Image:";
  if (document.getElementsByTagName('h1')[0].firstChild.nodeValue.substring(0, imgString.length) == imgString) {
    addTab("javascript:commonsOK()", "{{commons ok}}", "");
    akeytt();
  }
}
addOnloadHook(addCommonsOK);
 
// ais523's graphic edit-counter
importScript('User:ais523/editcount.js'); //[[User:ais523/editcount.js]]
 
function navigationlinks()
{
    addnavbox_link('/wiki/Wikipedia:Administrator_intervention_against_vandalism','Vandalism','aiv-ln');
    addnavbox_link('/wiki/Category:Candidates_for_speedy_deletion','Speedy deletions','speedy-ln');
    addnavbox_link('/wiki/Wikipedia:Requests for page protection','Protection requests','rfpp-ln');
    addnavbox_link('/wiki/Wikipedia:Administrators%27_noticeboard','Noticeboard','AN-ln');
}
 
//END