Last modified: 2013-12-02 15:02:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54086, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52086 - User preference to disable VisualEditor (VE product)
User preference to disable VisualEditor (VE product)
Status: RESOLVED WONTFIX
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: James Forrester
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-26 11:17 UTC by Seb35
Modified: 2013-12-02 15:02 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Seb35 2013-07-26 11:17:15 UTC
This bug is about the generalisation of the solution deployed in bug #50929 in the Wikimedia environment. Having in mind the medium term of the deployment of the VisualEditor in many/most of the MediaWiki wikis, it could be a good idea to give the sysadmins the choice of enabling or disabling the VisualEditor by default for registrated users, with a LocalSettings parameter wgVisualEditorDefault.

This would give the choice to the sysadmins to enable by default or not the VE for registrated users (for anons there is already the preference wgVisualEditorDisableForAnons), and this could be directly used in the Wikimedia environment to replace the parameter $wmgVisualEditorDefault.

To resolve this bug, the patch https://gerrit.wikimedia.org/r/#/c/75541/ could be generalised by renaming the new preference "visualeditor-betatempdisable" into "visualeditor-preference-disable", and depending of the variable wgVisualEditorDefault either the positive preference (for alpha/beta environments, "Enable the VE") or the negative preference (for production environments, "Disable the VE") would be used, the other preference being hidden with wgHiddenPrefs.

In the normal scenario the wiki change from beta to production environment, it would be easy for the sysadmin to change the wgVisualEditorDefault value from false to true and this would automatically activate the VE during the change, so that the users are aware of the new setting and have the possibility of seeing the new editor (some welcoming message could be displayed then) and if users don’t like it they are given the possibility to disable it (or not if the relevant preference is hidden, but this is a sysadmin/community choice).

I point out the default messages visualeditor-preference-enable/disable should have a general-wiki phrasing, and any Wikimedia customisation (about namespaces where it is enabled, about the time the parameter is available before possibly hide the preference) should be customised in the WikimediaMessages extension (see my comment https://bugzilla.wikimedia.org/show_bug.cgi?id=50929#c34 ).
Comment 1 Seb35 2013-07-26 11:31:00 UTC
In the proposed scenario the default values of the two preferences visualeditor-enable and visualeditor-disable would be false: in a beta environment the default is "not enabled by default=false", and in the production environment the default is "not disabled by default=false".
Comment 2 Helder 2013-07-30 11:28:48 UTC
(In reply to comment #0)
...
> I point out the default messages visualeditor-preference-enable/disable
> should
> have a general-wiki phrasing, and any Wikimedia customisation (about
> namespaces
> where it is enabled, about the time the parameter is available before
> possibly
> hide the preference) should be customised in the WikimediaMessages extension
> (see my comment https://bugzilla.wikimedia.org/show_bug.cgi?id=50929#c34 ).

About this, see also bug 52188.
Comment 3 James Forrester 2013-11-25 16:20:29 UTC
On-wiki configuration management is a much bigger piece than just for VisualEditor; I think it's probably marking this as WONTFIX within the context of VE, but instead suggest that the RfCs for this (as a piecemeal approach seems worse than nothing).
Comment 4 Seb35 2013-12-02 15:02:45 UTC
I am a bit disappointed by this closing, although it was only a suggestion of generalisation of the Wikimedia configuration for progressive deployment on third-party wikis. But it’s not very important.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links