// --- TOC ---
// VARIOUS
// SPECIAL PAGES
// CONTRIBUTIONS
// LOG
// MOVEPAGE
// RECENTCHANGES
// SEARCH
// USERRIGHTS
// WATCHLIST
// WHATLINKSHERE
// NOT SPECIAL
// ARTICLES AND DRAFTS
// DRAFTS
// ARTICLES AND TALK
// ARTICLES
// ANYWHERE BUT ARTICLES
// PROJECT SPACE
// USER SPACE AND USER TALK SPACE
// CATEGORIES
// FILES
// TEMPLATES
// WP AND TALK SPACES
// CONTRIBS, HISTORY, RECENT CHANGES, WATCHLIST
// CONTRIBS, HISTORY
// ID RELATED
// --- END TOC ---
// VARIOUS
// Enable caching for resource loads, see [[User:SD0001/Making_user_scripts_load_faster]], @revision 8
if(!/\bnocache=\b/.test(___location.href)){let e=mw.config.values,t="text/javascript",o="text/css",n=(n,r,i)=>(n=n.replace(/special:mypage/i,"User:"+e.wgUserName),$.get("https://"+r+"/w/api.php?titles="+n+"&origin=*&format=json&formatversion=2&uselang=content&maxage=86400&smaxage=86400&action=query&prop=revisions|info&rvprop=content&rvlimit=1&inprop=protection").then((e=>{let a=e.query.pages[0];if(!a.missing){if(2!==a.ns&&8!==a.ns&&!a.protection.find((e=>"edit"===e.type&&"sysop"===e.level)))return $.Deferred().reject('Refused to load "'+n+'"@'+r+": unprotected page");let e=a.revisions[0].content;if(i&&i!==t||"javascript"!==a.contentmodel){if(i!==o||"css"!==a.contentmodel)return $.Deferred().reject('Refused to load "'+n+'"@'+r+": content type mismatch");mw.loader.addStyleTag(e)}else{let t=document.createElement("script");t.innerHTML=e,document.head.appendChild(t)}}}))),r=e.wgServerName,i=e=>{let t=/^(?:(?:https:)?\/\/(.*))?\/w\/index.php/.exec(e),o=/\btitle=([^=?&]*)/.exec(e);return t&&o&&/\baction=raw\b/.test(e)&&/\bctype=/.test(e)?[o[1],t[1]||r]:null};window.importScript=e=>{n(encodeURIComponent(e),r,t)},window.importStyleSheet=e=>{n(encodeURIComponent(e),r,o)};let a=mw.loader.load;mw.loader.load=function(e,t){let o=i(e);o?n(o[0],o[1],t):a.apply(mw.loader,[...arguments])};let l=mw.loader.getScript;mw.loader.getScript=function(e){let o=i(e);return o?n(o[0],o[1],t):l.apply(mw.loader,[...arguments])}}
// Quick links
$(function () {
mw.util.addPortletLink('p-personal', '//tools.wmflabs.org/copypatrol/en', 'CP', 'p-copypatrol', 'Copyright patrol');
mw.util.addPortletLink('p-personal', '//en.wikipedia.org/w/index.php?title=Special:Log&user=Sam%20Sailor', 'Logs', 'pt-mylogs', 'Your logged actions', '', '#pt-logout');
mw.util.addPortletLink('p-personal', '//en.wikipedia.org/w/index.php?title=Special:NewPages&dir=prev&hidepatrolled=1&hideredirs=0', 'NPP', 'p-npp', 'NPP');
mw.util.addPortletLink('p-personal', '//en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Script', 'JWB', 'p-jwb', 'JWB');
mw.util.addPortletLink('p-navigation', mw.util.getUrl('Special:RandomRedirect'), 'Random redirect', 'n-randomredirect', 'Load a random redirect', 'a');
});
// hide [[User:DannyS712/hide]] some rarely used links
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/hide.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/hide.js]]
// pageswap [[User:Ahecht/Scripts/pageswap]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/pageswap.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/pageswap.js]]
// refresh [[User:Ahecht/Scripts/refresh]] adds "purge all" and "null edit all" options to the "Tools" menu on category pages, template pages etc.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/refresh.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/refresh.js]]
// Superlinks [[User:Cyberdog958/Scripts/Superlinks]] 2025-06-18: installed, updated for Vector 2022.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Bradv/Scripts/Superlinks.js&action=raw&ctype=text/javascript'); // [[User:Bradv/Scripts/Superlinks.js]], disabled, not updated for Vector 2022.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cyberdog958/Scripts/Superlinks.js&action=raw&ctype=text/javascript'); // [[User:Cyberdog958/Scripts/Superlinks.js]]
// talk-tab-count [[User:Enterprisey/talk-tab-count]] displays the number of sections on the talk page tab.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/talk-tab-count.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/talk-tab-count.js]]
// TemplateSearch [[User:Ahecht/Scripts/TemplateSearch]] allows using "TP:" and "{{" as shortcuts for "Template:" in the search box.
var SearchRegexes = {"^(T:)":"Template:"}
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/TemplateSearch.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/TemplateSearch.js]]
// UserUnderline [[User:SilverLocust/UserUnderline]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SilverLocust/UserUnderline.js&action=raw&ctype=text/javascript'); // [[User:SilverLocust/UserUnderline.js]]
// W-Ping [[User:SD0001/W-Ping.js]] enables you to set up reminders (pings) that will be delivered to your watchlist at the scheduled time.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/W-Ping.js&action=raw&ctype=text/javascript'); // [[User:SD0001/W-Ping.js]]
// SPECIAL PAGES
if (mw.config.get('wgCanonicalNamespace') === 'Special') {
//
// CONTRIBUTIONS
if (mw.config.get('wgCanonicalSpecialPageName') === 'Contributions') {
// AbuseFilterContribs [[User:Ingenuity/AbuseFilterContribs]] shows when a user attempted to make an edit, but were disallowed by an edit filter, in their Special:Contributions page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ingenuity/AbuseFilterContribs.js&action=raw&ctype=text/javascript'); // [[User:Ingenuity/AbuseFilterContribs.js]]
// Contribs ranger [[User:Andrybak/Scripts/Contribs ranger]] generates links to a limited set (range) of user contributions (aka contribs), a user's logged actions, or of edits of particular page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/Contribs_ranger.js&action=raw&ctype=text/javascript'); // [[User:Andrybak/Scripts/Contribs_ranger.js]]
// ContribsByPage [[User:BrandonXLF/ContribsByPage]] groups edits by a user on Special:Contributions by page to make the page cleaner and easier to read.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/ContribsByPage.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/ContribsByPage.js]]
// ContribSearch [[User:DannyS712/ContribSearch]] is used to viewing edits by a single user. It will update every 3 seconds and insert newer edits.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/ContribSearch.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/ContribSearch.js]]
// Examine edits [[User:DannyS712/Examine edits]] 2025-06-18: disabled, does it work? Conflict with another script?
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Examine_edits.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Examine edits.js]]
// hidetopcontrib [[User:Markhurd/hidetopcontrib]] 'show/hide top'
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Markhurd/hidetopcontrib.js&action=raw&ctype=text/javascript'); // [[User:Markhurd/hidetopcontrib.js]]
window.userHideAllSubsequent = true;
// Kill-It-With-Fire [[Wikipedia:Kill-It-With-Fire]] allows for mass reversion of edits that are no longer the latest revision.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/Kill-It-With-Fire.js&action=raw&ctype=text/javascript'); // [[User:Alexis Jazz/Kill-It-With-Fire.js]]
// massRollback [[User:Writ Keeper/Scripts/massRollback]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/massRollback.js]]
// more-block-info [[User:Firefly/more-block-info]] works around some limitations with MediaWiki's default block display on contributions pages.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Firefly/more-block-info.js&action=raw&ctype=text/javascript'); // [[User:Firefly/more-block-info.js]]
// user-tabs-on-contribs [[User:Andrybak/Scripts/user-tabs-on-contribs]] adds "User page" and "Talk" tabs on user contributions pages.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/user-tabs-on-contribs.js&action=raw&ctype=text/javascript'); // [[User:Andrybak/Scripts/user-tabs-on-contribs.js]]
// watchUserContribs. 2025-06-25: disabled. Works, but seldom used.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Fred_Gandt/watchUserContribs.js&action=raw&ctype=text/javascript'); // [[User:Fred Gandt/watchUserContribs.js]]
} // END CONTRIBUTIONS
// LOG
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'Log') {
// copyloglink [[User:Firefly/copyloglink]] adds a 'copy link' on logs.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Firefly/copyloglink.js&action=raw&ctype=text/javascript'); // [[User:Firefly/copyloglink.js]]
// Pretty rights log [[User:DannyS712/Pretty rights log]] will reformat user rights log entries into a clearer format of what was added and removed.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Pretty_rights_log.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Pretty rights log.js]]
// END LOG
// MOVEPAGE
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'MovePage') {
// Automatically tick the "Move subpages" option when moving pages.
var moveSubpagesBox=document.getElementsByName("wpMovesubpages")[0];void 0!==moveSubpagesBox&&(moveSubpagesBox.checked=!0);
// RemoveDoubleNamespace, automatically filter double namespaces from move form.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/RemoveDoubleNamespace.js&action=raw&ctype=text/javascript'); // [[User:Alexis Jazz/RemoveDoubleNamespace.js]]
// CombineMovePrefix
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SilverLocust/CombineMovePrefix.js&action=raw&ctype=text/javascript'); // [[User:SilverLocust/CombineMovePrefix.js]]
// END MOVEPAGE
// RECENTCHANGES
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'RecentChanges') {
// Color top links
mw.util.addCSS(".mw-rollback-link { background-color:#FFFF88; }");
// rcpatrol [[User:Awesome Aasim/rcpatrol]] allows for quick review and revert of harmful edits.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Awesome_Aasim/rcpatrol.js&action=raw&ctype=text/javascript'); // [[User:Awesome Aasim/rcpatrol.js]]
// END RECENTCHANGES
// SEARCH
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'Search') {
// copy-search-results [[User:Eejit43/scripts/copy-search-results]] adds a link to the More/Tools menu on Special:Search which, when clicked, copies the titles of all visible search results (separated by newlines) to the clipboard.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/copy-search-results.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/copy-search-results.js]]
// EnhancedSearchPage [[User:JAAqqO/EnhancedSearchPage]] adds useful features to the search page Special:Search.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:JAAqqO/EnhancedSearchPage.js&action=raw&ctype=text/javascript'); // [[User:JAAqqO/EnhancedSearchPage.js]]
// redirectcreator [[User:Awesome Aasim/redirectcreator]] allows for creation of redirects from the search page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Awesome_Aasim/redirectcreator.js&action=raw&ctype=text/javascript'); // [[User:Awesome_Aasim/redirectcreator.js]]
// Search sort [[User:DreamRimmer/Search sort]], fork of User:PrimeHunter/Search_sort.js, with integrated sorting options.
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PrimeHunter/Search_sort.js&action=raw&ctype=text/javascript'); // [[User:PrimeHunter/Search_sort.js]] superseded by DreamRimmer's script
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DreamRimmer/Search_sort.js&action=raw&ctype=text/javascript'); // [[User:DreamRimmer/Search_sort.js]]
// search-links [[User:Eejit43/scripts/search-links]] adds edit and history links to search results on Special:Search.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/search-links.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/search-links.js]]
// SearchSuite [[User talk:The Transhumanist/SearchSuite.js]] provides a menu of enhancements to search results.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:The_Transhumanist/SearchSuite.js&action=raw&ctype=text/javascript'); // [[User:The Transhumanist/SearchSuite.js]]
// END SEARCH
// USERRIGHTS
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'UserRights') {
// Pretty rights log [[User:DannyS712/Pretty rights log]] will reformat user rights log entries into a clearer format of what was added and removed.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Pretty_rights_log.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Pretty rights log.js]]
// END USERRIGHTS
// WATCHLIST
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'Watchlist') {
// Thanky [[User:Evad37/Thanky]] adds thank links next to diff links on special pages (e.g. watchlist, recent changes, related changes).
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/Thanky.js&action=raw&ctype=text/javascript'); // [[User:Evad37/Thanky.js]]
// END WATCHLIST
// WHATLINKSHERE
} else if (mw.config.get('wgCanonicalSpecialPageName') === 'WhatLinksHere') {
// AddActionLinks, adds "edit", "hist" and "delete" link to Special:WhatLinksHere and the list of templates used in a page.
//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:He7d3r/Tools/AddActionLinks.js&action=raw&ctype=text/javascript'); // [[meta:User:He7d3r/Tools/AddActionLinks.js]]
// massretarget [[User:Andy M. Wang/massretarget]] will add a "Mass retarget" tab as an option near the top of the page when viewing Special:WhatLinksHere
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andy_M._Wang/massretarget.js&action=raw&ctype=text/javascript'); // [[User:Andy M. Wang/massretarget.js]]
// SortWhatLinksHere [[User:GhostInTheMachine/SortWhatLinksHere]] sorts the links displayed by the What links here page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:GhostInTheMachine/SortWhatLinksHere.js&action=raw&ctype=text/javascript'); // [[User:GhostInTheMachine/SortWhatLinksHere.js]]
// Source links, adds "Source links" below "What links here" in p-tb. "Source links" tries to search for pages where the link is in the source.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PrimeHunter/Source_links.js&action=raw&ctype=text/javascript'); // [[User:PrimeHunter/Source links.js]]
// whatLinksHereLinkFilter [[User:V111P/js/What Links Here link filter]] adds an additional filter on What Links Here pages allowing you to, in effect, exclude pages linking to the page through a given navigation template.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:V111P/js/whatLinksHereLinkFilter.js&action=raw&ctype=text/javascript'); // [[User:V111P/js/whatLinksHereLinkFilter.js]]
// END WHATLINKSHERE
// END SPECIAL PAGES
} else {
// Load scripts that should not load on a special page
// NOT SPECIAL
// HotCat edit summary prompt fix ([[Special:PermaLink/895804159]])
if (mw.config.get('wgAction') === 'edit' || mw.config.get('wgAction') === 'submit') {
$(function () {
if (document.getElementsByName("wpSummary")[0].value.indexOf('WP:HC|HotCat') !== -1 && document.getElementsByName('wpAutoSummary')[0]) {
document.getElementsByName('wpAutoSummary')[0].value = '1';
}
});
}
window.hotcat_use_category_links = true;
/*
// Add (nr) 'no redirect' links after redirects ([[Special:PermaLink/1114527221]])
mw.hook( 'wikipage.content' ).add(function ($el) {
if ( mw.config.get('wgAction') !== 'view' ) {
return;
}
$el.find( '.mw-redirect' ).each(function (i, e) {
var sub = document.createElement("sub");
sub.append("(");
var link = document.createElement("a");
var url = new URL(e.getAttribute("href"), window.___location.href);
url.searchParams.set("redirect", "no");
link.setAttribute("href", url.toString());
link.setAttribute("title", "Open the link without following redirects");
link.innerText = "nr";
sub.appendChild(link);
sub.append(")");
e.insertAdjacentElement("afterend", sub);
});
});
*/
// Null edit (modified from [[Special:PermaLink/1083287384]]) [[User:BrandonXLF/NullEdit.js]]
$(mw.util.addPortletLink('p-personal', '#', 'Null edit')).click(function (e) {
e.preventDefault();
new mw.Api().edit(mw.config.get('wgPageName'), function(rev) {
return rev.content;
}).then(function () {
window.___location.reload();
});
});
// Always scroll to top when previewing ([[Special:PermaLink/1229177866]])
(function (){
const allowedActions = ['edit', 'submit'];
if(allowedActions.indexOf(mw.config.get("wgAction")) != -1){
setTimeout(function () {
window.scrollTo({ top: 0});
}, 1000);
}
})();
/* mw.loader.using("mediawiki.util", function () {
var dashButton = mw.util.addPortletLink("p-cactions", "#", "En dash", "ca-enDashCopy", "Copy EnDash");
$(dashButton).click(function () { navigator.clipboard.writeText("–"); });
});
*/
// Alex 21/script-functions [[User:Alex 21/script-functions]] is needed for other Alex 21 scripts.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alex_21/script-functions.js&action=raw&ctype=text/javascript'); // [[User:Alex 21/script-functions.js]]
// Aligner [[User:Taavi/Aligner]] automatically aligns infobox params.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Taavi/Aligner.js&action=raw&ctype=text/javascript'); // [[User:Taavi/Aligner.js]]
window.alignerExtraSearches = [
'{{AFLGameDetailed',
'{{Audio sample',
'{{Discography list',
'{{Episode list',
'{{Episode table',
'{{External music video',
'{{Extra album cover',
'{{Extra chronology',
'{{Extra tour chronology',
'{{Extra track listing',
'{{Location map',
'{{Location map~',
'{{Location map+',
'{{Multiple image',
'{{Non-free',
'{{Quote box',
'{{Rugbyleaguebox',
'{{Rugby league match squad',
'{{Rugby league squad player',
'{{Series overview',
'{{Singles',
'{{Speciesbox',
'{{Subspeciesbox',
'{{Taxobox',
'{{Track listing',
'{{Tweet',
];
// auto-watchlist-expiry [[User:Rummskartoffel/auto-watchlist-expiry]] watchlists pages you edit for a duration of your choosing.
window.autoWatchlistExpiry = { "edit": "2 weeks", "delete": "6 months", "create": "infinite", "undo": "2 weeks" };
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Rummskartoffel/auto-watchlist-expiry.js&action=raw&ctype=text/javascript'); // [[User:Rummskartoffel/auto-watchlist-expiry.js]]
// autoFormatterSettings [[User:Sam Sailor/Scripts/autoFormatterSettings]] loaded in global.js
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Sam_Sailor/Scripts/autoFormatterSettings.js&action=raw&ctype=text/javascript'); // [[User:Sam Sailor/Scripts/autoFormatterSettings.js]]
// Capricorn [[User:Wugapodes/Capricorn]] 2025-06-25: testing User:Eejit43/scripts/redirect-helper instead
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript'); // [[User:Wugapodes/Capricorn.js]]
// Citation Remover [[User:GrabUp/Citation Remover]], remove unreliable or sponsored citations, showing all sources in a popup for easy selection.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:GrabUp/Citation_Remover.js&action=raw&ctype=text/javascript'); // [[User:GrabUp/Citation Remover.js]]
// csdhelper [[User:Ale_jrb/Scripts]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ale_jrb/Scripts/csdhelper.js&action=raw&ctype=text/javascript'); // [[User:Ale_jrb/Scripts/csdhelper.js]]
// Configuration for CSD Helper
var overwriteDeclineReasons = true;
var notifyByDefaultDel = false; // whether to automatically check the 'notify user' box when changing a speedy deletion rationale
var notifyByDefaultDec = false; // whether to automatically check the 'notify user' box when declining a speedy deletion
var notifyByDefaultPrd = false; // whether to automatically check the 'notify user' box when converting a speedy deletion to a PROD
var notifyByDefaultNew = false; // whether to automatically check the 'use newbie message' box when notifying a user
var myDeclineListing = '%CRITERION%: %REASON%';
var myDeclineSummary = 'Declining speedy (%CRITERION%) — %REASON%';
var myDeclineSummarySpecial = 'Declining speedy — %REASON%';
var logOnDecline = true;
var logOnDeclinePath = 'User:Sam Sailor/Declined speedies log';
var overwriteDeclineReasons = true;
// csdreasons
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SoWhy/csdreasons.js&action=raw&ctype=text/javascript'); // [[User:SoWhy/csdreasons.js]]
// CustomSummaryPresets [[User:Enterprisey/CustomSummaryPresets]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/CustomSummaryPresets.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/CustomSummaryPresets.js]]
var customNamespaceSummaries = {
'0': [
"- not a recognised image file. Images must be uploaded first, see [[WP:UPIMAGE]] (copyright allowing).",
"Not a recognised image file. Images must be uploaded first, see [[WP:UPIMAGE]] (copyright allowing).",
"- changing a file name in-text breaks the link to the file. Please use [[H:PREVIEW|preview]] to avoid the mistake.",
"Changing a file name in-text breaks the link to the file. Please use [[H:PREVIEW|preview]] to avoid the mistake.",
"- undoing the file removal bots does not make the file reapear. Please use [[H:PREVIEW|preview]] to avoid this mistake. The image must be uploaded again, see [[WP:UPIMAGE]], with the correct license, copyright allowing.",
"Fixing infobox errors",
"[[Help:Wikitext|WikiSyntax]] fixes; citation fixes per [[Help:Citation Style 1|CS1]]; [[WP:COPYEDIT|copyediting]] per the [[Wikipedia:Manual of Style|Manual of Style]]; [[User:Sam Sailor/Scripts/Tidy citations.js|tidy citations]]",
"Infobox fix(es); [[Help:Wikitext|WikiSyntax]] fixes; citation fixes per [[Help:Citation Style 1|CS1]]; [[WP:COPYEDIT|copyediting]] per the [[Wikipedia:Manual of Style|Manual of Style]]; [[User:Sam Sailor/Scripts/Tidy citations.js|tidy citations]]",
"Adding [[Wikipedia:Citing sources|citation]]",
"Adding [[Help:Interlanguage links|interlanguage links]] etc.",
"Article is no longer unreferenced – and [[WP:URA|you can help!]]",
"[[WP:SALORDER|Chronological ordering]]",
"Citation fixes per [[Help:Citation Style 1|CS1]]; [[WP:COPYEDIT|copyediting]] per the [[Wikipedia:Manual of Style|Manual of Style]]; [[User:Sam Sailor/Scripts/Tidy citations.js|tidy citations]]",
"[[WP:DUPREF|Combining duplicated citations]]",
"[[WP:FIXDABLINKS|Repairing]] links to disambiguation page - and [[Wikipedia:Disambiguation pages with links|you can help!]]",
"Removing [[Template:Broken ref/cite error list|inapplicable tag]]",
"{{[[Template:Prod blp|Prod blp]]}} applies only when the article contains no sources in any form (as references, external links, etc.) which support any statements made about the person in the biography, see [[WP:BLPPROD]].",
"Per [[MOS:SEEALSO]]/[[MOS:NOTSEEALSO]]",
"Removing [[WP:SELFREDIRECT]] etc.",
"#JUN25 – Article is no longer unreferenced – and [[WP:URA|you can help!]]",
],
'1': [
"Comment",
"Reply",
"Suggestion",
],
'3': [
"Friendly message",
"Comment",
"Reply",
"Suggestion",
],
'10': [
"Per [[WP:NAVNOREDIRECT]]",
],
'118': [
"Clean-up, [[WP:COPYEDIT|copyediting]] and various fixes",
],
};
// External Links Remover [[User:GrabUp/External Links Remover]] removes all external links from an article’s body without affecting the section titled ==External links==.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:GrabUp/External_Links_Remover.js&action=raw&ctype=text/javascript'); // [[User:GrabUp/External Links Remover.js]]
// findargdups [[User:Frietjes/findargdups]] assists with finding the duplicate arguments within a particular page.
findargdupsresultsbox = 'yes';
findargdupsnonefound = 'No dupes!';
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/findargdups.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/findargdups.js]]
// highlightPiped [[User:Jeeputer/highlightPiped]] highlights piped links. Compatible with BrandonXLF's GreenRedirects and Gadget-DisambiguationLinks.css.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jeeputer/highlightPiped.js&action=raw&ctype=text/javascript'); // [[User:Jeeputer/highlightPiped.js]]
// linkclassifier [[User:Anomie/linkclassifier]] adds various classes to the link elements based on various characteristics.
mw.hook('LinkClassifier').add(function (linkClassifier) {
linkClassifier.cats['redirect-with-possibilities'] = ['Category:Redirects with possibilities'].sort();
});
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Anomie/linkclassifier.js&action=raw&ctype=text/javascript'); // [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css');
// move-links [[User:Danski454/move-links]] can change links, transclusions and redirects to a page to point to the new page after a move.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Danski454/move-links.js&action=raw&ctype=text/javascript'); // [[User:Danski454/move-links.js]]
// redirect-helper [[User:Eejit43/scripts/redirect-helper]] enables convenient editing and creation of redirects.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/redirect-helper.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/redirect-helper.js]]
// Subpage search [[User:PleaseStand/Subpage search]] adds a checkbox below the normal search box to limit the search to only subpages of the current page.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PleaseStand/subsearch.js&action=raw&ctype=text/javascript'); // [[User:PleaseStand/subsearch.js]]
// ToDoLister [[User:Evad37/ToDoLister]] makes it easy to manage a to-do list within your userspace.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/ToDoLister.js&action=raw&ctype=text/javascript'); // [[User:Evad37/ToDoLister.js]]
//var todo_portlet = "p-cactions"; // Defines which portlet menu the link is added to - see [[Help:Customizing toolbars]] for options
//var todo_subpage = "UPtodo"; // Subpage where the to-do list entry be added
//var todo_addfirst = "yes"; // Replace null with any value, e.g. "yes" (including quotation marks) to show the Add link before the View link.
//var todo_viewnew = "yes"; // Replace null with any value, e.g. "yes" (including quotation marks) to make the View link open in a new tab or window.
//var todo_viewlabel = "→todo";
//var todo_addlabel = "+todo";
// END NOT SPECIAL
// ARTICLES AND DRAFTS
if (mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118) {
// scriptManager [[User:MusikAnimal/scriptManager]] allows you to selectively run scripts on the fly.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MusikAnimal/scriptManager.js&action=raw&ctype=text/javascript'); // [[User:MusikAnimal/scriptManager.js]]
scriptsToManage = {
"Add Citation Needed" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Phlsph7/AddCitationNeededTagsToUnreferencedParagraphs.js",
"Books to sfn" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:DaxServer/BooksToSfn.js",
"Duplinks" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Aaron_Liu/duplinks.js",
"Fixing Ur Ciatations" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Alexis_Jazz/FUC.js",
"Highlight Unreferenced Passages" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Phlsph7/HighlightUnreferencedPassages.js",
"List Unreferenced Paragraphs" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Phlsph7/ListUnreferencedParagraphs.js",
"OHC Common Terms" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ohconfucius/script/Common_Terms.js",
"OHC Dashes" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ohconfucius/dashes.js",
"OHC EngvarB" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Ohconfucius/script/EngvarB.js",
"Readability" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Phlsph7/Readability.js",
"Reference Deselector" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Chlod/Scripts/ReferenceDeselector.js",
"Show nbsp" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Evad37/showhardspaces.js",
};
// Advisor [[WP:ADVISOR]] identifies common formatting and stylistic issues by examining the wikitext as you type.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ebrahames/Advisor.js&action=raw&ctype=text/javascript'); // [[User:Ebrahames/Advisor.js]]
// AI Cleaner [[User:Sophisticatedevening/AI Cleaner]] removes unnecessary bolding/asterisks, and fixes other AI slop.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Sophisticatedevening/AI_Cleaner.js&action=raw&ctype=text/javascript'); // [[User:Sophisticatedevening/AI_Cleaner.js]]
// AI Proofreader [[User:Polygnotus/Scripts/AI Proofreader]]: Use Gemini, Claude or ChatGPT to get suggestions how to improve an article.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Polygnotus/Scripts/AI_Proofreader.js&action=raw&ctype=text/javascript'); // [[User:Polygnotus/Scripts/AI_Proofreader.js]]
// attributetranslation [[User:CFA/scripts/attributetranslation]] adds attribution (with a dummy edit and the appropriate talk page template) to articles with non-attributed translations of other Wikipedias and notifies the translator(s).
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:CFA/scripts/attributetranslation.js&action=raw&ctype=text/javascript'); // [[User:CFA/scripts/attributetranslation.js]]
// Automatic Referencing Assistant [[User:TheJJJunk/Automatic Referencing Assistant]] aids users in correcting referencing errors.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheJJJunk/ARA.js&action=raw&ctype=text/javascript'); // [[User:TheJJJunk/ARA.js]]
// Autoref, requires Citoid (BrandonXLF), [[User:BrandonXLF/Autoref]] adds a prompt when clicking the "Reference" button in the 2010 wikitext editor to automatically generate a reference using mw:Citoid.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/Autoref.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/Autoref.js]]
// categoriessort [[User:Alex 21/script-categoriessort]], superseded by [[User:Epicgenius/sortcategories.js]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alex_21/script-categoriessort.js&action=raw&ctype=text/javascript'); // [[User:Alex 21/script-categoriessort.js]]
// checkTranslationAttribution [[User:Vanderwaalforces/checkTranslationAttribution]] checks whether articles that are translations from other language Wikipedias have been properly attributed.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Vanderwaalforces/checkTranslationAttribution.js&action=raw&ctype=text/javascript'); // [[User:Vanderwaalforces/checkTranslationAttribution.js]]
// CitationStyleMarker [[User:BrandonXLF/CitationStyleMarker]] adds "CS1", "CS2", "CSVAN", or "CSLSA" beside citations to show their style with an optional toggle.
window.CSMarkerMode = 'both';
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/CitationStyleMarker.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/CitationStyleMarker.js]]
// CiteHighlighter [[User:Novem Linguae/Scripts/CiteHighlighter]] highlights citations green, yellow, or red depending on their reliability.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Novem_Linguae/Scripts/CiteHighlighter.js&action=raw&ctype=text/javascript'); // [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
// citetrans. Notes: Installed 2019-06-16; 2024-08: disabled at some point in time, I have not missed it.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/citetrans.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/citetrans.js]]
// CiteUnseen [[User:SuperHamster/CiteUnseen]] adds iconic indicators to Wikipedia citations.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SuperHamster/CiteUnseen.js&action=raw&ctype=text/javascript'); // [[User:SuperHamster/CiteUnseen.js]]
// Citoid (BrandonXLF), required for [[User:BrandonXLF/Autoref]]
mw.loader.getScript('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/Citoid.js&action=raw&ctype=text/javascript').then(function(){
getCitoidRef('9781857800913').then(function(ref){
console.log(ref);
});
}); // [[User:BrandonXLF/Citoid.js]]
// copyvio-check [[User:DannyS712/copyvio-check]] displays the % of copyvio in a separate section of the info menu of the NPP toolset.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/copyvio-check.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/copyvio-check.js]]
// cv revdel, forked from [[User:Enterprisey/cv-revdel.js]]. 2025-06-18: installed
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Red-tailed hawk/cv_revdel.js&action=raw&ctype=text/javascript'); // [[User:Red-tailed hawk/cv_revdel.js]]
// cv-revdel [[User:Enterprisey/cv-revdel]] Quickly fills out Copyvio-revdel, using the history page's built-in radio buttons. 2025-06-18: disabled, using Red-tailed hawk's fork.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/cv-revdel.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/cv-revdel.js]]
// CVDetector (Copy-Violation Detector) [[User:Ahecht/Scripts/CVD]], opens a new tab with the report from Earwig's Copyvio Detector.
//var dupdet = true;
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/CVD.js]]
// DetectPromo [[User:Polygnotus/Scripts/DetectPromo]] detects and displays potentially promotional words.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Polygnotus/Scripts/DetectPromo-v2.js&action=raw&ctype=text/javascript'); // [[User:Polygnotus/Scripts/DetectPromo-v2.js]]
// DisamAssist [[User:Qwertyytrewqqwerty/DisamAssist]], "Disambiguate links", is a tool for disambiguating links.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Qwertyytrewqqwerty/DisamAssist.js&action=raw&ctype=text/javascript'); // [[User:Qwertyytrewqqwerty/DisamAssist.js]]
// DuplicateReferences [[User:Polygnotus/DuplicateReferences]] detects and displays duplicate URLs in the references section of Wikipedia articles.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Polygnotus/DuplicateReferences.js&action=raw&ctype=text/javascript'); // [[User:Polygnotus/DuplicateReferences.js]]
// DYKcheck [[User:Shubinator/DYKcheck]] is a JavaScript tool for checking Did You Know eligibility.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Shubinator/DYKcheck.js&action=raw&ctype=text/javascript'); // [[User:Shubinator/DYKcheck.js]]
// EditWarChecker [[User:Evad37/EditWarChecker]] checks the recent history (last 24 hours) of articles for possible edit wars.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/EditWarChecker.js&action=raw&ctype=text/javascript'); // [[User:Evad37/EditWarChecker.js]]
// HarvErrors [[User:Trappist the monk/HarvErrors]] finds problems with sfn/harv-style footnotes. A fork of [[User:Ucucha/HarvErrors.js]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Trappist_the_monk/HarvErrors.js&action=raw&ctype=text/javascript'); // [[User:Trappist the monk/HarvErrors.js]]
// (Pseudo) Headings [[User:Guywan/Scripts/Headings]] converts incorrectly used pseudo-headings into headings. 2025-06-18: does not work with Vector 2022.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Guywan/Scripts/Headings.js&action=raw&ctype=text/javascript'); // [[User:Guywan/Scripts/Headings.js]]
// highlight-homographs [[User:Eejit43/scripts/highlight-homographs]] adds a red background to homograph characters in page titles, which may be used to bypass create protection.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/highlight-homographs.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/highlight-homographs.js]]
// HighlightQuotes [[User:Chew/scripts/HighlightQuotes]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Chew/scripts/HighlightQuotes.js&action=raw&ctype=text/javascript'); // [[User:Chew/scripts/HighlightQuotes.js]]
// highlightStrings [[User:Opencooper/highlightStrings]] points out formatting issues in articles, drawing a border around them.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Opencooper/highlightStrings.js&action=raw&ctype=text/javascript'); // [[User:Opencooper/highlightStrings.js]]
// HotDefaultSort [[User:BrandonXLF/HotDefaultSort]] adds buttons beside the default sort key to add a default sort, modify the current default sort, and to remove the current default sort.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/HotDefaultSort.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/HotDefaultSort.js]]
// IABooks. Adds buttons next to isbns on Wikipedia pages that will redirect to a readable digital copy of the referenced book. Notes: 2019-04-02; disabled 2019-06-16, seldom used
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Reinischmax/IABooks.js&action=raw&ctype=text/javascript'); // [[User:Reinischmax/IABooks.js]]
// IllWill [[User:Cobaltcigs/IllWill]] helps adding interlanguage links.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cobaltcigs/IllWill.js&action=raw&ctype=text/javascript'); // [[User:Cobaltcigs/IllWill.js]]
// ListSorter [[User:BrandonXLF/ListSorter]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/ListSorter.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/ListSorter.js]]
// MergeDuplicateRefs, "Remove dup refs" in the More/Tools menu. Combines multiple references using the same source into one reference.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ingenuity/MergeDuplicateRefs.js&action=raw&ctype=text/javascript'); // [[User:Ingenuity/MergeDuplicateRefs.js]]
// MoreDiffInfo [[User:BrandonXLF/MoreDiffInfo]] adds more information about the revisions of a diff to the diff page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/MoreDiffInfo.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/MoreDiffInfo.js]]
// Reference Organizer [[User:Kaniivel/Reference Organizer]] allows organizing references according to user preferences.
if (typeof(refConsolidateConfig) === 'undefined') refConsolidateConfig = {};
refConsolidateConfig.sort = true;
refConsolidateConfig.usetemplateR = false;
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Kaniivel/RefConsolidate_start.js&action=raw&ctype=text/javascript'); // [[User:Kaniivel/RefConsolidate start.js]]
// RefRenamer [[User:Nardog/RefRenamer]] replaces reference names like ":0" with descriptive ones like "Smith 2015".
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/RefRenamer.js&action=raw&ctype=text/javascript'); // [[User:Nardog/RefRenamer.js]]
// reviewsourcecheck [[User:Lingzhi2/reviewsourcecheck]] simplifies source reviews by flagging 16 types of errors in the references and/or notes. Depends on User:Ucucha/HarvErrors.js or the fork User:Trappist the monk/HarvErrors.js.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lingzhi2/reviewsourcecheck.js&action=raw&ctype=text/javascript'); // [[User:Lingzhi2/reviewsourcecheck.js]]
// Search/replace
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/replace.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/replace.js]]
// smaller templates [[User:Gary/smaller templates]] makes maintenance templates such as {cleanup} appear smaller so that they take up less space.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gary/smaller_templates.js&action=raw&ctype=text/javascript'); // [[User:Gary/smaller templates.js]]
// sortcategories [[User:Epicgenius/sortcategories]] fork of [[User:Alex 21/script-categoriessort.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Epicgenius/sortcategories.js&action=raw&ctype=text/javascript'); // [[User:Epicgenius/sortcategories.js]]
// subjects age from year [[User:Gary/subjects age from year]]: In an article about a person or a company, when the mouse hovers over a year in the article, the age of the article's subject by that year appears in a tooltip.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gary/subjects_age_from_year.js&action=raw&ctype=text/javascript'); // [[User:Gary/subjects age from year.js]]
// Tidy citations [[User:Sam Sailor/Scripts/Tidy citations]] will harmonize spacing in citation templates or align them vertically the way infoboxes are aligned.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Sam_Sailor/Scripts/Tidy_citations.js&action=raw&ctype=text/javascript'); // [[User:Sam Sailor/Scripts/Tidy citations.js]]
// TitleCaseConverter [[User:ZKang123/TitleCaseConverter]] converts all reference titles to title case.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:ZKang123/TitleCaseConverter.js&action=raw&ctype=text/javascript'); // [[User:ZKang123/TitleCaseConverter.js]]
// w2wFinder. [[User:Danski454/w2wFinder]] Notes: Installed 2019-04-17. Disabled again, far too many false positives with the current configuration, [[Special:PermaLink/874614199]].
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Danski454/w2wFinder.js&action=raw&ctype=text/javascript'); // [[User:Danski454/w2wFinder.js]]
} // END ARTICLES AND DRAFTS
// DRAFTS
if (mw.config.get('wgNamespaceNumber') === 118) {
// Draft no cat [[User:DannyS712/Draft no cat]] converts categories on drafts to links to those categories.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Draft_no_cat.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Draft no cat.js]]
// Draft re cat [[User:DannyS712/Draft re cat]] revert the conversion of categorization to links on drafts.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Draft_re_cat.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Draft re cat.js]]
// draft-sorter [[User:Ahecht/Scripts/draft-sorter]] sorts AfC drafts by adding WikiProject banners to their talk pages.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/draft-sorter.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/draft-sorter.js]]
// DraftCleaner (no docs)
window.draftCleanerPutInMoreMenu = true;
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Novem_Linguae/Scripts/DraftCleaner.js&action=raw&ctype=text/javascript'); // [[User:Novem Linguae/Scripts/DraftCleaner.js]]
// DraftDiff (no docs) displays the diff between a draft's last AfC submission and the current revision. p-cactions: 'draftdiff'
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Firefly/draftdiff.js&action=raw&ctype=text/javascript'); // [[User:Firefly/draftdiff.js]]
// edits-since-decline [[User:SD0001/edits-since-decline]] shows an [edits since this decline] link on the latest decline banner on an AFC draft.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/edits-since-decline.js&action=raw&ctype=text/javascript'); // [[User:SD0001/edits-since-decline.js]]
} // END DRAFTS
// ARTICLES AND TALK
if ((mw.config.get('wgNamespaceNumber') === 0) || (mw.config.get('wgNamespaceNumber') === 1)) {
// logger
var pagesToCollect = [
{page: 'User:Sam Sailor/AATP log', caption: '+AATP log'},
{page: 'User:Sam Sailor/ALS log', caption: '+ALS log'},
{page: 'User:Sam Sailor/MISSFILE log', caption: '+MISSFILE log'},
{page: 'User:Sam Sailor/Sourced log', caption: '+Sourced log'}
];
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Sam_Sailor/Scripts/logger.js&action=raw&ctype=text/javascript'); // [[User:Sam Sailor/logger.js]]
// MoveToDraft [[User:MPGuy2824/MoveToDraft]] is used to WP:DRAFTIFY articles (move to draft space), including cleanup and author notification.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MPGuy2824/MoveToDraft.js&action=raw&ctype=text/javascript'); // [[User:MPGuy2824/MoveToDraft.js]]
// PageMoverClosure [[User:DannyS712/PageMoverClosure]] closes RM discussions, ideal for page movers as it includes (closed by non-admin page mover) in the closure and it saves automatically after entering the rationale.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/PageMoverClosure.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/PageMoverClosure.js]]
// rater [[User:Evad37/rater]] helps fill in assessments and other parameters for WikiProject banners.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript'); // [[User:Evad37/rater.js]]
} // END ARTICLES AND TALK
// ARTICLES
if (mw.config.get('wgNamespaceNumber') === 0) {
// CollapseSections [[User:BrandonXLF/CollapseSections.js]] adds an arrow button beside the header to show/hide the button. 2020-12-30 disabled. Seems to be buggy at times, and I don't think I will miss the functionality.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/CollapseSections.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/CollapseSections.js]]
// coordInserter [[User:Jeeputer/coordInserter]] inserting Coord template on articles listed on Category:Articles missing coordinates with coordinates on Wikidata made easy.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jeeputer/coordInserter.js&action=raw&ctype=text/javascript'); // [[User:Jeeputer/coordInserter.js]]
// De-Stub [[User:DannyS712/De-Stub]] removes stub templates from a page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/De-Stub.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/De-Stub.js]]
// deOrphan [[User:DannyS712/deOrphan]] creates an unobtrusive interface to remove {{orphan}} tags from articles.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/deOrphan.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/deOrphan.js]]
// deorphanizer provides one-click removal of {orphan}, if an article has incoming link(s). Superseded by DannyS712's script above.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/deorphanizer.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/deorphanizer.js]]
// diffedit [[m:User:Jon Harald Søby/diffedit]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Jon_Harald_Søby/diffedit.js&action=raw&ctype=text/javascript'); // [[m:User:Jon Harald Søby/diffedit.js]]
// domainRedirect [[User:Opencooper/domainRedirect]] helps creating redirects from a subject's ___domain name to its article.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Opencooper/domainRedirect.js&action=raw&ctype=text/javascript'); // [[User:Opencooper/domainRedirect.js]]
// DuplicatedRefs. 'Highlight duplicate refs'.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/DuplicatedRefs.js&action=raw&ctype=text/javascript'); // [[User:Chlod/Scripts/DuplicatedRefs.js]]
// Find Link [[User:1AmNobody24/Find Link]] helps using the tool Find link, useful for [[WP:NPP]] or [[WP:DEORPHAN]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:1AmNobody24/Find_Link.js&action=raw&ctype=text/javascript'); // [[User:1AmNobody24/Find_Link.js]]
// FindSources [[User:BrandonXLF/FindSources]] ads a {Find sources mainspace} below the title of articles you view to make it easier to find sources.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/FindSources.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/FindSources.js]]
// infoboxgap [[User:Frietjes/infoboxgap.js]] assists in renumbering infobox labels/data/classes, so that a new line can be inserted in the middle of the infobox.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/infoboxgap.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/infoboxgap.js]]
// lastEdit [[User:Opencooper/lastEdit]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Opencooper/lastEdit.js&action=raw&ctype=text/javascript'); // [[User:Opencooper/lastEdit.js]]
// [[User:Ohconfucius/script/MOSNUM dates]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ohconfucius/script/MOSNUM_dates.js&action=raw&ctype=text/javascript'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
// [[User:Ohconfucius/script/Sources]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ohconfucius/script/Sources.js&action=raw&ctype=text/javascript'); // [[User:Ohconfucius/script/Sources.js]]
// OrphanStatus [[User:Technical 13/Scripts/OrphanStatus]] superseded by [[User:DannyS712/deOrphan]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Technical_13/Scripts/OrphanStatus.js&action=raw&ctype=text/javascript'); // [[User:Technical 13/Scripts/OrphanStatus.js]]
// Red files [[User:DannyS712/Red files]] changes file links to point to the file's page, to easily find any deletions or other log entries.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Red_files.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Red files.js]]
// RefCruncher [[User:Guywan/Scripts/RefCruncher]] allows you to 'crunch' references into small, unobtrusive tags. Ctrl+alt+r. Remember to un-crunch!
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Guywan/Scripts/RefCruncher.js&action=raw&ctype=text/javascript'); // [[User:Guywan/Scripts/RefCruncher.js]]
// ReviewStatus [[User:Novem Linguae/Scripts/ReviewStatus]] displays whether or not a mainspace page is marked as reviewed. This info is placed on the right of the page title using a small icon.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Novem_Linguae/Scripts/ReviewStatus.js&action=raw&ctype=text/javascript'); // [[User:Novem Linguae/Scripts/ReviewStatus.js]]
// SATG - Source Assess Table Generator [[User:DannyS712/SATG]] generates a {source assess table}.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/SATG.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/SATG.js]]
// SATG CORP, modified from [[User:DannyS712/SATG.js]], (no docs)
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Red-tailed_hawk/SATG_CORP.js&action=raw&ctype=text/javascript'); // [[User:Red-tailed_hawk/SATG_CORP.js]]
// StubSorter [[User:SD0001/StubSorter]] makes stub sorting easier.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/StubSorter.js&action=raw&ctype=text/javascript'); // [[User:SD0001/StubSorter.js]]
// undo-last-edit [[User:Enterprisey/undo-last-edit]] adds a menu option to undo the last edit that was made to a page.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/undo-last-edit.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/undo-last-edit.js]]
// Unpipe [[User:Nardog/Unpipe]] converts each piped link to a non-piped one if both lead to the same article.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/Unpipe.js&action=raw&ctype=text/javascript'); // [[User:Nardog/Unpipe.js]]
// Wordcount [[User:Caorongjin/wordcount]] produces an output of the word count for the main body and the references section.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Caorongjin/wordcount.js&action=raw&ctype=text/javascript'); // [[User:Caorongjin/wordcount.js]]
// END ARTICLES
} else {
// ANYWHERE BUT ARTICLES
// PROJECT SPACE
if (mw.config.get('wgNamespaceNumber') === 4) {
if (mw.config.get('wgPageName').indexOf('Wikipedia:Articles_for_deletion/') >= 0) {
// delsort [[User:Enterprisey/delsort]] performs deletion sorting.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/delsort.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/delsort.js]]
// oldafd
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Amorymeltzer/oldafd.js&action=raw&ctype=text/javascript'); // [[User:Amorymeltzer/oldafd.js]]
}
// AFC/R + AFC/C
if ((mw.config.get('wgPageName') === 'Wikipedia:Articles_for_creation/Redirects') || (mw.config.get('wgPageName') === 'Wikipedia:Articles_for_creation/Categories')) {
// afcrc-helper [[User:Eejit43/scripts/afcrc-helper]] helps handle requests at WP:AFC/R and WP:AFC/C
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/afcrc-helper.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/afcrc-helper.js]]
}
// JavaScript Wiki Browser (JWB)
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); // [[User:Joeytje50/JWB.js/load.js]]
// RM/TR
if (mw.config.get('wgPageName') == 'Wikipedia:Requested_moves/Technical_requests') {
// rmtr-helper [[User:Eejit43/scripts/rmtr-helper]] helps handle requests at WP:RM/TR.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Eejit43/scripts/rmtr-helper.js&action=raw&ctype=text/javascript'); // [[User:Eejit43/scripts/rmtr-helper.js]]
}
// SPI
if (mw.config.get('wgPageName').indexOf('Wikipedia:Sockpuppet_investigations/') >= 0) {
// cuStaleness
lazyCheckCUStaleness = false;
lazyCheckCatStaleness = false;
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/cuStaleness.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/cuStaleness.js]]
// mark-join-date
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Enterprisey/mark-join-date.js&action=raw&ctype=text/javascript'); // [[User:Enterprisey/mark-join-date.js]]
}
// END PROJECT SPACE
// USER SPACE AND USER TALK SPACE
} else if ((mw.config.get('wgNamespaceNumber') === 2) || (mw.config.get('wgNamespaceNumber') === 3)) {
// AlertAssistant [[User:CanonNi/Scripts/AlertAssistant]] easily alerts users about contentious topics.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:CanonNi/Scripts/AlertAssistant.js&action=raw&ctype=text/javascript'); // [[User:CanonNi/Scripts/AlertAssistant.js]]
// ARB, the Arbritration Requests Buddy [[User:Bellezzasolo/Scripts/arb]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Bellezzasolo/Scripts/arb.js&action=raw&ctype=text/javascript'); // [[User:Bellezzasolo/Scripts/arb.js]]
// CVD (Copy-Violation Detector) [[User:Ahecht/Scripts/CVD]]
//var dupdet = true;
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/CVD.js&action=raw&ctype=text/javascript'); // [[User:Ahecht/Scripts/CVD.js]]
// Draftify [[WP:DFY]]
Draftify = {};
Draftify.menulocation = "p-cactions";
Draftify.menuposition = "#ca-watch";
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Mr._Stradivarius/gadgets/Draftify.js&action=raw&ctype=text/javascript'); // [[User:Mr. Stradivarius/gadgets/Draftify.js]]
// edits-since-decline [[User:SD0001/edits-since-decline]] shows an [edits since this decline] link on the latest decline banner on an AFC draft.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:SD0001/edits-since-decline.js&action=raw&ctype=text/javascript'); // [[User:SD0001/edits-since-decline.js]]
// GlobalUserToolbox [[User:Chlod/Scripts/GlobalUserToolbox]]
var gutOptions = {
"insert_at_top": false,
"ignore_existing": false,
"start_collapsed": false
};
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/GlobalUserToolbox.js&action=raw&ctype=text/javascript'); // [[User:Chlod/Scripts/GlobalUserToolbox.js]]
// Help Me Tool; 2025: does not seem to work.
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:TheTechie/Help_Me_Tool.js&action=raw&ctype=text/javascript'); // [[User:TheTechie/Help Me Tool.js]]
// (Search own) Userspace [[User:DannyS712/Userspace]] for opening a subpage in userspace without typing the whole thing in the search box.
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:DannyS712/Userspace.js&action=raw&ctype=text/javascript'); // [[User:DannyS712/Userspace.js]]
// editCounter [[User:Jeeputer/editCounter.js]], inspired by [[User:Kanegasi/editcounter.js]]
if (mw.config.get('wgTitle') === mw.config.get('wgUserName')) {
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jeeputer/editCounter.js&action=raw&ctype=text/javascript'); // [[User:Jeeputer/editCounter.js]]
}
// END USER SPACE AND USER TALK SPACE
// CATEGORIES
} else if (mw.config.get('wgNamespaceNumber') === 14) {
// coordInserter [[User:Jeeputer/coordInserter]] inserting Coord template on articles listed on Category:Articles missing coordinates with coordinates on Wikidata made easy. Conflicts with [[User:Alex 21/script-categorypagelinks.js]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jeeputer/coordInserter.js&action=raw&ctype=text/javascript'); // [[User:Jeeputer/coordInserter.js]]
// categorypagelinks [[User:Alex 21/script-categorypagelinks]] adds individual Talk, Edit and History links to every article listed in a category. Conflicts with [[User:Jeeputer/coordInserter.js]].
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alex_21/script-categorypagelinks.js&action=raw&ctype=text/javascript'); // [[User:Alex 21/script-categorypagelinks.js]]
// CategorySortKeys. (no docs) Shows sort keys on category pages.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nux/CategorySortKeys.js&action=raw&ctype=text/javascript'); // [[User:Nux/CategorySortKeys.js]]
// CategoryToClipboard [[User:Polygnotus/Scripts/CategoryToClipboard]] adds buttons to any category page to copy items/subcats of a category (recursively or not) to the clipboard.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Polygnotus/Scripts/CategoryToClipboard.js&action=raw&ctype=text/javascript'); // [[User:Polygnotus/Scripts/CategoryToClipboard.js]]
// CatListMainTalkLinks [[User:Equazcion/CatListMainTalkLinks]], this and more done by User:Alex 21/script-categorypagelinks
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/CatListMainTalkLinks.js&action=raw&ctype=text/javascript'); // [[User:Equazcion/CatListMainTalkLinks.js]]
// previewUserboxes
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MusikAnimal/previewUserboxes.js&action=raw&ctype=text/javascript'); // [[User:MusikAnimal/previewUserboxes.js]]
// sockStaleness
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/sockStaleness.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/sockStaleness.js]]
// END CATEGORIES
// FILES
} else if (mw.config.get('wgNamespaceNumber') === 6) {
// LuckyRename [[User:Alexis Jazz/LuckyRename]] eases requesting file moves and for file movers to streamline moving files.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/LuckyRename.js&action=raw&ctype=text/javascript'); // [[User:Alexis Jazz/LuckyRename.js]]
// TinEye
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/TinEye.js&action=raw&ctype=text/javascript'); // [[meta:User:Krinkle/Scripts/TinEye]]
// END FILES
// TEMPLATES
} else if ((mw.config.get('wgNamespaceNumber') === 10) || (mw.config.get('wgNamespaceNumber') === 11)) {
// watchdoc, adds [watch] after [purge] in the documentation links; clicking on [watch] will watch the /doc page. From [[Special:Permalink/778169741]].
jQuery(document).ready(function($) {
mw.loader.using(['mediawiki.util']).done( function() {
var span_element = document.getElementById('doc_editlinks');
if(span_element && span_element.innerHTML.search(/\[<a[^<>]*action=history[^<>]*>[^<>]*<\/a>\]/g) >= 0) {
var watch_link = span_element.innerHTML.replace(/^.*(\[<a[^<>]*action=history[^<>]*>[^<>]*<\/a>\]).*$/, '$1');
watch_link = watch_link.replace(/action=history/, 'action=watch');
watch_link = watch_link.replace(/>history</, '>watch</');
span_element.innerHTML = span_element.innerHTML + ' ' + watch_link;
}
});
});
// WatchDoc [[User:BrandonXLF/WatchDoc]] automatically watches/unwatches the documentation page of a template (and its talk page) when you watch/unwatch a template.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/WatchDoc.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/WatchDoc.js]]
// END TEMPLATES
} // END else if loop but remain in non-articles
// WP + TALK SPACES
if ((mw.config.get('wgNamespaceNumber') === 4) || (mw.config.get('wgNamespaceNumber')%2 === 1)) {
// COI Request Tool [[User:Terasail/COI Request Tool]] allows users to reply, close or remove conflict of interest edit requests.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Terasail/COI_Request_Tool.js&action=raw&ctype=text/javascript'); // [[User:Terasail/COI Request Tool.js]]
// collapseBots [[User:Opencooper/collapseBots]] declutters talk pages by collapsing comments made by bots.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Opencooper/collapseBots.js&action=raw&ctype=text/javascript'); // [[User:Opencooper/collapseBots.js]]
// Edit Request Tool [[User:Terasail/Edit Request Tool]] allows users to reply, close or remove protected edit requests.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Terasail/Edit_Request_Tool.js&action=raw&ctype=text/javascript'); // [[User:Terasail/Edit Request Tool.js]]
// editProtectedHelper, 2024-10-10: disabled, trying out Terasail/Edit Request Tool.js instead
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jackmcbarn/editProtectedHelper.js&action=raw&ctype=text/javascript'); // [[User:Jackmcbarn/editProtectedHelper.js]]
// Move+ [[User:BilledMammal/Move+]] 2025-06-18: User:Polygnotus/Scripts/Tarnished.js instead per [[Special:Permalink/1295779363#User:BilledMammal/MovePlus.js and User:Frost/moveplus.js]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BilledMammal/MovePlus.js&action=raw&ctype=text/javascript'); // [[User:BilledMammal/MovePlus.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Polygnotus/Scripts/Tarnished.js&action=raw&ctype=text/javascript'); // [[User:Polygnotus/Scripts/Tarnished.js]]
// TimestampDiffs [[User:Evad37/TimestampDiffs]] adds a link to the diff in which a comment was added in the date and time part of a signature.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/TimestampDiffs.js&action=raw&ctype=text/javascript'); // [[User:Evad37/TimestampDiffs.js]]
// unsignedhelper [[User:Anomie/unsignedhelper]] 2025-06-18: disabled, using [[User:Andrybak/Scripts/Unsigned helper]]
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Anomie/unsignedhelper.js&action=raw&ctype=text/javascript'); // [[User:Anomie/unsignedhelper.js]]
// Unsigned helper [[User:Andrybak/Scripts/Unsigned helper]] 2025-06-18: installed
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/Unsigned_helper.js&action=raw&ctype=text/javascript'); // [[User:Andrybak/Scripts/Unsigned_helper.js]]
// Unsigned generator [[User:Andrybak/Scripts/Unsigned generator]] 2025-06-18: installed
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Andrybak/Scripts/Unsigned_generator.js&action=raw&ctype=text/javascript'); // [[User:Andrybak/Scripts/Unsigned_generator.js]]
} // END WP + TALK SPACES
} // END ANYWHERE BUT ARTICLES
} // END ENTIRE NOT SPECIAL LOOP
// MIXED
// CONTRIBS, HISTORY, RECENT CHANGES, WATCHLIST
if (mw.config.get('wgAction') === 'history' || mw.config.get('wgCanonicalSpecialPageName') === 'Contributions' || mw.config.get('wgCanonicalSpecialPageName') === 'Watchlist' || mw.config.get('wgCanonicalSpecialPageName') === 'Recentchanges') {
// Citation Watchlist [[Wikipedia:Citation Watchlist]] adds visual indicators to watchlist, recent changes, user Contribs, and page history entries when unreliable sources are added to articles.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Harej/citation-watchlist.js&action=raw&ctype=text/javascript'); // [[User:Harej/citation-watchlist.js]]
// commonHistory [[User:Writ Keeper/Scripts/inlineDiffDocs]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ_Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript'); // [[User:Writ Keeper/Scripts/commonHistory.js]]
// ExpandDiffs [[User:Bradv/Scripts/ExpandDiffs]] allows for diffs to be loaded inline on history, contributions, and recent changes pages. Works fine globally, disabled here.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Bradv/Scripts/ExpandDiffs.js&action=raw&ctype=text/javascript'); // [[User:Bradv/Scripts/ExpandDiffs.js]]
} // END CONTRIBS, HISTORY, RECENT CHANGES, WATCHLIST
// CONTRIBS, HISTORY
if (mw.config.get('wgAction') === 'history' || mw.config.get('wgCanonicalSpecialPageName') === 'Contributions') {
// BlockedUserHistory ([[Special:Permalink/1256617564#Show only blocked users]])
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Novem_Linguae/Scripts/BlockedUserHistory.js&action=raw&ctype=text/javascript'); // [[User:Novem Linguae/Scripts/BlockedUserHistory.js]]
// diff-link [[User:Rublov/diff-link]] shows "copy" links on history and contributions pages that copy an internal link to the diff
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Rublov/diff-link.js&action=raw&ctype=text/javascript'); // [[User:Rublov/diff-link.js]]
// DynaThank [[User:Equazcion/DynaThank]] hides "thank" links on History pages until you choose to display them.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Equazcion/DynaThank.js&action=raw&ctype=text/javascript'); // [[User:Equazcion/DynaThank.js]]
// highlight my username in history (no docs)
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gary/highlight_my_username_in_history.js&action=raw&ctype=text/javascript'); // [[User:Gary/highlight my username in history.js]]
// historydiffselect (no docs) adjusts the radio buttons in the history page to select the last viewed revision instead of the last revision before the current revision.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Frietjes/historydiffselect.js&action=raw&ctype=text/javascript'); // [[User:Frietjes/historydiffselect.js]]
// HistoryView [[User:Yair rand/HistoryView]] 2025-06-25: Stopped working? Conflict?
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Yair_rand/HistoryView.js&action=raw&ctype=text/javascript'); // [[User:Yair rand/HistoryView.js]]
// minutes later for diff (no docs) When viewing an edit diff, shows how many minutes have passed from the old edit and the new one. Only appears if the difference is less than an hour.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Gary/minutes_later_for_diff.js&action=raw&ctype=text/javascript'); // [[User:Gary/minutes later for diff.js]]
// MoveHistory [[User:Nardog/MoveHistory]] lists the past moves a page has gone through.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/MoveHistory.js&action=raw&ctype=text/javascript'); // [[User:Nardog/MoveHistory.js]]
// responsiveHistoryCompare (no docs) Dynamically moves Compare selected revisions buttons next to the selected revisions on action=history pages.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Fred_Gandt/responsiveHistoryCompare.js&action=raw&ctype=text/javascript'); // [[User:Fred Gandt/responsiveHistoryCompare.js]]
// userhist
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ale_jrb/Scripts/userhist.js&action=raw&ctype=text/javascript'); // [[User:Ale jrb/Scripts/userhist.js]]
} // END CONTRIBS, HISTORY
// DIFF ONLY, add diffOnly links everywhere but diff pages
if (mw.config.get('wgCanonicalSpecialPageName') != 'Contributions') {
/*
DiffOnly = {
history: true,
recentchanges: true,
watchlist: true,
diff: false
};
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Amorymeltzer/DiffOnly.js&action=raw&ctype=text/javascript'); // [[User:Amorymeltzer/DiffOnly.js]]
*/
} // END DIFF ONLY
// ID RELATED
if (mw.config.exists('wgRelevantUserName')) {
// IPLabeller [[User:Cumbril/IPLabeller]] makes it possible to set labels and/or background colors to anonymous IP address user accounts.
//mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cumbril/IPLabeller.js&action=raw&ctype=text/javascript'); // [[User:Cumbril/IPLabeller.js]]
// statusCheck (no doc) StatusCheck - JavaScript User Online Status Checker
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ale_jrb/Scripts/statusCheck.js&action=raw&ctype=text/javascript'); // [[User:Ale jrb/Scripts/statusCheck.js]]
} // END ID RELATED