On Fri, Jul 24, 2009 at 5:09 PM, Mike<[email protected]> wrote:

> ST47,
>
> Thanks for getting back to me.  I've been doing some major debugging
> today.  I have setup a test wiki since I want to test the code before
> decimating a live wiki, so I decided I'd just upgrade to the latest
> code, in case it was a problem in that version.  This didn't resolve the
> problem.  I setup a new MediaWiki install from scratch on another server
> and this time it worked.  This narrowed the problem down to either the
> DB or the config file.  After a diff of the config file and some
> experimenting, it came down to the setting of $wgArticlePath.
>
> I have clean URLs configured and so have it set to $wgArticlePath =
> '/$1';  This torpedoes the API code.  If I comment it out, my code works
> as expected, uncomment it and I end up with the data written to Api.php
> again.
>
> This appears to be the symptom.  I haven't been able to identify the
> cause yet.  I've done a quick Google and there does appear to be some
> stories of the API code causing some agro with paths.  Namely this:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=484855
>
> I need to do a little more digging into the actual cause though.
>
> I don't know if you have any ideas?
>
> Mike.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkpqIvsACgkQmUrfmTU1ohUsTACg4fiSFGSLqA4/SqhH0GgcfOW+
> BekAoMnHAemoyl/euh1qzPtCS3UY7wPT
> =mqJG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>

I'm tempted to say that it's got to be entirely a bug with the redhat
package. Since I don't have such a machine to test it on, I'm afraid I
can't be of much help, except to say that downloading the source
yourself should work as a long term solution, as you already have
done.

-- 
DCollins/ST47
Administrator, en.wikipedia.org
Channel Operator, irc.freenode.net/#wikipedia
Maintainer, MediaWiki::Bot module

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to