2024-05-04 10:34:31 +02:00
|
|
|
// enwiki purgetab
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-purgetab.js&oldid=951989513&action=raw&ctype=text/javascript',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
/* Automate purge confirmation dialog */
|
2024-06-08 12:05:22 +02:00
|
|
|
if (mw.config.get('wgAction') === 'purge') {
|
|
|
|
$('form.mw-htmlform').submit();
|
2024-05-04 10:34:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* StewardScript extends the user interface for Wikimedia stewards' convenience.
|
|
|
|
* @see https://meta.wikimedia.org/wiki/StewardScript
|
|
|
|
* @update-token [[File:pathoschild/stewardscript.js]]
|
|
|
|
*/
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//tools-static.wmflabs.org/meta/scripts/pathoschild.stewardscript.js',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
// Display users rights (Temporary, might work on my own rewrite of this or find another one)
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//en.wikipedia.org/w/index.php?title=User:Splarka/sysopdectector.js&oldid=653248315&action=raw&ctype=text/javascript',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
// No MediaViewer
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.config.set('wgMediaViewerOnClick', false);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Ajax sysop
|
|
|
|
* @see https://meta.wikimedia.org/wiki/Ajax_sysop
|
|
|
|
* @update-token [[File:pathoschild/ajaxsysop.js]]
|
|
|
|
*/
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//tools-static.wmflabs.org/meta/scripts/pathoschild.ajaxsysop.js',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Forces left-to-right layout and editing on RTL wikis.
|
|
|
|
* @see https://meta.wikimedia.org/wiki/Force_ltr
|
|
|
|
* @update-token [[File:pathoschild/forceltr.js]]
|
|
|
|
*/
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
// Change language to English if it is not
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//meta.wikimedia.org/w/index.php?title=User:-revi/lang-to-en.js&action=raw&ctype=text/javascript',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
// IRTC1015's permalink-collector
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//ko.wikipedia.org/w/index.php?title=User:IRTC1015/copyReasonLink.js&oldid=20823911&action=raw&ctype=text/javascript',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
// Display lists aka StewardLinks
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//meta.wikimedia.org/w/index.php?oldid=20169009&action=raw&ctype=text/javascript',
|
|
|
|
);
|
2024-05-04 10:34:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
|
|
|
|
* @see https://meta.wikimedia.org/wiki/TemplateScript
|
|
|
|
* @update-token [[File:Pathoschild/templatescript.js]]
|
|
|
|
*/
|
2024-06-08 12:05:22 +02:00
|
|
|
mw.loader.load(
|
|
|
|
'//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js',
|
|
|
|
);
|