User:VarunFEB2003/common.js: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 741615003 by VarunFEB2003 (talk)
Line 1:
mw.loader.using( [ 'mediawiki.api' ], function () {
if ( mw.config.get( 'wgAction' ) !== 'purge' ) {
return;
}
new mw.Api().post( {
action: 'purge',
titles: mw.config.get( 'wgPageName' )
} ).then( function () {
___location.replace(
___location.pathname +
___location.search
.replace( /(?:\?|&)action=purge$/ , '' )
.replace( /(\?|&)action=purge&/ , '$1' ) +
___location.hash
);
}, function ( e ) {
console.log( 'Purge failed', e );
} );
} );
 
importScript("User:UBX/LiveEditCounter.js");
importScript('User:VarunFEB2003/hideBeta.js'); // Backlink:[[User:VarunFEB2003/hideBeta]]
Line 51 ⟶ 31:
importScript('User:The Earwig/copyvios.js');
importScript( 'User:Technical_13/Scripts/OneClickArchiver.js' ); // Backlink: [[User:Technical_13/Scripts/OneClickArchiver]]
importScript("User:VarunFEB2003/SkipPurge.js");
importScript('User:Darkwind/DAVT.js'); // [[User:Darkwind/DAVT.js]]
importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]