Last modified: 2014-10-27 22:16:55 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 T74522, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72522 - Edit preview doesn't work for article pages (no JS error)
Edit preview doesn't work for article pages (no JS error)
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized critical
: ---
Assigned To: Florian
:
: 72528 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-26 02:14 UTC by Ryan Kaldari
Modified: 2014-10-27 22:16 UTC (History)
7 users (show)

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


Attachments

Description Ryan Kaldari 2014-10-26 02:14:38 UTC
If you try to preview an edit in the Wikitext editor, no preview is displayed (on en.wiki). Unlike Bug 72521, no Javascript error is thrown. It may or may not be related.
Comment 1 Bingle 2014-10-26 02:15:26 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/ZybYHgNQ
Comment 2 Jon 2014-10-26 04:43:22 UTC
Looks like Section template got broken.

To fix it:
mw.mobileFrontend.require( 'Section' ).prototype.template = mw.mantle.template.compile( '{{#heading}}<h2><span id="{{anchor}}">{{{heading}}}</span><a href="#editor/{{id}}" data-section="{{id}}" class="edit-page">{{editLabel}}</a></h2>{{/heading}}<div>{{{content}}}</div>', 'hogan' )
Comment 3 Florian 2014-10-26 12:44:55 UTC
*** Bug 72528 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2014-10-26 12:55:58 UTC
Change 168822 had a related patch set uploaded by Florianschmidtwelzow:
Fix missing edit preview

https://gerrit.wikimedia.org/r/168822
Comment 5 Gerrit Notification Bot 2014-10-27 18:44:22 UTC
Change 168822 merged by Kaldari:
Fix missing edit preview

https://gerrit.wikimedia.org/r/168822
Comment 6 Gerrit Notification Bot 2014-10-27 18:45:12 UTC
Change 169039 had a related patch set uploaded by Florianschmidtwelzow:
Fix missing edit preview

https://gerrit.wikimedia.org/r/169039
Comment 7 Gerrit Notification Bot 2014-10-27 18:45:26 UTC
Change 169040 had a related patch set uploaded by Florianschmidtwelzow:
Fix missing edit preview

https://gerrit.wikimedia.org/r/169040
Comment 8 Gerrit Notification Bot 2014-10-27 22:16:50 UTC
Change 169039 merged by jenkins-bot:
Fix missing edit preview

https://gerrit.wikimedia.org/r/169039
Comment 9 Gerrit Notification Bot 2014-10-27 22:16:55 UTC
Change 169040 merged by jenkins-bot:
Fix missing edit preview

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

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


Navigation
Links