[Mediawiki-api] Invalid page titles returned from queries

Carl Beckhorn cbeckhorn at fastmail.fm
Mon Mar 17 20:05:55 UTC 2008


On Mon, Mar 17, 2008 at 03:56:48PM -0400, Russell Blau wrote:
> "Roan Kattouw" <roan.kattouw at home.nl> said:
> > That's the database's fault, not the API's. If this causes trouble,
> > someone should write a maintenance script to delete these ghost pages.
> 
> Well, I'm the one who posted about this on enwiki, and was told in no 
> uncertain terms by Tim Starling that it's the API's fault, not the 
> database's.

The existence of the invalid titles is the database's fault. However, 
I seem to recall from past experience that the general philosophy 
is for Mediawiki to handle them gracefully.  That's the light in 
which I read Tim's comments.

> 2)  change the API so that, if there is a bad title in the titles= 
> parameter, it still returns the query result for all the valid titles.

There is an open bug report about that:

  https://bugzilla.wikimedia.org/show_bug.cgi?id=13390

- Carl 



More information about the Mediawiki-api mailing list