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(a)dell.com <David_S_Green(a)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(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l