User:Gerbrant/monobook.js

if(document.URL.indexOf("/w/index.php?title=Special:Watchlist&") == -1)

{

/*

Popups settings

  • /

popupNavLinkSeparator = ' · ';

popupDelay = 2;

/*

Scripts to load

  • /

Gerbrant = {fw: {load: [

"Gerbrant.hidePane",

"Cryptic.spoiler",

"Gerbrant.NihongoReviveFirstHelpLink",

"Gerbrant.edit.top",

"Gerbrant.edit.linksInDiff",

"Gerbrant.mng.decache",

"Gerbrant.edit.autoReplace",

"Lupin.popupsdev", // User:Lupin/popups.js

"Gerbrant.gui.toolbox",

"Gerbrant.edit.blame",

"Gerbrant.edit.citeHelper"

]},

gui: {toolbox: {load: [

"Gerbrant.mng.listModules",

["Gerbrant.edit.selectionReplacer", "{{unreferenced}}"],

["Gerbrant.edit.selectionReplacer", "{{refimprove}}"],

["Gerbrant.edit.selectionReplacer", "{{citation style}}"],

["Gerbrant.edit.selectionReplacer", "test1"],

["Gerbrant.edit.selectionReplacer", "test2", "subst"],

["Gerbrant.edit.selectionReplacer", "test3", function(a){return a.toUpperCase();}],

["Gerbrant.edit.selectionReplacer", "test4", "<", ">"],

["Gerbrant.edit.selectionReplacer", "test5", "<", ">", "sample"]

]}},

edit: {regexReplace: {

lang: "nl",

presets:

{

Caps:

{

regex: "[A-Z]{2,}",

caseSens: true,

replace: function(a)

{

return a.slice(0,1) +

a.slice(1).toLowerCase();

}

},

Avex:

{

regex: "\\[\\[avex( records| trax)?(\\|avex trax|\\|avex(?=\\]\\]))?",

replace: "[[Avex Trax"

},

DoubleURL:

{

regex: "http[^ \\]]+",

mask: "function(a){if(extlinks[a])return true;extlinks[a]=true;return false;};var extlinks={}",

replace: ""

},

Tildes:

{

regex: "\\s*[~\u301C\uff5e](.*?)[~\u301C\uff5e]",

replace: function(a, b)

{

return ": " + b;

}

}

}

}}/*,

hidePane: {

background: "#000000",

color: "#00dd00",

selBackground: "#00dd00!important",

selColor: "#000000",

borderColor: "#00dd00"

}*/};

/*

Bootstrap

  • /

document.write('