importScript( 'User:Σ/Testing facility/Archiver.js' ); // Backlink: [[User:Σ/Testing facility/Archiver]]
importScript('User:Ais523/bracketmatch.js'); // Backlink: [[Ais523/bracketmatch.js]]
//Add a 'null edit' tab
if(mw.config.get('wgNamespaceNumber') != -1 && mw.config.get('wgArticleId') != 0) {
addOnloadHook( function() {
mw.util.addPortletLink('p-cactions',
mw.config.get('wgScript') '?title=' encodeURIComponent(mw.config.get('wgPageName')) '&action=edit&nulledit=true',
'Null',
'p-null',
'Null edit this page');
}
)}
if( mw.config.get('wgAction') == 'edit' && inurl('nulledit') == 'true') {
addOnloadHook( function() {
document.getElementById('wpSave').click();
}
)}
function inurl(p) {
var re = RegExp('[&?]' p '=([^&]*)');
var matches;
if (matches = re.exec(document.location)) {
try {
return decodeURI(matches[1]);
} catch (e) { }
}
return null;
}
importScript( 'User:Ahecht/Scripts/pageswap.js' ); // Backlink: [[User:Ahecht/Scripts/pageswap]]
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]