User:Cheng/monobook.js

/* * Custom scripts for the Monobook skin. * Changes will be visible only to your own account. * This page can be found at [Special:Mypage/monobook.js]. * Refer to [Help:User_style] for more information. * * Last modified on June 2, 2010. */

// Mark all edits minor by default. // Code by [User:WOSlinker]. // For details, see [Wikipedia:Village_pump_(technical)/Archive_78#Preference_to_mark_all_edits_minor_by_default_asked_to_be_removed_in_bugzilla:24313].

if(wgAction == 'edit') { addOnloadHook(function minorEdit {      document.getElementById('wpMinoredit').checked = true;    } )}