Page MenuHomePhabricator

Adds specific support for ProofreadPage Page: namespace
Closed, ResolvedPublic

Description

The current MobileFrontend editor displays a simple text area with the raw content serialization, allowing users to break content [1].

The edit area should be split in three parts (header, body, footer) and the scan image displayed like it's done for desktop [2].

[1] https://en.m.wikisource.org/wiki/Page:The_American_Indian.djvu/175#editor/0
[2] https://en.wikisource.org/w/index.php?title=Page:The_American_Indian.djvu/175&action=edit


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=69177

Details

Reference
bz65165

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:17 AM
bzimport set Reference to bz65165.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/e5IPWl6D

Tpt and I will hopefully fix this at the hackathon tomorrow!

Change 132798 had a related patch set uploaded by Jdlrobson:
Allow other extensions/modules to tweak the editor

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

Change 132798 abandoned by Jdlrobson:
Allow other extensions/modules to tweak the editor

Reason:
Anyone want to pick this up from me? I don't have time to see this to completion :(

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

Hmm, it's difficult to find the best solution. I'm personally not happy with any change at the editor, it is dificult to copy the bevahior from desktop site without give extensions too much "power" in change MobileFrontend.

I see, that ProofreadPage uses CustomEditer hook to edit/replace editor in desktop site. Maybe, here i think out loud, only :D, we can implement a hook in mobile to give the possibillity to replace mobile.editor.overlay module in Resources.php with it's own?

But this is a solution, which goes absolutly not conform with my first thoughts :/

jgonera wrote:

I don't think it's feasible to provide this feature on small mobile screens at all. Closing unless someone proposes a really good UI for this.

I reopen the bug because MobileFrontend should, at least, provide an UI to explain to users "this page can't be edited on mobile" instead of allowing them to edit the raw content of Page: pages.

MobileFrontend should, at least, provide an UI to explain to users "this page can't be edited on mobile"

Is this a topic for _all_ pages in this wiki? If so, you can hide the edit button with $wgMFPageActions = array( 'talk', 'upload', 'watch' );

Jdlrobson claimed this task.

As Florian says you can disable editing using that config change. I've setup a sub task for you to do that.