https://bugzilla.wikimedia.org/show_bug.cgi?id=50929

       Web browser: ---
            Bug ID: 50929
           Summary: User preference to disable VisualEditor
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: MediaWiki integration
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

It's strange that I can't find a bug for this. Lots of user on en.wiki
complained loudly about this [1], but nobody succeded to write a bug report for
it? Well, here it is:

Please provide an option in user preferences to turn VE off. Some users just
don't like it and don't want to have an extra tab which they don't use anyway.
The gadget isn't perfect, as the tab might appear for short time before it is
removed again, and has to updated when VE integration changes. The only reason
I found for why there is no such option is this:

"It was planned, but the code turned out to be seriously buggy at the last
minute. Getting it really, truly off (rather than just covered up) is more
complicated than expected." Whatamidoing (WMF) (talk) 06:32, 2 July 2013 (UTC)

Now with the minimized amount of code that is loaded at startup, it is
acceptable to load the code, but just not to execute it. Adding

if ( !mw.user.options.get( 'visualeditor-enable' ) ) {
 return;
}

near to the end of modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js
should be all that's really needed.

[1]
https://en.wikipedia.org/wiki/Wikipedia:Vpt#.22Opt_out.22_of_VE_needed_under_preferences

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to