Page MenuHomePhabricator

"Show edit toolbar" preference is confusing
Closed, ResolvedPublic

Description

There are two preferences when WikiEditor is installed:

  1. Show edit toolbar (requires JavaScript)
  2. Enable enhanced editing toolbar

The first option is not related to WikiEditor and it is only relevant to the classic toolbar. However, regular editors don't know that the new one is called "WikiEditor" or that it is enhanced. This preference has practically no effect if "Enable enhanced editing toolbar" is checked. A user may want to disable the toolbar, so he will uncheck "Show edit toolbar", but the WikiEditor will stay. That is very confusing.

I would envision something different:

  • A checkbox saying "Show edit toolbar (requires JavaScript)". Should be checked by default.
    • If WikiEditor is installed, then it will have radio buttons or a dropdown for selecting the kind of toolbar the user wants: classic or modern.

There are other possibilities, such as:

  • showing the classic toolbar with Monobook and the new one with Vector.
  • retiring the classic toolbar entirely.

Implementing this should be fairly easy, but i suppose that a decision from usability people is needed.

See also T30555.


See also:

Details

Reference
bz30795
TitleReferenceAuthorSource BranchDest Branch
Bug: T327950repos/commtech/autosuggest-sitelink!29s-mukutiT327950main
T327951repos/commtech/autosuggest-sitelink!27s-mukutiT327951main
Avoid nesting div in span in radio button labelrepos/commtech/autosuggest-sitelink!23samwilsonnested-divmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:48 PM
bzimport added projects: WikiEditor, Design.
bzimport set Reference to bz30795.
bzimport added a subscriber: Unknown Object (MLST).

I confirm that disabling "Show edit toolbar (requires JavaScript)" on
https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-editing
doesn't remove the toolbar if "Enable enhanced editing toolbar" is enabled. This also happens after the fix for another bug:
https://en.wikipedia.org/w/index.php?diff=603293838&oldid=603166167

I like the idea of having something like

  • Show edit toolbar: (x) Classic ( ) Modern ( ) Modern with wizards for inserting links, tables as well as the search and replace function

"Show edit toolbar" indeed only determines if the edit toolbar old style is included in the html. BTW, we should at the very least move that out of the HTML, so we no longer have to complicate the EditPage on the HTML level.

(In reply to Derk-Jan Hartman from comment #3)

BTW, we should at the very least move that out of the
HTML, so we no longer have to complicate the EditPage on the HTML level.

Bug 28856?

SNIP<<

I like the idea of having something like

[x] Show edit toolbar:
    [x] Classic
    [ ] Modern
       [ ] Modern with wizards for inserting links, tables as well as the search and replace function

Agreed. Making the User preferences for editor something like that makes far more sense -- not only for improved "overall" clarity's sake -- but could go a long way towards nailing down many other specific issues if it was implemented as the 'first step' in a series a steps that follow.

[x] Show edit toolbar:
     [ ] Classic
     [x] WikiEditor
          [x] WikiEditor enhanced with wizards and dialogs
              (for inserting links, tables as well as a search and replace function)

That way, you can set the 2nd level in the above list to be either Classsic or WikiEditor but not both at once. The 3rd enhanced level would then only be an option to the User: if, and only if, WikiEditor was selected at the 2nd level first.

Finally, add VisualEditor to the mix and its plain to see why an approach like this makes complete sense.

Paladox subscribed.

Adding MediaWiki-General-or-Unknown project since the messages are in the mediawiki core.

Change 317079 merged by jenkins-bot:
[mediawiki/core@master] Remove old "bulletin board style toolbar" from core

https://gerrit.wikimedia.org/r/317079

Classic edit toolbar is now gone, but I think this is still confusing. There is now a preference called "Enable enhanced editing toolbar", but with no mention of a non-enhanced toolbar anywhere.

Classic edit toolbar is now gone, but I think this is still confusing. There is now a preference called "Enable enhanced editing toolbar", but with no mention of a non-enhanced toolbar anywhere.

Yes, next step (tomorrow) is to re-label that preference.

Change 469777 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@REL1_32] Remove old "bulletin board style toolbar" from core

https://gerrit.wikimedia.org/r/469777

Change 469782 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikiEditor@master] Re-label preference now that the 2006 wikitext editor doesn't exist

https://gerrit.wikimedia.org/r/469782

Change 469777 merged by jenkins-bot:
[mediawiki/core@REL1_32] Remove old "bulletin board style toolbar" from core

https://gerrit.wikimedia.org/r/469777

Change 469782 merged by jenkins-bot:
[mediawiki/extensions/WikiEditor@master] Re-label preference now that the 2006 wikitext editor doesn't exist

https://gerrit.wikimedia.org/r/469782