Last modified: 2014-03-28 00:20:17 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 T64700, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62700 - Edit on the section heading can't be reflected in the preview in mobile section edit
Edit on the section heading can't be reflected in the preview in mobile secti...
Status: RESOLVED DUPLICATE of bug 62652
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-15 19:21 UTC by Liangent
Modified: 2014-03-28 00:20 UTC (History)
8 users (show)

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


Attachments

Description Liangent 2014-03-15 19:21:53 UTC
Assume there's a page with wikitext:

"""
AAA

== BBB ==

CCC

DDD

== EEE ==

FFF
"""

When I mobile edit section 1 (BBB), the textarea contains:

"""
== BBB ==

CCC

DDD
"""

and in preview (if I save it with no change) would be:

"""
CCC

DDD
"""

If change wikitext in the textarea to:

"""
CCC

== BBB ==

DDD
"""

and try to save it, the preview is still:

"""
CCC

DDD
"""

Or if I use wikitext:

"""
== GGG ==

CCC

DDD
"""

There's still no difference in preview.

I know this is because MediaWiki's preview generates the heading in HTML, so we strip one heading in mobile preview for prettiness. Maybe we can only strip it when the new heading is identical (content and position ie. at the beginning) to the original, but this still makes removal of section heading invisible in preview...
Comment 1 Bingle 2014-03-15 19:25:10 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1776
Comment 2 Jon 2014-03-17 17:21:10 UTC
This might possibly need some design input. Maybe we could change "Editing <page title>" to "Editing <section title>" to give feedback or simply resurface it in preview.
Comment 3 Jon 2014-03-28 00:20:17 UTC
Same issue as bug 62652

*** This bug has been marked as a duplicate of bug 62652 ***

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


Navigation
Links