// if you want to conditionally load scripts depending on namespace or page name like I do below, you need to add this to your common.js const ns = mw.config.ge
// if you want to conditionally load scripts depending on namespace or page name like I do below, you need to add this to your common.js
const ns = mw.config.get('wgNamespaceNumber');
const page = mw.config.get('wgPageName');
importScript('User:Dbeef/cplus.js'); // Backlink: [[User:Dbeef/cplus.js]]
// If you're a newbie reading this, I recommend installing the following:
importScript('User:Evad37/rater.js'); // This one helps you easily add wikiprojects to articles, and assign ratings to them
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]; this helps identify sources that are known to be unreliable
importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: [[User:SuperHamster/CiteUnseen.js]]; as above
// SPI
if (page.startsWith('Wikipedia:Sockpuppet_investigations') || page.startsWith('Special:SuggestedInvestigations')) {
// importScript('User:GeneralNotability/spihelper.js'); // Backlink: [[User:GeneralNotability/spihelper.js]]
importScript('User:DatGuy/spihelper.js'); // Backlink: [[User:DatGuy/spihelper.js]]
importScript('User:Daniel Quinlan/Scripts/SockTags.js'); // Backlink: [[User:Daniel Quinlan/Scripts/SockTags.js]]
importScript('User:Daniel Quinlan/Scripts/SockDecay.js'); // Backlink: [[User:Daniel Quinlan/Scripts/SockDecay.js]]
}
if (ns === 14) {
importScript('User:Daniel Quinlan/Scripts/SockDecay.js'); // Backlink: [[User:Daniel Quinlan/Scripts/SockDecay.js]]
importScript('User:Daniel Quinlan/Scripts/Catatonic.js'); // Backlink: [[User:Daniel Quinlan/Scripts/Catatonic.js]]
}
// user talk scripts
if (ns === 3) {
importScript('User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js'); // Backlink: [[User:Novem Linguae/Scripts/UserTalkErasedSectionsDetector.js]]
importScript('User:Novem Linguae/Scripts/UnblockReview.js'); // Backlink: [[User:Novem Linguae/Scripts/UnblockReview.js]]
}
// other visual
importScript('User:Daniel Quinlan/Scripts/Unfiltered.js'); // Backlink: [[User:Daniel Quinlan/Scripts/Unfiltered.js]]
// importScript('User:Daniel Quinlan/Scripts/UserHighlighter.js'); // Backlink: [[User:Daniel Quinlan/Scripts/UserHighlighter.js]]
// importScript('User:SD0001/deleted-metadata-link.js'); // Backlink: [[User:SD0001/deleted-metadata-link.js]] - recommended for non-admin patrollers and SPI clerks
// writing and editing
if (ns === 0 || ns === 2 || ns === 118) {
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
}
// AfC, NPP, and deletion - non-admin actions
if (ns === 0 || ns === 2 || ns === 118) {
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
importScript('User:DannyS712/deOrphan.js'); // Backlink: [[User:DannyS712/deOrphan.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/Draftify.js]]
importScript('User:Schminnte/PageCuration.js'); // Backlink: [[User:Schminnte/PageCuration.js]]
importScript('User:Sohom_Datta/fastreview.js'); // Backlink: [[User:Sohom_Datta/fastreview.js]]
importScript('User:Novem Linguae/Scripts/DetectG4G5.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectG4G5.js]]
importScript('User:Novem_Linguae/Scripts/NPPLinks.js'); // Backlink: [[User:Novem_Linguae/Scripts/NPPLinks.js]]
importScript('User:CFA/scripts/attributetranslation.js'); // Backlink: [[User:CFA/scripts/attributetranslation.js]]
}
// as above, but draftspace only
if (ns === 118) {
importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); // Backlink: [[User:Novem Linguae/Scripts/DraftCleaner.js]]
importScript('User:DannyS712/Draft no cat.js'); // Backlink: [[User:DannyS712/Draft no cat.js]]
}
// revdel and copyright
//importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]] this commented-out one is helpful for making revdel requests if you aren't an admin
//importScript('User:Enterprisey/url-select-revdel.js'); // Backlink: [[User:Enterprisey/url-select-revdel.js]]
//importScript('User:The_Earwig/revdel-responder.js'); // Backlink: [[User:The_Earwig/revdel-responder.js]]
importScript('User:Writ Keeper/Scripts/massRevdel.js'); // Backlink: [[User:Writ Keeper/Scripts/massRevdel.js]]
// discussion closing
if (ns === 1 || ns === 4 || ns === 5) {
importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]
importScript('User:DaxServer/DiscussionCloser.js'); // Backlink: [[User:DaxServer/DiscussionCloser.js]]
importScript('User:Eejit43/scripts/rmtr-helper.js'); // Backlink: [[User:Eejit43/scripts/rmtr-helper.js]]
importScript('User:Novem Linguae/Scripts/VoteCounter.js'); // Backlink: [[User:Novem Linguae/Scripts/VoteCounter.js]]
}
// admin stuff
importScript('User:SD0001/quickViewDeleted.js'); // Backlink: [[User:SD0001/quickViewDeleted.js]]
importScript('User:SD0001/RFUD-helper.js'); // Backlink: [[User:SD0001/RFUD-helper.js]]
importScript('User:MusikAnimal/userRightsManager.js'); // Backlink: [[User:MusikAnimal/userRightsManager.js]]
importScript('User:Daniel Quinlan/Scripts/RangeHelper.js'); // Backlink: [[User:Daniel Quinlan/Scripts/RangeHelper.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/all-in-one.js&action=raw&ctype=text/javascript');
// Misc
// importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]
// importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: [[User:Eejit43/scripts/redirect-helper.js]]
importScript('User:SD0001/UnassessedArticleLinks.js'); // Backlink: [[User:SD0001/UnassessedArticleLinks.js]]
importScript('User:Nardog/MoveHistory.js'); // Backlink: [[User:Nardog/MoveHistory.js]]
importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ Keeper/Scripts/massRollback.js]]
importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
// importScript('User:Daniel Quinlan/Scripts/Rescaled.js'); // Backlink: [[User:Daniel Quinlan/Scripts/Rescaled.js]]
// importScript('User:Ale_jrb/Scripts/csdhelper.js'); //[[User:Ale_jrb/Scripts]]
importScript('User:Novem Linguae/Scripts/ReFillLink.js'); // Backlink: [[User:Novem Linguae/Scripts/ReFillLink.js]]
//importScript('User:Animum/massdelete.js'); // Backlink: [[User:Animum/massdelete.js]]
importScript('User:GeneralNotability/InvestorGoat.js'); // Backlink: [[User:GeneralNotability/InvestorGoat.js]]
// importScript('User:Bradv/Scripts/ExpandDiffs.js'); // Backlink: [[User:Bradv/Scripts/ExpandDiffs.js]] I don't know how anyone lives without this script in their global.js
importScript('User:Awesome Aasim/noeditredlinks.js'); // Backlink: [[User:Awesome Aasim/noeditredlinks.js]]
importScript('User:Daniel Quinlan/Scripts/Isolog.js'); // Backlink: [[User:Daniel Quinlan/Scripts/Isolog.js]]
importScript('User:Alaexis/AI Source Verification.js'); // Backlink: [[User:Alaexis/AI Source Verification.js]]
// importScript('User:Mz7/spi-form.js');
importScript('User:Daniel Quinlan/Scripts/Sandbox.js'); // Backlink: [[User:Daniel Quinlan/Scripts/Sandbox.js]]
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.