The "protorel" property recently added to the output of
action=query&meta=siteinfo&siprop=interwikimap was coded to include the
property with a boolean true value rather than the API-standard empty
string. This is now corrected, and will be deployed to WMF wikis with
1.24wmf10.
At some point in the future (timeframe and details undecided yet), I would
like to change the API so that boolean properties like this one will
actually be a truthy value (e.g. boolean true) in JSON and other output
formats. It's likely that the backwards-compatible mode would cause any
other properties that are currently returning as boolean true to change to
empty-string.
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
With Gerrit change 136799 <https://gerrit.wikimedia.org/r/#/c/136799/>, the
old output format for action=expandtemplates and the generatexml parameter
are deprecated, but will continue to be used for existing queries.
Clients should begin using the new 'prop' parameter to
action=expandtemplates, to be ready for some future date when the
deprecated format and parameter are removed. There is no timeline on this
removal, but it will be announced well in advance to this list.
This change will be deployed to WMF wikis with 1.24wmf8, see
https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.
This is not considered a breaking change, since the old queries will
continue to work with a deprecation warning.
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation