Xqt added a project: MediaWiki-Action-API.
Xqt added a comment.

  I was able to reproduce it via request url as follows:
  
  
https://www.wikidata.org/w/api.php?gcmtitle=Category:Wikidata%20status%20updates&gcmprop=ids|title|sortkey&gcmsort=timestamp&gcmdir=desc&prop=info|imageinfo|categoryinfo&inprop=protection&iiprop=timestamp|user|comment|url|size|sha1|metadata&iilimit=max&generator=categorymembers&action=query&indexpageids=&continue=&gcmnamespace=4&gcmlimit=5&meta=userinfo&uiprop=blockinfo|hasmsg&maxlag=5&format=jsonfm
  
  gives
  
    {
        "batchcomplete": "",
        "continue": {
            "gcmcontinue": "2022-10-24 15:31:32|109463830",
            "continue": "gcmcontinue||userinfo"
        },
        "query": {
            "pageids": [
                "110050339",
                "109918126",
                "109829041",
                "109758836",
                "109622558"
            ],
            "pages": {
                "110050339": {
                    "pageid": 110050339,
                    "ns": 4,
                    "title": "Wikidata:Status updates/2022 11 28",
                    "contentmodel": "wikitext",
                    "pagelanguage": "en",
                    "pagelanguagehtmlcode": "en",
                    "pagelanguagedir": "ltr",
                    "touched": "2022-11-28T15:24:13Z",
                    "lastrevid": 1780434722,
                    "length": 14063,
                    "protection": [],
                    "restrictiontypes": [
                        "edit",
                        "move"
                    ]
                },
                "109918126": {
                    "pageid": 109918126,
                    "ns": 4,
                    "title": "Wikidata:Status updates/2022 11 21",
                    "contentmodel": "wikitext",
                    "pagelanguage": "en",
                    "pagelanguagehtmlcode": "en",
                    "pagelanguagedir": "ltr",
                    "touched": "2022-11-22T14:37:40Z",
                    "lastrevid": 1777147454,
                    "length": 7331,
                    "protection": [],
                    "restrictiontypes": [
                        "edit",
                        "move"
                    ]
                },
                "109829041": {
                    "pageid": 109829041,
                    "ns": 4,
                    "title": "Wikidata:Status updates/2022 11 14",
                    "contentmodel": "wikitext",
                    "pagelanguage": "en",
                    "pagelanguagehtmlcode": "en",
                    "pagelanguagedir": "ltr",
                    "touched": "2022-11-17T11:11:27Z",
                    "lastrevid": 1772883130,
                    "length": 11916,
                    "protection": [],
                    "restrictiontypes": [
                        "edit",
                        "move"
                    ]
                },
                "109758836": {
                    "pageid": 109758836,
                    "ns": 4,
                    "title": "Wikidata:Status updates/2022 11 07",
                    "contentmodel": "wikitext",
                    "pagelanguage": "en",
                    "pagelanguagehtmlcode": "en",
                    "pagelanguagedir": "ltr",
                    "touched": "2022-11-07T16:48:41Z",
                    "lastrevid": 1766770860,
                    "length": 9534,
                    "new": "",
                    "protection": [],
                    "restrictiontypes": [
                        "edit",
                        "move"
                    ]
                },
                "109622558": {
                    "pageid": 109622558,
                    "ns": 4,
                    "title": "Wikidata:Status updates/2022 10 31",
                    "contentmodel": "wikitext",
                    "pagelanguage": "en",
                    "pagelanguagehtmlcode": "en",
                    "pagelanguagedir": "ltr",
                    "touched": "2022-11-07T20:41:49Z",
                    "lastrevid": 1761854336,
                    "length": 10707,
                    "protection": [],
                    "restrictiontypes": [
                        "edit",
                        "move"
                    ]
                }
            },
            "userinfo": {
                "id": 1726,
                "name": "Xqt"
            }
        },
        "limits": {
            "imageinfo": 500
        }
    }
  
  But the follow-up request
  
  
https://www.wikidata.org/w/api.php?gcmtitle=Category:Wikidata%20status%20updates&gcmprop=ids|title|sortkey&gcmsort=timestamp&gcmdir=desc&prop=info|imageinfo|categoryinfo&inprop=protection&iiprop=timestamp|user|comment|url|size|sha1|metadata&iilimit=max&generator=categorymembers&action=query&indexpageids=&continue=gcmcontinue||userinfo&gcmnamespace=4&gcmlimit=500&meta=userinfo&uiprop=blockinfo|hasmsg&maxlag=5&format=jsonfm&gcmcontinue=2022-10-24%2015:31:32|109463830
  
  fails with
  
    {
        "error": {
            "code": "badcontinue",
            "info": "Invalid continue param. You should pass the original value 
returned by the previous query.",
            "*": "See https://www.wikidata.org/w/api.php for API usage. 
Subscribe to the mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
 for notice of API deprecations and breaking changes."
        },
        "servedby": "mw1412"
    }
  
  Don't see that this is a Pywikibot issue

TASK DETAIL
  https://phabricator.wikimedia.org/T323910

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, MisterSynergy, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, WDoranWMF, Viztor, DannyS712, 
Wenyi, Amorymeltzer, Tbscho, MayS, Sethakill, Mdupont, JJMC89, dg711, Dvorapa, 
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to