[pywikibot] Re: Error when trying to log in

2022-12-18 Thread info
It is 1.38.4 Am 18.12.2022 um 01:56 schrieb Bináris :What MediaWiki version uses that site? ezt írta (időpont: 2022. dec. 17., Szo, 18:11): I'm trying to get pywikibot set up for the first time. It's on a Miraheze site and I'm getting this error when I try to

[pywikibot] Re: Page views

2022-12-18 Thread info
I don’t see a diagram there:Informace o stránce „Ivan Konstantinovič Matrosov“cs.wikipedia.orgIs it an extension?Did you mean main_authors() Page method?page — MediaWiki Pages — Pywikibot 8.0.0.dev0 documentationdoc.wikimedia.orgBestxqtAm 18.12.2022 um 08:53 schrieb Bináris :At left of articles

[pywikibot] Re: Page views

2022-12-18 Thread Bináris
Click https://hu.wikipedia.org/w/index.php?title=Erfurti_latrinabaleset=info Ctrl F "Megtekintések száma az elmúlt 30 napban" Click on the number next to it Gives pop-up diagram Pywikibot.ico Description: Binary data ___ pywikibot mailing list --

[pywikibot] Re: Error when trying to log in

2022-12-18 Thread osmiumsky
If it helps, here are pywikibot/user-config.py and pywikibot/pywikibot/families/comprehensibleinputwiki.py, the only two files I changed. mylang = 'en' family = 'comprehensibleinputwiki' usernames['comprehensibleinputwiki']['en'] = 'LangoBot' console_encoding = 'utf-8'

[pywikibot] Re: Error when trying to log in

2022-12-18 Thread Bináris
ezt írta (időpont: 2022. dec. 18., V, 9:22): > It is 1.38.4 > That is not too old, the problem should be elsewhere. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Page views

2022-12-18 Thread Bináris
Thanks! Meanwhile Xqt created https://phabricator.wikimedia.org/T325473. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Page views

2022-12-18 Thread Strainu
Hey, You're talking about https://m.mediawiki.org/wiki/Extension:PageViewInfo AFAIK pwb does not have a high level api for this, but I'm sure you can get the data using the data API or requests directly. https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.data.html#module-data.api One

[Pywikipedia-bugs] [Maniphest] [Started] T325470: generator tests for category_graph fails

2022-12-18 Thread Xqt
Xqt triaged this task as "High" priority. Xqt claimed this task. Xqt changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt,

[Pywikibot-commits] [Gerrit] ...core[master]: [tests] add 'category_graph' to expected generator tests failures

2022-12-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/868831 ) Change subject: [tests] add 'category_graph' to expected generator tests failures .. [tests] add 'category_graph' to expected

[Pywikipedia-bugs] [Maniphest] [Updated] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T74305: Wikidata scripts exit with an exception when the site is not a wikibase client

2022-12-18 Thread RPI2026F1
RPI2026F1 added a comment. Is this not expected behavior if the site is not a Wikibase client? It makes no sense trying to run Wikibase-related scripts for something that isn't linked to Wikibase. TASK DETAIL https://phabricator.wikimedia.org/T74305 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Created] T325470: generator tests for category_graph fails

2022-12-18 Thread Xqt
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): `pwb category_graph -simulate -page:Foobar -always

[Pywikipedia-bugs] [Maniphest] [Created] T325473: Add support for Extension:PageViewInfo

2022-12-18 Thread Xqt
Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary**: Add support for Extension:PageViewInfo TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Triaged] T325473: Add support for Extension:PageViewInfo

2022-12-18 Thread Xqt
Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T325473 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, binbot, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Triaged] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra,

[Pywikipedia-bugs] [Maniphest] [Created] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread Xqt
Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **What happens?**: every github action test with Python 3.6 fails. - https://github.com/wikimedia/pywikibot/actions -

[Pywikipedia-bugs] [Maniphest] [Closed] T325470: generator tests for category_graph fails

2022-12-18 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657,

[Pywikipedia-bugs] [Maniphest] [Started] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread Xqt
Xqt claimed this task. Xqt changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T325470: generator tests for category_graph fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 868831 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] add 'category_graph' to expected generator tests failures https://gerrit.wikimedia.org/r/868831 TASK DETAIL https://phabricator.wikimedia.org/T325470

[Pywikipedia-bugs] [Maniphest] [Commented On] T71286: harvest_template should ignore placeholder images

2022-12-18 Thread RPI2026F1
RPI2026F1 added a comment. For the category option, it gets tricky because the bot would have to resolve all subdirectories of unknown depth. Also there are a //lot// of files in that category, PetScan

[Pywikipedia-bugs] [Maniphest] [Commented On] T325470: generator tests for category_graph fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 868831 **merged** by jenkins-bot: [pywikibot/core@master] [tests] add 'category_graph' to expected generator tests failures https://gerrit.wikimedia.org/r/868831 TASK DETAIL https://phabricator.wikimedia.org/T325470 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T325470: generator tests for category_graph fails

2022-12-18 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T325470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Maintenance_bot Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Aklapper, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777, LisafBia6531,

[Pywikipedia-bugs] [Maniphest] [Commented On] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 868833 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] Use ubuntu 20.04 for Python 3.6 tests https://gerrit.wikimedia.org/r/868833 TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T325470: generator tests for category_graph fails

2022-12-18 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T325470 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Aklapper, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777, LisafBia6531,

[Pywikipedia-bugs] [Maniphest] [Commented On] T325473: Add support for Extension:PageViewInfo

2022-12-18 Thread binbot
binbot added a comment. The interesting thing is not the grph, but the underlying page view numbers. TASK DETAIL https://phabricator.wikimedia.org/T325473 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: binbot Cc: Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Edited] T74305: Wikidata scripts exit with an exception when the site is not a wikibase client

2022-12-18 Thread RPI2026F1
RPI2026F1 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T74305 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: jayvdb, Ricordisamoa, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Use ubuntu 20.04 for Python 3.6 tests

2022-12-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/868833 ) Change subject: [tests] Use ubuntu 20.04 for Python 3.6 tests .. [tests] Use ubuntu 20.04 for Python 3.6 tests Python 3.6 has

[Pywikipedia-bugs] [Maniphest] [Commented On] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 868833 **merged** by jenkins-bot: [pywikibot/core@master] [tests] Use ubuntu 20.04 for Python 3.6 tests https://gerrit.wikimedia.org/r/868833 TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Closed] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657,

[Pywikipedia-bugs] [Maniphest] [Closed] T257013: Pywikibot cannot fetch some wikidata items.

2022-12-18 Thread RPI2026F1
RPI2026F1 closed this task as "Resolved". RPI2026F1 claimed this task. RPI2026F1 added a comment. I don't know what caused it, but the bug seems to not be happening anymore: Input: import pywikibot ​ def test1(): site = pywikibot.Site('en', 'wikipedia') page

[Pywikipedia-bugs] [Maniphest] [Commented On] T74305: Wikidata scripts exit with an exception when the site is not a wikibase client

2022-12-18 Thread Xqt
Xqt added a comment. In T74305#8476435 , @RPI2026F1 wrote: > Is this not expected behavior if the site is not a Wikibase client? It makes no sense trying to run Wikibase-related scripts for something that isn't linked to Wikibase.

[Pywikibot-commits] [Gerrit] ...core[master]: [tests] Use ubuntu 20.04 for Python 3.6 tests

2022-12-18 Thread Xqt (Code Review)
Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/869052 ) Change subject: [tests] Use ubuntu 20.04 for Python 3.6 tests .. [tests] Use ubuntu 20.04 for Python 3.6 tests Python 3.6 has reached

[Pywikipedia-bugs] [Maniphest] [Updated] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Aklapper, Xqt, pywikibot-bugs-list, Adamm71, Jersione, Hellket777, LisafBia6531,

[Pywikipedia-bugs] [Maniphest] [Commented On] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 869052 **merged** by Xqt: [pywikibot/core@master] [tests] Use ubuntu 20.04 for Python 3.6 tests https://gerrit.wikimedia.org/r/869052 TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T325468: github action tests with Python 3.6 fails

2022-12-18 Thread gerritbot
gerritbot added a comment. Change 869052 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [tests] Use ubuntu 20.04 for Python 3.6 tests https://gerrit.wikimedia.org/r/869052 TASK DETAIL https://phabricator.wikimedia.org/T325468 EMAIL PREFERENCES