[Pywikipedia-bugs] [Maniphest] [Updated] T297238: Wikidata edit did not update the langlinks tables on MediaWiki side

2021-12-07 Thread Huji
Huji added a comment. Not to distract the discussion on this specific case, but it seems like this is not an only case. T190667 from two years ago seems to be about a similar issue. And the answer offered there (namely "don't use langlinks table")

[Pywikipedia-bugs] [Maniphest] [Retitled] T297238: Wikidata edit did not update the langlinks tables on MediaWiki side

2021-12-07 Thread Huji
Huji renamed this task from "Pywikibot returns incorrect result when querying Wikidata" to "Wikidata edit did not update the langlinks tables on MediaWiki side". TASK DETAIL https://phabricator.wikimedia.org/T297238 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T297238: Pywikibot returns incorrect result when querying Wikidata

2021-12-07 Thread Huji
Huji added a subscriber: Ladsgroup. Huji added a comment. Here is what querying the `langlinks` table for enwiki shows : SELECT * from langlinks WHERE ll_from = 6951033 -- Category:Companies based in Edmonton F34856951: image.png

[Pywikipedia-bugs] [Maniphest] [Updated] T297238: Pywikibot returns incorrect result when querying Wikidata

2021-12-07 Thread Huji
Huji edited projects, added Wikidata, MediaWiki-Interwiki; removed Pywikibot. Huji added a comment. Here is my analysis of the issue: The `langlinks()` method of the `Page` class simply calls the `pagelanglinks()` of the `Site` class, which is defined in _generators.py

[Pywikipedia-bugs] [Maniphest] [Edited] T297238: Pywikibot returns incorrect result when querying Wikidata

2021-12-07 Thread Huji
Huji updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T297238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji Cc: Xqt, Aklapper, Huji, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido,

[Pywikipedia-bugs] [Maniphest] [Created] T297238: Pywikibot returns incorrect result when querying Wikidata

2021-12-07 Thread Huji
Huji created this task. Huji added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **List of steps to reproduce** (step by step, including full links if applicable): Here is a piece of python code that uses Pywikibot to query

[Pywikipedia-bugs] [Maniphest] [Updated] T296371: Move pywikibot tests from Travis to Github action

2021-12-07 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T296371 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Rubin16, Aklapper, pywikibot-bugs-list, mdipietro, dcaro, RhinosF1,

[Pywikipedia-bugs] [Maniphest] [Commented On] T296371: Move pywikibot tests from Travis to Github action

2021-12-07 Thread gerritbot
gerritbot added a comment. Change 743686 **merged** by jenkins-bot: [pywikibot/core@master] [tests] Add test environments to github actions https://gerrit.wikimedia.org/r/743686 TASK DETAIL https://phabricator.wikimedia.org/T296371 EMAIL PREFERENCES