Translations of this page?:

Set "Minor Changes" by default

To have the “Minor Changes” checkbox enabled by default, put the following in your conf/userscript.js (create it if it does not exist):

conf/userscript.js
addInitEvent(function(){
    var cbox = $('minoredit');
    if(!cbox) return;
    var prv = getElementsByClass('preview',document,'div');
    if(prv[0]) return; //preview is shown, do not modify state
    cbox.checked = true;
});
tips/autominor.txt · Last modified: 2010/10/12 12:34 by adrianlang
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate