Page MenuHomePhabricator

API format change
Closed, InvalidPublic

Description

http://zh.wikipedia.org/w/api.php?action=query&continue=&list=recentchanges&rclimit=500&rcnamespace=0%7C2%7C4%7C6%7C10%7C14%7C100%7C828&rcprop=comment%7Cflags%7Cids%7Cloginfo%7Csizes%7Ctimestamp%7Ctitle%7Cuser&rcstart=20150430213217&rcend=20150430213215

{
    "type": "log",
    "ns": 0,
    "title": "\u4e2d\u56fd\u9ad8\u7b49\u6559\u80b2",
    "pageid": 354482,
    "revid": 0,
    "old_revid": 0,
    "rcid": 47303756,
    "user": "Berthe",
    "oldlen": 0,
    "newlen": 0,
    "timestamp": "2015-04-30T21:32:16Z",
    "comment": "",
    "logid": 5979757,
    "logtype": "move",
    "logaction": "move",
    "logparams": {
        "target_ns": 0,
        "target_title": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9ad8\u7b49\u6559\u80b2"
    }
}

Where

"logparams": {
    "target_ns": 0,
    "target_title": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9ad8\u7b49\u6559\u80b2"
}

is originally

"move": {
    "new_ns": 0,
    "new_title": "\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u9ad8\u7b49\u6559\u80b2"
}

Is this change intensional? If so, how could I learn that beforehand?

Event Timeline

LinJin created this task.Apr 30 2015, 9:58 PM
LinJin raised the priority of this task from to Needs Triage.
LinJin updated the task description. (Show Details)
LinJin added a subscriber: LinJin.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 30 2015, 9:58 PM

Intentional yes, see https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2015-April/000079.html. You can subscribe to the mediawiki-api-announce mailing list at https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce where all breaking changes are announced.

Legoktm updated the task description. (Show Details)Apr 30 2015, 10:00 PM
Legoktm added a project: MediaWiki-API.
Legoktm set Security to None.
Anomie closed this task as Invalid.May 1 2015, 12:07 AM
Anomie claimed this task.