Jump to content

API talk:Action API

Add topic
From mediawiki.org
(Redirected from API talk:Main page)
Latest comment: 1 month ago by Jdforrester (WMF) in topic Enumerate users by creation date

When was Wikipedia's first API first launched?

[edit]

Is it 2006? This info is basically nowhere to be found. Does somebody know? Prototyperspective (talk) 22:53, 22 February 2026 (UTC)Reply

The action API as it exists today (api.php) has been introduced in July 2007: https://lists.wikimedia.org/hyperkitty/list/mediawiki-api@lists.wikimedia.org/thread/UDI7AI4FR4Q3U5EGXMGBETCADRJLQPRQ/
Before that, there was an API called query.php, introduced some time in 2006. We still have a funny deprecation page for it today: https://en.wikipedia.org/w/query.php Other relevant links:
Matma Rex (talk) 17:38, 23 February 2026 (UTC)Reply
There was also action=ajax, if you want to call that an API. That was added in or before 2006. Tgr (WMF) (talk) 19:24, 23 February 2026 (UTC)Reply

Enumerate users by creation date

[edit]

Special:ListUsers can enumerate users alphabetically by name or in ascending/descending order of creation date. The former can be achieved via the API as well, by list=allusers. Can the latter be achieved API-wise, i.e. is there an API module that enumerates users in order of creation date? allusers does not seem to have such an option, and list=querypage does not seem to accept “ListUsers” (users aren’t pages anyway…). --~2026-25370-56 (talk) 15:33, 26 April 2026 (UTC)Reply

I can't ping you as you didn't register for an account, but this is not the right place for this question. I think there's no such option, you'd need to file a Phabricator task asking for the feature to be built. Jdforrester (WMF) (talk) 19:22, 26 May 2026 (UTC)Reply

Guys, your enthusiasm is overwhelming. If it’s impossible, a simple “no” might do. If here is the wrong page, you could point to the right one. ^^ --~2026-30754-11 (talk) 18:10, 22 May 2026 (UTC)Reply