Last modified: 2009-06-25 13:27:50 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 T19521, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17521 - Feed item title contains doubly-escaped ampersand, displaying  
Feed item title contains doubly-escaped ampersand, displaying  
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks: feeds
  Show dependency treegraph
 
Reported: 2009-02-16 15:45 UTC by Mormegil
Modified: 2009-06-25 13:27 UTC (History)
0 users

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


Attachments

Description Mormegil 2009-02-16 15:45:11 UTC
History feed item is built using the “colon-separator” interface message which separates the author of the revision from the comment.

However, since the colon-separator contains “: ” currently, and the feed is XML-escaped afterwards, the resulting feed items display “ ” (see the URL for an example).

See includes/PageHistory.php, line 539.

A quick fix might consist of changing FeedItem::stripComment to replace HTML entities with the respective characters.

(OBTW, it seems we are a bit inconsistent with formatting/escaping comments, anyway, even on wiki…)
Comment 1 Mormegil 2009-06-25 13:27:50 UTC
Fixed in r51453

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


Navigation
Links