Last modified: 2005-11-03 21:31:25 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 T5871, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3871 - RSS Feed Errors
RSS Feed Errors
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All Linux
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: 3874 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-11-03 20:09 UTC by Aaron Axelsen
Modified: 2005-11-03 21:31 UTC (History)
1 user (show)

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


Description Aaron Axelsen 2005-11-03 20:09:37 UTC
The RSS feeds are not working as of the 1.5.2 release.  I have a small wiki farm
set up for a handful of wiki's.  I tracked the problem down to the following.

If you try the RSS feed right after you install a new wiki, it will work fine. 
If you try it after editing or changing anything that will create a recent entry
the rss feed generation creates a blank line at the start of the file which
causes the rss file to not be valid.

Is there a quick fix to this?
Comment 1 Brion Vibber 2005-11-03 20:57:14 UTC
Please check your LocalSettings.php and other files you've modified for extra 
whitespace at the beginning or end of the file. This is by far the most frequent 
cause of failed RSS feeds.
Comment 2 Aaron Axelsen 2005-11-03 21:00:47 UTC
There do not appear to be any extra whitespace.  Like i stated above, the rss
feed works fine on a fresh install until anything is changed.  That would lead
me to believe it is something else?

This wiki does use LDAP authentication if that could somehow be involved.
Comment 3 Brion Vibber 2005-11-03 21:06:59 UTC
Make an actual fresh install, that does not contain third-party plugins. Then, 
very carefully provide exact, detailed instructions on reproducing the "changes" 
until it stops working.

I am unable to reproduce the reported problem on a 1.5 test wiki after editing 
Comment 4 Aaron Axelsen 2005-11-03 21:08:05 UTC
*** Bug 3874 has been marked as a duplicate of this bug. ***
Comment 5 Aaron Axelsen 2005-11-03 21:17:00 UTC
The LdapAuthentication.php file had 2 spaces after the closing php tag.  Why
would that break the rss?

All is correct now.
Comment 6 Brion Vibber 2005-11-03 21:31:25 UTC
Those spaces go into output, and XML is anal about the file header.

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