Forwarding to mediawiki-api. Shall we keep the discussion centralized?
---------- Forwarded message ----------
From: Simetrical <Simetrical+wikilist(a)gmail.com>
Date: Feb 3, 2008 4:48 PM
Subject: Re: [Toolserver-l] Fwd: ATTENTION: query.php will be removed soon
On Feb 3, 2008 4:47 AM, Kalan <kalan.001(a)gmail.com> wrote:
> Of course, we could keep it, but read what the head API developer says:
> > Agree, backwards compatibility is important, but it has to be balanced
> > with efforts required to maintain query.php.. Every db schema change
> > must be looked at to see if query.php must be updated. Internal api
> > changes may also impact its functions and performance. IIRC, there are
> > already some queries not working as intended.
So isn't the obvious answer to rewrite query.php so that it uses
api.php as a backend, not just chuck it out the window? Then you only
have to care about query.php when you're changing the semantics of
api.php's existing parameters, which you shouldn't be doing often
anyway. Obviously maintaining query.php as a whole separate backend
is stupid, but the backend is separate from the user-exposed
interface, which should not change if it can be plausibly avoided.
This doesn't sound like a reasonable or correct decision to me.
Toolserver-l mailing list
For those who use old query.php API interface:
Per http://bugzilla.wikimedia.org/show_bug.cgi?id=12881 , query.php has been
fully ported to the api.php, and thus no longer needed. Unless there are
significant reasons to keep it around, it will be removed both from the
extensions and from the mediawiki sites fairly soon.
If you are still using it, see http://www.mediawiki.org/wiki/API description
on how to use the new api.php.
Thanks for all the support!