MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* Automate purge confirmation dialog */ if ( mw.config.get( 'wgAction' ) === 'purge' ) { $('form[action*="action=purge"]').submit; }