Page MenuHomePhabricator

Odd property name
Closed, DeclinedPublic

Description

Hello,

in the Mediawiki API the module random of the module list creates JSON string with "id" as the page identification number (query > random > id). But all other modules use "pageid" for the name of this property (eg: query > prefixsearch > id for list=prefixsearch or prop=info).

Could your please rename "id" in "pageid" ?

In advance, thank you.

Event Timeline

ContributorQ raised the priority of this task from to Needs Triage.
ContributorQ updated the task description. (Show Details)
ContributorQ subscribed.
Krenair renamed this task from [Mediawiki API] Odd property name. to Odd property name.Oct 8 2015, 9:22 PM
Krenair set Security to None.
Anomie claimed this task.
Anomie subscribed.

While it is odd for it to be different, it has been that way since the module was created in 2008 and changing it now would break all clients using the existing property name.