Last modified: 2010-05-15 15:38:02 UTC
The Atom version of the Special:Recentchanges page doesn't specify a namespace
for the feed element. It generates the following feed tag:
<feed version="0.3" xml:lang="en">
Whereas it should generate the following tag:
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en">
... per the Atom 0.3 spec:
Because of this bug, feed validators like feedvalidator.org say the feed is invalid:
More importantly, some feed readers don't see the feed as an Atom feed, so they
don't parse it correctly.
Created attachment 1057 [details]
patch v1: fixes bug in Feed.php
This one-liner adds the necessary namespace attribute. Note that I've applied
this patch to wiki.mozilla.org, so the feedvalidator URL above won't show the
error anymore. But other wiki sites, like wikitravel, do show the error.
Here's what the feed validator says about wikitravel:
Created attachment 1058 [details]
patch v2: updated to 1.5 release branch
The previous patch was against our 1.4 installation, and it doesn't apply
cleanly to 1.5. This patch does. Note that neither patch is necessary on the
trunk, as the trunk is using Atom 1.0, and its feed tag is labeled with the
appropriate namespace attribute.
Applied to REL1.5, will be in 1.5.3.