User:DarkMatterMan4500/mark-locked.js: Difference between revisions
From WikiOasis Meta
More actions
Created page with "// <nowiki> // @ts-check // Companion to markblocked - asynchronously marks locked users // Chunks borrowed from User:Krinkle/Scripts/CVNSimpleOverlay_wiki.js, // User:GeneralNotability/ip-ext-info.js, and MediaWiki:Gadget-markblocked.js (()=> { const api = new mw.ForeignApi('https://meta.wikimedia.org/w/api.php', { userAgent: 'Marked-locked-userscript' }); /** * Get all userlinks on the page * * @param {JQuery} $content page contents * @return {Map} list..." |
mNo edit summary |
||
| Line 5: | Line 5: | ||
// [[User:GeneralNotability/ip-ext-info.js]], and [[MediaWiki:Gadget-markblocked.js]] | // [[User:GeneralNotability/ip-ext-info.js]], and [[MediaWiki:Gadget-markblocked.js]] | ||
(()=> { | (()=> { | ||
const api = new mw.ForeignApi('https://meta. | const api = new mw.ForeignApi('https://meta.wikioasis.org/w/api.php', { userAgent: 'Marked-locked-userscript' }); | ||
/** | /** | ||
* Get all userlinks on the page | * Get all userlinks on the page | ||