Page MenuHomePhabricator

Atom items given text/plain MIME type
Closed, ResolvedPublic

Description

Author: mediawiki

Description:
In the Atom feed for Special:Recentchanges, the type attribute for each summary
element is "text/plain" meaning that the content of the item is rendered as
plain text. Should be "text/html".

  1. Subscribe to the Recentchanges feed

(for example
http://en.wikipedia.org/w/index.php?title=Special:Recentchanges&feed=atom )

  1. Look at any item

Actual result: you see the HTML source
Expected result: you see a table of recent changes

Note: the bug appears to be in includes/Feed.php, (line 288 of CVS rev1.24 and
1.5alpha2)


Version: 1.5.x
Severity: minor

Details

Reference
bz2392

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:31 PM
bzimport set Reference to bz2392.
bzimport added a subscriber: Unknown Object (MLST).

I've fixed up the Atom feed generation in CVS HEAD. It's now
compliant to Atom 1.0, and correctly marks the summaries as html. I
can confirm proper rendering of items from the en.wikipedia feed in
NetNewsWire Lite 2.0.1.