if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) {
var pageName = 'Edit_stats';
var subPages = 'true';
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript');
} // Backlink: [[User:Kanegasi/editcounter]]
importScript('Wikipedia:AutoEd/complete.js')
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );
var autoFormatterButtonLabel = 'Auto-Format';
importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
importScript("User:Awesome Aasim/xfdvote.js");
mw.config.get('wgAction') === 'history' &&
$.when($.ready, mw.loader.using('mediawiki.util')).then(function () {
$('.autocomment > a').attr('href', function () {
return mw.util.getUrl(null, { oldid: $(this).closest('li').data('mwRevid') }) + this.hash;
});
});
importScript('User:BrandonXLF/HotDefaultSort.js'); // [[User:BrandonXLF/HotDefaultSort.js]]
window.hotcat_translations_from_commons = true;
/*
This imports the latest version of HotCat from Commons.
HotCat is a gadget to make changes to categories much easier.
Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat
*/
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&maxage=86400&ctype=text/javascript" );
if(mw.config.get("wgAction") !== "edit") {
$.when($.ready, mw.loader.using("mediawiki.util")).then(function() {
$("#t-info a").attr("accesskey", "l").updateTooltipAccessKeys();
});
}
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
//importScript('User:Evad37/OneClickArchiver.js'); // Backlink: [[User:Evad37/OneClickArchiver.js]]
importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Newslinger/Notifier.js'); // Backlink: [[User:Newslinger/Notifier.js]]
importScript('User:Anomie/diffcur.js'); // Backlink: [[User:Anomie/diffcur.js]]
importScript('User:Anomie/ajaxpreview.js'); // Backlink: [[User:Anomie/ajaxpreview.js]]
importScript('User:Anomie/lastmod.js'); // Backlink: [[User:Anomie/lastmod.js]]
importStylesheet('User:Anomie/untoclimit.css'); // Linkback: [[User:Anomie/untoclimit.css]]
importScript('User:Anomie/pagestats.js'); // Backlink: [[User:Anomie/pagestats.js]]
/* A simple javascript function to change the text in various tabs at the top of the
* page. Only tested with the monobook skin.
*/
$(document).ready(function(){
var fix=function(id, text){
var el=document.getElementById(id);
if(!el) return;
for(el=el.firstChild; el && el.nodeName!='A'; el=el.nextSibling);
if(!el) return;
while(el.firstChild) el.removeChild(el.firstChild);
el.appendChild(document.createTextNode(text));
el.style.textTransform='none';
}
/* Add lines as necessary. Use the Firefox DOM inspector or some such to determine
* the appropriate IDs.
*/
fix('ca-talk', 'talk');
fix('ca-history', 'history');
fix('ca-edit', 'source');
fix('ca-ve-edit', 'VE');
fix('ca-addsection', '+');
fix('ca-move', 'move');
fix('ca-delete', 'delete');
fix('ca-protect', 'protect');
fix('ca-unprotect', 'Δ protect');
/* Fix the title of the history page */
if(mw.config.get('wgAction')=='history'){
document.title=mw.config.get('wgPageName').replace(/_/g,' ').replace(/^Wikipedia:/,'W:')+' - Wikipedia History';
var h=document.getElementsByTagName('H1');
if(h.length){
h=h[0];
while(h.firstChild) h.removeChild(h.firstChild);
h.appendChild(document.createTextNode(mw.config.get('wgPageName').replace(/_/g,' ')));
}
}
/* Fix button text to avoid horizontal scroll bars */
var x=document.getElementById('mw-fr-submit-accept'); if(x) x.value='Accept';
x=document.getElementById('mw-fr-submit-unaccept'); if(x) x.value='Unaccept';
});
$(function () {
$('#pt-sandbox > a').attr('accesskey', 'a');
});
findargdupsresultsbox = 'yes';
findargdupseditsummary = 'Remove from [[:Category:Pages using duplicate arguments in template calls]]';
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]
importScript('User:Novem_Linguae/Scripts/VisualEditorEverywhere.js'); // Backlink: [[User:Novem_Linguae/Scripts/VisualEditorEverywhere.js]]
importScript('User:AquilaFasciata/goToTopFast.js'); // Backlink: [[User:AquilaFasciata/goToTopFast.js]]
importScript('User:BrandonXLF/MobileView.js'); // Backlink: [[User:BrandonXLF/MobileView.js]]
importScript('User:Equazcion/SidebarHistoryTools.js'); // Backlink: [[User:Equazcion/SidebarHistoryTools.js]]
importScript('User:Nardog/CopySectLink.js'); // Backlink: [[User:Nardog/CopySectLink.js]]
importScript('User:Elli/OneClickArchiver.js'); // Backlink: [[User:Elli/OneClickArchiver.js]]
window.OCALinkSize = 1.2;
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Andrybak/Scripts/Archiver.js'); // Backlink: [[User:Andrybak/Scripts/Archiver.js]]
importScript('User:Andrybak/Scripts/Unsigned_helper.js'); // Backlink: [[User:Andrybak/Scripts/Unsigned_helper.js]]