Page MenuHomePhabricator

Consider adding a button to let users edit the whole page in MobileFrontend
Open, Needs TriagePublic

Description

Following on from T196915 which adds the mechanism for this, we should consider exposing this in the UI.

As an interim step, T234659 suggested that in AMC an edit button could be added for advanced editors to the overflow menu as a short term measure.

Related Objects

Event Timeline

This could be a solution or part of a solution to the edge case of a user wanting to return to the entire article after editing a section T209984#5005124

JTannerWMF added subscribers: matmarex, JTannerWMF.

Hey @iamjessklein we need your input on this, @DLynch said this would be easy to implement but we just need to figure out how we'd like to. @matmarex is also linking https://phabricator.wikimedia.org/T210659 as it relates to this work.

The same idea is mentioned as a part of T210659:

  • Edit
    • Clicking edit will open the editing for the entire article

So, Reading team might be working on it? I hope :)

JTannerWMF removed a project: Editing Design.

We are going to work on this in the near future

Bumping this ticket as it came up several times at Wikimania Stockholm usability testing.

In Minerva without AMC, you could add a button at the end of the page alongside "Discussion". But this might be too prominent. Could we put it beside the button(s) but make it a smaller link rather than a big button? (Similar to the Cancel link on the right of the Publish | Preview | Changes buttons in desktop wikitext editor, but not bold nor red.)

For Minerva with AMC, "edit whole page" could go in the overflow (vertical ellipsis) menu. T234659

I note that placement of the top pencil icon in AMC was designed to be a full-page edit T210659. But whole-page editing was seen as a problem for VE on mobile T227897. Placement of the top-section edit pencil for both AMC and non-AMC really should be reconsidered T228107 sooner rather than later. Now that its function has changed, its location is confusing.

At time of writing this, there is no longer any edit page button on mobile. And the section-name part of the edit summary is not just enforced, but is invisible. If I want to add a section, I have to switch to desktop view or leave an incorrect edit summary.

EDIT: I just did a test. On mobile wikitext editor, the section name that gets inserted is not the one I clicked on, but the first heading in the saved text.

I've been wanting to suggest this for years as the events that lead to my global lock began because of an issue of not knowing how to do this on mobile, my suggestion for this would be that if you're on mobile the pencil ✏️ now has "a small triangle" and if you click on it it would ask "Edit lead - Edit full page", this way mobile users would have the ability to edit what. For large pages this won't cause an issue if a mobile user only wants to edit the top of the page. I still can't believe that the WMF is finally adopting this idea, it just seems so surreal.

But it needs to be properly implemented as it shouldn't be the default as for desktop users, especially since large pages can crash mobile devices more easily.

Note that modern mobile devices are probably powerful enough to load large pages, but many users from developing countries probably have cheaper mobile telephones, which is why this feature would probably be better if "the top pencil ✏️" gives a user a choice rather than assuming their choice.

Change 776236 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/skins/MinervaNeue@master] Add "edit full page" to the minerva overflow menu

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

In the interest of nudging this along: that patch adds a "edit full page" button to the overflow menu. I.e. it's only visible to users with Advanced Mobile Contributions turned on.

image.png (868×1 px, 84 KB)

(I haven't been incredibly thorough on the patch and looking for edge cases; I wanted something that worked for discussion more than I wanted an immediately-mergable thing.)

Test wiki created on Patch demo by ESanders (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/880dd85371/w/

Does this need input from the web team?

When you click edit on mobile and click it again it shows up in the menu to change to the visible editor if you're using source code (this is what I have). Why not add another menu item there "Edit whole article", the same feature would be useful while editing the section.