// [[User:Lupin/popups.js]]
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// installation of the wikEd editing page extension
// install [[User:Cacycle/diff]] text diff code
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// install [[User:Pilaf/Live_Preview]] page preview tool
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/RegExTypoFix.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// [[User:Outriggr/metadatatest.js]]
importScript('User:Outriggr/metadatatest.js');
assessmentDefaultProject = "WPBiography";
assessmentMyTemplateCode = ["{"+"{WikiProject Canada|class=|importance=|type =|cangov =|ppap =|canlaw =|caned =|nested=}}", "{"+"{WPBiography|class=|priority=|needs-infobox =|needs-photo =|listas=}}","{"+"{Saskatchewanproject}}", "{"+"{WPSchools|class=|importance=|needs-infobox=|info=|page=|move=|nested=}}", "{"+"{WikiProject Law|quality=|importance=}}", "{"+"{WikiProject Ships|class=|importance=|nested=}}", "{"+"{TrainsWikiProject|class=|importance=}}", "{"+"{ShipwrecksWikiProject|class=|nested=yes}}", "{"+"{River|Mapneeded=|nested=}}", "{"+"{lake project|quality=|nested=}}", "{"+"{NorthAmNative|class=|nested=}}", "{"+"{Canada Roads WikiProject|class=}}", "{"+"{Lighthouse}}", "{"+"{Mountain}}", "{"+"{WPLinux|class=}}", "{"+"{BCproject|class =|importance =|nested =}}"];
assessmentMarkAsMinor = false;
// skip talk page on categories when assessing - time saver
function catSwapButton() {
if(document.title.indexOf('Category:' == 0)) {
mw.util.addPortletLink('p-cactions','javascript:catSwap();','De-Talkify','ca-catswap','change category links from talk pages to article pages');
}
}
addOnloadHook(catSwapButton);
function catSwap() {
var cat = document.getElementById('mw-pages');
cat.innerHTML = cat.innerHTML.replace(/Talk\:/g,'').replace(/[_\s]talk\:/g,':');
}
//saving tab
addOnloadHook(addsaveaction);
function addsaveaction() {
if(document.title.indexOf('Editing ') == 0) mw.util.addPortletLink('p-cactions','javascript:document.getElementById("wpSave").click();','save','Save');
}