[Mediawiki-l] Recentchanges RSS Feed breaks due to blank line

David_S_Green at Dell.com David_S_Green at Dell.com
Mon Aug 6 19:12:44 UTC 2007


Jim,

I'm a week slow in responding to this (I was out of town)...

The only 2 extensions I have running are:
navigation_en.php 
DynamicPageList.php

And this is an internally only wiki...no way to access it from outside.

Dave

-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Jim Wilson
Sent: Thursday, July 26, 2007 12:05 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Recentchanges RSS Feed breaks due to blank
line

> Would it have displayed something if a file was found to be bad?

Yeah - it would have listed any bad ones.  What version of MediaWiki are
you
using, and do you have any extensions installed?

Is this a publicly accessible wiki? or for internal use only?

-- Jim

On 7/26/07, David_S_Green at dell.com <David_S_Green at dell.com> wrote:
>
> Jim,
>
> Thanks for this. I ran the "findBadFiles.php" file that I placed in
> maintenance based on your article....and it appears to scan all the
> files...but then that was it, just back to the prompt. Would it have
> displayed something if a file was found to be bad?
>
> If so, then I'm still stuck with why the RSS feed is putting in that
> blank line at the start.
>
> Thanks,
> Dave
>
> -----Original Message-----
> From: mediawiki-l-bounces at lists.wikimedia.org
> [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Jim
Wilson
> Sent: Tuesday, July 24, 2007 4:06 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Recentchanges RSS Feed breaks due to blank
> line
>
> 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_trail
> ing_whitespace
>
> -- Jim R. Wilson (jimbojw)
>
> On 7/24/07, David_S_Green at dell.com <David_S_Green at 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 at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list