Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
mw.loader.load('https://internal-soap.fandom.com/index.php?title=User:Tono555/scripts-ucp.js&action=raw&ctype=text/javascript');
importArticles({
type: 'script',
articles: [
'u:dev:MediaWiki:FastDelete/code.js',
'u:dev:MediaWiki:DiscussionsViewer.js',
'u:dev:MediaWiki:ArchiveTool/code.js',
'u:dev:MediaWiki:PortableCSSPad/code.js',
'u:dev:MediaWiki:QuickDiff/code.js',
'u:dev:RevealAnonIP/usercode.js',
'u:dev:AnchoredRollback/code.js',
'u:dev:MediaWiki:ContribsLink/code.js',
'u:dev:MediaWiki:DisplayTimer/code.js',
'u:dev:MediaWiki:RecentChangesMultiple/code.2.js',
'u:dev:MediaWiki:AjaxDelete/code.js',
'u:dev:MediaWiki:FileTools.js',
'u:dev:MediaWiki:AjaxUserRights.js',
]
});
// FastDelete buttons
window.fdButtons = [
{
summary: 'Housekeeping',
label: 'HK'
},
{
summary: '[[w:help:vandalism|Vandalism]]',
label: 'V'
},
{
summary: '[[w:help:spam|Spam]]',
label: 'S'
},
{
summary: 'Cleanup',
label: 'C↑'
},
{
summary: 'Violation of the [[w:c:www:Terms_of_Use|ToU]]',
label: 'ToU'
},
];
;(function() {
function init() {
window.dev = window.dev || {};
if ( window.dev.wclink ) {
return;
}
window.dev.wclink = true;
var conf = mw.config.get( [ 'wgPageName' ] );
if ( conf.wgPageName !== 'Special:LookupContribs' && conf.wgPageName !== 'Special:LookupUser' ) {
return;
}
var table = document.querySelector( '.lookup-user__table-wrapper .mw-datatable' ) || document.querySelector( '.lookup-contribs__table-wrapper table' );
if ( !table ) {
return;
}
table.querySelectorAll( 'tr td:nth-child(2) a:first-child' ).forEach( function ( link ) {
var name = link.href.substring( 8, link.href.length - 1 );
var wikiconfig = ' (<a href="https://community.fandom.com/wiki/Special:WikiConfig/' + name + '">WC</a>)';
link.parentElement.insertAdjacentHTML( 'beforeend', wikiconfig );
} );
}
mw.hook('wikipage.content').add(init);
}());