XZise created this task. XZise added a subscriber: XZise. XZise added projects: Pywikibot-tests, pywikibot-core, MediaWiki-API. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION The pywikibot-core tests testing the categories of Albert Einstein on the English Wikipedia are failing recently:
* https://travis-ci.org/wikimedia/pywikibot-core/jobs/56190901#L2710 * https://travis-ci.org/wikimedia/pywikibot-core/jobs/56190905#L2071 * https://travis-ci.org/wikimedia/pywikibot-core/jobs/56190906#L2515 * https://travis-ci.org/wikimedia/pywikibot-core/jobs/56190909#L2778
Now when looking at the call [[https://en.wikipedia.org/w/api.php?action=query&prop=categories&titl... Einstein&clprop=hidden`]] it returns just 6 hidden categories. Just for clarification it's `clprop` not `clshow` and a similar call to [[https://en.wikipedia.org/w/api.php?action=query&prop=categories&titl... Big Bang Theory&clprop=hidden`]] returns also normal (not hidden) categories.
``` { "warnings": { "query": { "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query." } }, "query": { "pages": { "736": { "pageid": 736, "ns": 0, "title": "Albert Einstein", "categories": [ { "ns": 14, "title": "Category:All articles lacking reliable references", "hidden": "" }, { "ns": 14, "title": "Category:Articles lacking reliable references from March 2015", "hidden": "" }, { "ns": 14, "title": "Category:CS1 maint: Unrecognized language", "hidden": "" }, { "ns": 14, "title": "Category:Good articles", "hidden": "" }, { "ns": 14, "title": "Category:Wikipedia indefinitely move-protected pages", "hidden": "" }, { "ns": 14, "title": "Category:Wikipedia indefinitely semi-protected pages", "hidden": "" } ] } } } } ```
I tried purging it and only a few hours ago [[https://en.wikipedia.org/w/index.php?title=Albert_Einstein&diff=65383670... NG reverted]] a [[https://en.wikipedia.org/w/index.php?title=Albert_Einstein&diff=65383669... edit]]. That vandalism also removed all normal categories so it might be connected.
TASK DETAIL https://phabricator.wikimedia.org/T94302
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb, Anomie, Legoktm
XZise added a comment.
Hmm seems to be just a caching issue. I now get all categories, but shouldn't have action=purge fixed that?
TASK DETAIL https://phabricator.wikimedia.org/T94302
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb, Anomie, Legoktm
Anomie moved this task to Non-core-API stuff on the MediaWiki-API workboard.
TASK DETAIL https://phabricator.wikimedia.org/T94302
WORKBOARD https://phabricator.wikimedia.org/project/board/200/
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Anomie Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb, Anomie, Legoktm
Anomie added a subscriber: Anomie. Anomie added a comment.
This reminds me of a long-standing bug (which I can't find at the moment to link to) where the links tables either somehow don't get updated after a revert or somehow the updated entries get overwritten by those from an older revision. I've tried to reproduce it at various times to try to track it down, but I've never been able to.
A purge won't fix it since that doesn't refresh links tables, but a null edit or an API action=purge&forcelinkupdate=1 will.
TASK DETAIL https://phabricator.wikimedia.org/T94302
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Anomie Cc: Anomie, Aklapper, XZise, jayvdb, Legoktm, pywikipedia-bugs
jayvdb added a subscriber: jayvdb.
TASK DETAIL https://phabricator.wikimedia.org/T94302
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: jayvdb, Anomie, Aklapper, XZise, Legoktm, pywikipedia-bugs
Umherirrender added a subscriber: Umherirrender. Umherirrender added a comment.
In https://phabricator.wikimedia.org/T94302#1162524, @Anomie wrote:
This reminds me of a long-standing bug (which I can't find at the moment to link to) where the links tables either somehow don't get updated after a revert or somehow the updated entries get overwritten by those from an older revision. I've tried to reproduce it at various times to try to track it down, but I've never been able to.
https://phabricator.wikimedia.org/T19154
TASK DETAIL https://phabricator.wikimedia.org/T94302
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Umherirrender Cc: Umherirrender, jayvdb, Anomie, Aklapper, XZise, Legoktm, pywikipedia-bugs
Umherirrender removed a subscriber: Umherirrender.
TASK DETAIL https://phabricator.wikimedia.org/T94302
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Umherirrender Cc: jayvdb, Anomie, Aklapper, XZise, Legoktm, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org