User:Spideog/vector.js

/** * Automatically tick the minor edit check box * * @source: http://www.mediawiki.org/wiki/Snippets/Mark_minor_edit * @rev: 2 */ jQuery( document ).ready( function( $ ) {       if( mw.config.get( 'wgAction' ) === 'edit' ) {                document.getElementById( 'wpMinoredit' ).checked = true;        } } );