Last modified: 2012-05-03 02:45:56 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 T36708, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34708 - In some Help sections of WikiEditor, the ‘What you get’ column shows raw HTML instead of rendered text
In some Help sections of WikiEditor, the ‘What you get’ column shows raw HTML...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All Linux
: High normal (vote)
: MW 1.19 version
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 31217
  Show dependency treegraph
 
Reported: 2012-02-25 14:26 UTC by Veeven
Modified: 2012-05-03 02:45 UTC (History)
4 users (show)

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


Attachments
Links section of WikiEditor’s Help (37.22 KB, image/png)
2012-02-25 14:26 UTC, Veeven
Details
Files section of WikiEditor’s Help (26.48 KB, image/png)
2012-02-25 14:32 UTC, Veeven
Details

Description Veeven 2012-02-25 14:26:28 UTC
Created attachment 10096 [details]
Links section of WikiEditor’s Help

In http://test2.wikipedia.org/ some Help sections of the toolbar have raw HTML (instead of the rendered text).

See the attached screen shots for details.

This problem is not there in en.wikipedia.org.
Comment 1 Veeven 2012-02-25 14:32:00 UTC
Created attachment 10097 [details]
Files section of WikiEditor’s Help

It seems wherever we output <a> element, it is being shown as HTML code.
Comment 2 Mark A. Hershberger 2012-02-25 18:17:52 UTC
Confirmed on simplewiki
Comment 3 Brion Vibber 2012-02-27 21:42:10 UTC
It looks like the messages are getting escaped during export to JavaScript code...

mw.messages.values['wikieditor-toolbar-help-content-ilink-result']
gives
"&lt;a href='#'&gt;Link label&lt;/a&gt;<br />&lt;a href='#'&gt;Page title&lt;/a&gt;"

where it should be:
"<a href='#'>Link label</a><br /><a href='#'>Page title</a>"
Comment 4 Brion Vibber 2012-02-27 21:53:00 UTC
Caused by r110045 -- reverted in r112526.

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


Navigation
Links