Jump to content

User:Cheng/monobook.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by MBisanz (talk | contribs) at 17:23, 5 February 2012 (moved User:Cheng-temp/monobook.js to User:Cheng/monobook.js: Automatically moved page while renaming the user "Cheng-temp" to "Cheng"). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*
 * 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;
    }
)}