Most of the time when this happens it means you have trailing newlines at the end of an extension file.
At some point this will be auto-detected by MediaWiki - in the meantime, I've posted a script to help you identify the offending file(s):
http://jimbojw.com/wiki/index.php?title=How_to_find_PHP_files_with_trailing_...
-- Jim R. Wilson (jimbojw)
On 7/24/07, David_S_Green@dell.com David_S_Green@dell.com wrote:
All,
We are trying to use the RSS feed from Special:Recentchanges, but when we try to pull the feed in we get the following:
XML Parsing Error: xml declaration not at start of external entity
Location: http://wxp-5ppg211/gecwiki/index.php?title=Special:Recentchanges&feed=rs s
Line Number 2, Column 1:<?xml version="1.0" encoding="utf-8"?>
^
It appears Mediawiki is putting in a blank line above the "<?xml version="1.0" encoding="utf-8"?>" line, when that line should be first.
Any ideas on how I can get Mediawiki to change that behavior?
Thanks,
Dave Green
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l