https://bugzilla.wikimedia.org/show_bug.cgi?id=56540

       Web browser: ---
            Bug ID: 56540
           Summary: Api returns the wrong timestamp for the date of latest
                    edit of user talk pages
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mybugs.m...@gmail.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
    Classification: Unclassified
   Mobile Platform: ---

Right now, the API call
https://pt.wikipedia.org/w/api.php?action=query&prop=info&titles=User_talk:!Silent&format=jsonfm
returns
{
    "query": {
        "normalized": [
            {
                "from": "User_talk:!Silent",
                "to": "Usu\u00e1rio Discuss\u00e3o:!Silent"
            }
        ],
        "pages": {
            "1618362": {
                "pageid": 1618362,
                "ns": 3,
                "title": "Usu\u00e1rio Discuss\u00e3o:!Silent",
                "contentmodel": "wikitext",
                "pagelanguage": "pt",
                "touched": "2013-11-01T23:39:57Z",
                "lastrevid": 37128640,
                "counter": "",
                "length": 62836
            }
        }
    }
}
but according to
https://pt.wikipedia.org/wiki/User_talk:!Silent?action=info&uselang=en
the latest edit to this page was
https://pt.wikipedia.org/wiki/User_talk:!Silent?diff=37128640
and its timestamp is 2013-10-16T20:29:59.

The API should return the same timestamp shown in "action=info" (that is
"2013-10-16T20:29:59"), which is the one corresponding to the "lastrevid"
returned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to