Last modified: 2008-08-26 07:02:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12881 - Remove query.php
Remove query.php
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Yuri Astrakhan
Depends on:
  Show dependency treegraph
Reported: 2008-02-02 17:15 UTC by Carl Fürstenberg
Modified: 2008-08-26 07:02 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Carl Fürstenberg 2008-02-02 17:15:10 UTC
As the api now has all the functionality that query had, I thikn it's time to remove query.php from the face of earth
Comment 1 Roan Kattouw 2008-02-02 19:37:31 UTC
I can confirm that all features in query.php have been ported to api.php, and that query.php is now obsolete. I'll leave the honor of removing query.php (or adding an OBSOLETE file) to Yuri, though.
Comment 2 Yuri Astrakhan 2008-02-02 19:52:40 UTC
Posted ref to this bug on the mailing lists, waiting for any last minute "oh my god, it will stop from searching wiki" emails.

For anyone porting query.php to api.php, see documentation at

Thanks everyone, LONG LIVE THE query.php  :)))
Comment 3 Victor Vasiliev 2008-02-03 08:20:16 UTC
Let's wait until 1.12 release, please
Comment 4 Huji 2008-02-03 09:33:49 UTC
Yes, there is no hurry in removing the feature. Let's just announce it every where for now.
Comment 5 Huji 2008-02-03 09:37:42 UTC
Also, people may find this reply interesting:
Comment 6 Brion Vibber 2008-02-04 19:12:33 UTC
I also would recommend replacing query.php with a wrapper to the current API. If they're as similar as described, this shouldn't be a difficult task and it will avoid most backward-compatibility breakage.

(In reality of course there will probably be some calls which won't return the same results exactly, but that's better than just chucking the old API out.)
Comment 7 Max Semenik 2008-06-26 12:53:15 UTC
BotQuery is currently terribly unmaintained - only 6 commits to it this year, and none of them were significant, just some quick hacks. I'm afraid that it's already semi-functional, and thigs are getting only worse as time passes. If there is no one willing to either maintain it or rewrite it as an API wrapper, it should be disabled anyway.

Comment 8 Max Semenik 2008-07-12 19:51:45 UTC
Note: query.php is currently used by Lupin's Popups ([[WP:NAVPOP]]), which already seems to fail sometimes, seemingly due to problems with query. Popups will need to be tweaked to work with API before this request could be fulfilled.
Comment 9 Max Semenik 2008-08-26 07:02:27 UTC
Died a violent death yesterday. Long live the API!

Note You need to log in before you can comment on or make changes to this bug.