Last modified: 2011-03-13 18:05:40 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 3700 - Simple REST API for querying page properties and status (patch included)
Simple REST API for querying page properties and status (patch included)
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2005-10-13 18:21 UTC by Daniel Kinzler
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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

Ask.php - proof of concept (1.85 KB, patch)
2005-10-13 18:24 UTC, Daniel Kinzler

Description Daniel Kinzler 2005-10-13 18:21:08 UTC
A simple extension that hanldes the "ask" action by returning properties asked
for by the "what" parameter. See for a specification of the

a proof-of-concept patch will folow in a minute.
Comment 1 Daniel Kinzler 2005-10-13 18:24:58 UTC
Created attachment 991 [details]
Ask.php - proof of concept

This patch is very basic, it would probably need a few changes, especially with
regards to security. Also, many interresting things can not yet be queried,
because the respective classes do not implement the methods needed.

To enable this ask action, put the following into LocalSettings.php:

  include "includes/Ask.php";
  $wgHooks['UnknownAction'][] = 'wfAskHook';
Comment 2 Brion Vibber 2005-10-13 19:59:53 UTC
Badly coupled to the internal object structure. An interface needs to be an external 

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