Page MenuHomePhabricator

Document MediaWiki API formatversion=2
Closed, ResolvedPublic

Description

T76728: Clean up ApiResult and ApiFormatXml, create new formatversion introduces new different formatversion=2

  • document how developers of API modules may need to update their code to ensure backwards compatibility,
  • document the new features
  • mention this is available on other API pages

I started work at https://www.mediawiki.org/wiki/API:JSON_version_2

Event Timeline

Spage claimed this task.
Spage raised the priority of this task from to Normal.
Spage updated the task description. (Show Details)
Spage added a project: ECT-May-2015.
Spage moved this task to Doing on the ECT-May-2015 board.
Spage added a subscriber: Spage.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 6 2015, 12:17 AM
Qgil added a subscriber: Qgil.
Spage closed this task as Resolved.Jun 2 2015, 10:23 AM

It's in pretty good shape now thanks to Anomie's help.

I still have to decide when to use formatversion=2 as the default in API examples and such. API results might change, plus this is only available in MediaWiki 1.25 and above.