From Wikipedia, the free encyclopedia
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.

importScript('User:Ryan Vesey/sidebar.js'); //puts a link in the sidebar to NewPagesFeed

 

importScript('User:Steven Zhang/DRW.js'); //DR Wizard

/* 22 Nov 2011: restored the ('User:Quarl/util.js') and User:Quarl/wikipage.js scripts that  were casing  the 'grey box' syndrome that  happens all on  its own. The removal  had caused the status change buttons to  disappear, and the user rights notice to  disappear. */ 

 

importScript('User:AWeenieMan/furme.js');

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

importScript('User:AWeenieMan/furme.js');

importScript('User:TheJosh/Scripts/NewPagePatrol.js');

 

// Add [[WP:Reflinks]] launcher in the toolbox on left

addOnloadHook(function () {

 mw.util.addPortletLink(

  "p-tb",     // toolbox portlet

  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName 

   + "?client=script&citeweb=on&overwrite=&limit=30&lang=" + wgContentLanguage,

  "Reflinks"  // link label

)});

 

importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script [[WP:FWDS]]

 

/* 'Watchlist since' should load only new changes to  your watchlist  since the last  time you  reloaded it*/

importScript('Wikipedia:WikiProject User scripts/Scripts/Watchlist since');

 

 

/*importScript('User:VoA/monobook.js');*/

importScript('User:Theopolisme/whisperbackLink.js')

 

//[[Category:Wikipedians who use RC script]]

 

/* Important tool for Good Article and Featured article reviewers and writers. Provides a complete analysis of the status of all external links */

/** Checklinks toolbox item ***************************************************

* 

*  Description: Adds an item in toolbox portlet that runs the checklinks tool 

*               on the viewed page.

*  Maintainers: [[User:Dispenser]]

*  Installation: Copy and paste following code into you /monobook.js

*  <nowiki>         {{subst:js|User:Dispenser/Link checker/toolbox.js}}

*  </nowiki>

*/

function checklinks(){

mw.util.addPortletLink('p-tb', 'http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=' + wgContentLanguage + ':' + wgPageName, 'Check external links', 't-checklinks');

}

if(wgIsArticle){

addOnloadHook(checklinks);

}

 

importScript('User:Lupin/recent2.js');

 

 

importScript('User:Quarl/wikipage.js');function addToToolbox() {

  if (wgCanonicalNamespace != "Special") {

 

   var pTb = document.getElementById("p-tb");

   var pRef = pTb.cloneNode(true);

   var pStats = pTb.cloneNode(true);

 

   pRef.id="p-refs";

   pRef.innerHTML = "<h5>Reference formatting</h5><div class=pBody><ul></ul></div>";

   pStats.id="p-stats";

   pStats.innerHTML = "<h5>Statistics</h5><div class=pBody><ul></ul></div>";

   pTb.parentNode.insertBefore(pRef, pTb.nextSibling);

   pTb.parentNode.insertBefore(pStats, pRef);

 

   var escPageName = escape(wgPageName).replace(/\+/g, '%2B').replace(/&/g, '%26').replace(/%u2013/g, '%96');

 

   mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=toolbar&turbo=1&user="+wgUserName+"&page="+escPageName, 'Automatic (fast)', '', "Add DOIs to citations and fix common formatting errors. Turbo mode!");

   mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=toolbar&slow=1&user="+wgUserName+"&page="+escPageName, 'Automatic (thorough)', '', "Add DOIs to citations and fix common formatting errors");

   //mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Scholar/RefTool.php?user="+wgUserName+"&wgPageName="+escPageName, 'Semi-automatic (experimental)', '', "Improve formatting of references – manually approve automatic improvements");

 

   now = new Date();

   var month = now.getMonth();

   var thisMonth = (now.getDay() > 6);

   if (thisMonth) month++;

   if (month == 0) var month=12;

   else var month =  ((month <10)?'0':'') + month;

   mw.util.addPortletLink("p-stats", "http://stats.grok.se/en/" + now.getFullYear() + month + "/"+wgPageName, 'Traffic stats', '', "Traffic to this page " + (thisMonth?'this':'last') + " month");

   mw.util.addPortletLink("p-stats", "http://wikidashboard.parc.com/wiki/"+wgPageName, 'Edit history stats', '', "Statistics about the edit history of this page");

 

    }

}

addOnloadHook(addToToolbox);

 

 

/* Status changer puts a coloured blob in  the top  bar  of your user page and talk  pag to  notify  users of your online status */

//////////STATUS CHANGER

// Creator: Misza13

// Credits: Voyagerfan5761 for some minor improvements

// Modified by Xenocidic to simply use /Status as a one word indicator,

// Modified by Kraftlos to include Sleep status

// compatible with {{Statustop}} for display

 

addOnloadHook(function (){

  //Check if the config is defined

  if (typeof(statusChangerConfig) == 'undefined') {

    statusChangerConfig = {}

  }

 

  if (typeof(statusChangerConfig.statusList) == 'undefined') {

      statusChangerConfig.statusList =  'online', 'busy', 'around', 'offline', 'sleep' ];

  }

 

  if (typeof(statusChangerConfig.statusPage) == 'undefined') {

      statusChangerConfig.statusPage = 'User:' + wgUserName + '/Status';

  }

 

  //Add the links

  for (var i=0; i<statusChangerConfig.statusList.length; i++) {

    var stat = statusChangerConfig.statusListi];

    var message = (stat === "sleep") ?  link = "asleep" : link = stat;

    mw.util.addPortletLink(

      "p-personal", //target tab - personal links

      mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + statusChangerConfig.statusPage + "&action=edit&newstatus=" + stat, //link URL

      stat, //link text

      "pt-status-" + stat, //id of new button

      "I'm " + message + "!", //hover text

      "", //???

      document.getElementById("pt-logout")); //add before logout button

  }

 

  if (location.href.indexOf("&action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?

  //Get new status

  statusRegExp = /&action=edit&newstatus=(.*)/;

  var status = statusRegExp.exec(location.href)[1];

  //Modify the form

  document.getElementById('wpTextbox1').value = status;

  if (status == "sleep")

  { status = "sleeping"; }

  document.getElementById('wpSummary').value = wgUserName + " is now " + status +".";

  document.getElementById('wpMinoredit').checked = true;

  //Submit it!

  document.getElementById('editform').submit();

});

 

//[[Category:Wikipedia scripts|statusChanger]]

 

/* Wiki bookmarks, stored in special user page, adds tabs */

importScript('User:Twinzor/wikimark.js');

 

 

/* cribbed from  Boing said Zeb. Apparently  useful  for admins. */

importScript('User:AzaToth/twinkle.js');

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS

TwinkleConfig.watchRevertedPages = [];

TwinkleConfig.showSharedIPNotice = false;

TwinkleConfig.showRollbackLinks =  'diff' ];

TwinkleConfig.watchSpeedyPages = [];

TwinkleConfig.watchWarnings = false;

 

 

/* Cribbed from  Wifione. Apparently  useful  for admins. */

// EasyBlock - Allows to block users quickly using a drop-down menu with frequent lengths and reasons

importScript('User:Animum/easyblock.js');

//[[User:Animum/easyblock.js]]

 

// EasyUnBlock - Allows to unblock users quickly using a drop-down menu with frequent lengths and reasons

//Easyblock

importScript('User:Animum/easyblock.js');

 

//CSD Deleter and Decliner

importScript('User:Ale_jrb/Scripts/csdcheck.js');

var notifyByDefaultDel	= true;

importScript('User:Ale_jrb/Scripts/csdhelper.js');

 

//Mark blocked users

mw.loader.load('https://ru.wikipedia.org/?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

 

//List usergroups on User:USERNAME or User talk:USERNAME

importScript('User:Splarka/sysopdectector.js');

 

//Mark blocked users

mw.loader.load('https://ru.wikipedia.org/?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

 

//List usergroups on User:USERNAME or User talk:USERNAME

importScript('User:Splarka/sysopdectector.js');

 

// User Identifier - Adds a little button to the username when viewing the userpage, showing edit count, groups, registering date

importScript('User:Anomie/useridentifier.js');

 

// UserRights Link - Adds a "User rights" links to user pages

//importScript('User:X!/userrights.js');

 

/* Automates the addition  of the delsort notes to  AfD but doesn't always show in  Twinkle menu; doesn't  always do  a complete job */

importScript('User:AzaToth/morebits.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');

importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');

importScript('User:AzaToth/twinkle.js');

importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');

 

 

/**** afd helper ****/

importScript('User:Jnothman/afd_helper/script.js');

 

/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */

 

 

importScript('User:Mr.Z-man/closeAFD.js');

 

// [[user:js/watchlist]]

if (wgCanonicalSpecialPageName == 'Watchlist') 

  importScript('user:js/watchlist.js');

 

// closemfd.js - updated by [[User:Doug]] with help from [[User:thedj]] from code 

// written by [[User:King of Hearts]], modified from

// [[Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js]] by [[User:Johnleemk]]

// and [[User:Lifebaka/closedrv.js]] by [[User:Lifebaka]]

 

function automfd_result()

{

	var close = prompt("Result of debate?")

	var f = document.editform, t = f.wpTextbox1;

 

	t.value = "{{subst:" + "mfd top" + "|1='''" + close + "'''.|2=y}}" + "\n" + "\n" + t.value;

	if (t.value.length > 0)

	{

		t.value += '\n';

	}

	t.value += "{{subst:" + "mfd bottom" + "}}";

	f.wpSummary.value += "Closing debate; result was " + close + " (using [[User:Doug/closemfd.js]])";

}

 

function automfd_add_mfd_tabs()

{

	// Only add for pages with the right string somewhere in the title

	if ((document.title.indexOf("Editing Wikipedia:Miscellany for deletion/") != -1) && (document.title.indexOf("(section)") != -1))

	{

		mw.util.addPortletLink('p-cactions', 'javascript:automfd_result()', "close");

	}

}

 

addOnloadHook(automfd_add_mfd_tabs);

 

importScript('User:Theopolisme/whisperbackLink.js')

 

importScript('User:Mr.Z-man/closeAFD.js');
From Wikipedia, the free encyclopedia
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.

importScript('User:Ryan Vesey/sidebar.js'); //puts a link in the sidebar to NewPagesFeed

 

importScript('User:Steven Zhang/DRW.js'); //DR Wizard

/* 22 Nov 2011: restored the ('User:Quarl/util.js') and User:Quarl/wikipage.js scripts that  were casing  the 'grey box' syndrome that  happens all on  its own. The removal  had caused the status change buttons to  disappear, and the user rights notice to  disappear. */ 

 

importScript('User:AWeenieMan/furme.js');

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]

importScript('User:AWeenieMan/furme.js');

importScript('User:TheJosh/Scripts/NewPagePatrol.js');

 

// Add [[WP:Reflinks]] launcher in the toolbox on left

addOnloadHook(function () {

 mw.util.addPortletLink(

  "p-tb",     // toolbox portlet

  "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName 

   + "?client=script&citeweb=on&overwrite=&limit=30&lang=" + wgContentLanguage,

  "Reflinks"  // link label

)});

 

importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script [[WP:FWDS]]

 

/* 'Watchlist since' should load only new changes to  your watchlist  since the last  time you  reloaded it*/

importScript('Wikipedia:WikiProject User scripts/Scripts/Watchlist since');

 

 

/*importScript('User:VoA/monobook.js');*/

importScript('User:Theopolisme/whisperbackLink.js')

 

//[[Category:Wikipedians who use RC script]]

 

/* Important tool for Good Article and Featured article reviewers and writers. Provides a complete analysis of the status of all external links */

/** Checklinks toolbox item ***************************************************

* 

*  Description: Adds an item in toolbox portlet that runs the checklinks tool 

*               on the viewed page.

*  Maintainers: [[User:Dispenser]]

*  Installation: Copy and paste following code into you /monobook.js

*  <nowiki>         {{subst:js|User:Dispenser/Link checker/toolbox.js}}

*  </nowiki>

*/

function checklinks(){

mw.util.addPortletLink('p-tb', 'http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=' + wgContentLanguage + ':' + wgPageName, 'Check external links', 't-checklinks');

}

if(wgIsArticle){

addOnloadHook(checklinks);

}

 

importScript('User:Lupin/recent2.js');

 

 

importScript('User:Quarl/wikipage.js');function addToToolbox() {

  if (wgCanonicalNamespace != "Special") {

 

   var pTb = document.getElementById("p-tb");

   var pRef = pTb.cloneNode(true);

   var pStats = pTb.cloneNode(true);

 

   pRef.id="p-refs";

   pRef.innerHTML = "<h5>Reference formatting</h5><div class=pBody><ul></ul></div>";

   pStats.id="p-stats";

   pStats.innerHTML = "<h5>Statistics</h5><div class=pBody><ul></ul></div>";

   pTb.parentNode.insertBefore(pRef, pTb.nextSibling);

   pTb.parentNode.insertBefore(pStats, pRef);

 

   var escPageName = escape(wgPageName).replace(/\+/g, '%2B').replace(/&/g, '%26').replace(/%u2013/g, '%96');

 

   mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=toolbar&turbo=1&user="+wgUserName+"&page="+escPageName, 'Automatic (fast)', '', "Add DOIs to citations and fix common formatting errors. Turbo mode!");

   mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=toolbar&slow=1&user="+wgUserName+"&page="+escPageName, 'Automatic (thorough)', '', "Add DOIs to citations and fix common formatting errors");

   //mw.util.addPortletLink("p-refs", "http://tools.wikimedia.de/~verisimilus/Scholar/RefTool.php?user="+wgUserName+"&wgPageName="+escPageName, 'Semi-automatic (experimental)', '', "Improve formatting of references – manually approve automatic improvements");

 

   now = new Date();

   var month = now.getMonth();

   var thisMonth = (now.getDay() > 6);

   if (thisMonth) month++;

   if (month == 0) var month=12;

   else var month =  ((month <10)?'0':'') + month;

   mw.util.addPortletLink("p-stats", "http://stats.grok.se/en/" + now.getFullYear() + month + "/"+wgPageName, 'Traffic stats', '', "Traffic to this page " + (thisMonth?'this':'last') + " month");

   mw.util.addPortletLink("p-stats", "http://wikidashboard.parc.com/wiki/"+wgPageName, 'Edit history stats', '', "Statistics about the edit history of this page");

 

    }

}

addOnloadHook(addToToolbox);

 

 

/* Status changer puts a coloured blob in  the top  bar  of your user page and talk  pag to  notify  users of your online status */

//////////STATUS CHANGER

// Creator: Misza13

// Credits: Voyagerfan5761 for some minor improvements

// Modified by Xenocidic to simply use /Status as a one word indicator,

// Modified by Kraftlos to include Sleep status

// compatible with {{Statustop}} for display

 

addOnloadHook(function (){

  //Check if the config is defined

  if (typeof(statusChangerConfig) == 'undefined') {

    statusChangerConfig = {}

  }

 

  if (typeof(statusChangerConfig.statusList) == 'undefined') {

      statusChangerConfig.statusList =  'online', 'busy', 'around', 'offline', 'sleep' ];

  }

 

  if (typeof(statusChangerConfig.statusPage) == 'undefined') {

      statusChangerConfig.statusPage = 'User:' + wgUserName + '/Status';

  }

 

  //Add the links

  for (var i=0; i<statusChangerConfig.statusList.length; i++) {

    var stat = statusChangerConfig.statusListi];

    var message = (stat === "sleep") ?  link = "asleep" : link = stat;

    mw.util.addPortletLink(

      "p-personal", //target tab - personal links

      mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + statusChangerConfig.statusPage + "&action=edit&newstatus=" + stat, //link URL

      stat, //link text

      "pt-status-" + stat, //id of new button

      "I'm " + message + "!", //hover text

      "", //???

      document.getElementById("pt-logout")); //add before logout button

  }

 

  if (location.href.indexOf("&action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?

  //Get new status

  statusRegExp = /&action=edit&newstatus=(.*)/;

  var status = statusRegExp.exec(location.href)[1];

  //Modify the form

  document.getElementById('wpTextbox1').value = status;

  if (status == "sleep")

  { status = "sleeping"; }

  document.getElementById('wpSummary').value = wgUserName + " is now " + status +".";

  document.getElementById('wpMinoredit').checked = true;

  //Submit it!

  document.getElementById('editform').submit();

});

 

//[[Category:Wikipedia scripts|statusChanger]]

 

/* Wiki bookmarks, stored in special user page, adds tabs */

importScript('User:Twinzor/wikimark.js');

 

 

/* cribbed from  Boing said Zeb. Apparently  useful  for admins. */

importScript('User:AzaToth/twinkle.js');

if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE - ALL TWINKLE SETTINGS AFTER THIS

TwinkleConfig.watchRevertedPages = [];

TwinkleConfig.showSharedIPNotice = false;

TwinkleConfig.showRollbackLinks =  'diff' ];

TwinkleConfig.watchSpeedyPages = [];

TwinkleConfig.watchWarnings = false;

 

 

/* Cribbed from  Wifione. Apparently  useful  for admins. */

// EasyBlock - Allows to block users quickly using a drop-down menu with frequent lengths and reasons

importScript('User:Animum/easyblock.js');

//[[User:Animum/easyblock.js]]

 

// EasyUnBlock - Allows to unblock users quickly using a drop-down menu with frequent lengths and reasons

//Easyblock

importScript('User:Animum/easyblock.js');

 

//CSD Deleter and Decliner

importScript('User:Ale_jrb/Scripts/csdcheck.js');

var notifyByDefaultDel	= true;

importScript('User:Ale_jrb/Scripts/csdhelper.js');

 

//Mark blocked users

mw.loader.load('https://ru.wikipedia.org/?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

 

//List usergroups on User:USERNAME or User talk:USERNAME

importScript('User:Splarka/sysopdectector.js');

 

//Mark blocked users

mw.loader.load('https://ru.wikipedia.org/?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

 

//List usergroups on User:USERNAME or User talk:USERNAME

importScript('User:Splarka/sysopdectector.js');

 

// User Identifier - Adds a little button to the username when viewing the userpage, showing edit count, groups, registering date

importScript('User:Anomie/useridentifier.js');

 

// UserRights Link - Adds a "User rights" links to user pages

//importScript('User:X!/userrights.js');

 

/* Automates the addition  of the delsort notes to  AfD but doesn't always show in  Twinkle menu; doesn't  always do  a complete job */

importScript('User:AzaToth/morebits.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');

importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');

importScript('User:AzaToth/twinkle.js');

importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');

 

 

/**** afd helper ****/

importScript('User:Jnothman/afd_helper/script.js');

 

/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */

 

 

importScript('User:Mr.Z-man/closeAFD.js');

 

// [[user:js/watchlist]]

if (wgCanonicalSpecialPageName == 'Watchlist') 

  importScript('user:js/watchlist.js');

 

// closemfd.js - updated by [[User:Doug]] with help from [[User:thedj]] from code 

// written by [[User:King of Hearts]], modified from

// [[Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js]] by [[User:Johnleemk]]

// and [[User:Lifebaka/closedrv.js]] by [[User:Lifebaka]]

 

function automfd_result()

{

	var close = prompt("Result of debate?")

	var f = document.editform, t = f.wpTextbox1;

 

	t.value = "{{subst:" + "mfd top" + "|1='''" + close + "'''.|2=y}}" + "\n" + "\n" + t.value;

	if (t.value.length > 0)

	{

		t.value += '\n';

	}

	t.value += "{{subst:" + "mfd bottom" + "}}";

	f.wpSummary.value += "Closing debate; result was " + close + " (using [[User:Doug/closemfd.js]])";

}

 

function automfd_add_mfd_tabs()

{

	// Only add for pages with the right string somewhere in the title

	if ((document.title.indexOf("Editing Wikipedia:Miscellany for deletion/") != -1) && (document.title.indexOf("(section)") != -1))

	{

		mw.util.addPortletLink('p-cactions', 'javascript:automfd_result()', "close");

	}

}

 

addOnloadHook(automfd_add_mfd_tabs);

 

importScript('User:Theopolisme/whisperbackLink.js')

 

importScript('User:Mr.Z-man/closeAFD.js');

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook