[Pywikipedia-bugs] [Maniphest] [Triaged] T219282: Unify negative page generators

2021-05-14 Thread Xqt
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T219282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: maynorc, Shubham656jain, Aklapper, pywikibot-bugs-list, Dvorapa, Shalomori123, Gaurav24072002, Abhi

[Pywikipedia-bugs] [Maniphest] [Commented On] T219282: Unify negative page generators

2021-05-14 Thread maynorc
maynorc added a comment. Also, one other pair not mentioned is `grep` and `grepnot`, I assume unification is desired here as well TASK DETAIL https://phabricator.wikimedia.org/T219282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc Cc: ma

[Pywikipedia-bugs] [Maniphest] [Commented On] T219282: Unify negative page generators

2021-05-14 Thread maynorc
maynorc added a comment. @Dvorapa I'd like to ask for some clarification here. Are you suggesting that it'd be best to make usage for negative page generators more consistent, i.e.: `-titleregexnot` --> `titleregex:not`, and `-withoutinterwiki` --> `interwiki:not` etc.? Fro

[Pywikipedia-bugs] [Maniphest] [Commented On] T94826: Don't crash when MediaWiki returns a page title different from the query because of normalization (Arabic and Malayalam normalization in particula

2021-05-14 Thread Xqt
Xqt added a comment. The current behavior is: >>> s = pywikibot.Site('ar') >>> p = pywikibot.Page(s, 'قالب:ﻲﺘﻴﻣﺓ') >>> p Page('قالب:ﻲﺘﻴﻣﺓ') >>> p.exists() WARNING: API warning (query): The value passed for "titles" contains invalid or non-normalized data. Textual dat

[Pywikipedia-bugs] [Maniphest] [Unblock] T72936: Important tasks to be solved (tracking)

2021-05-14 Thread Xqt
Xqt closed subtask T75124: additional space in langlinks data causes crash as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T72936 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dvorapa, Multichill, Edgars2007, Mpaa, Aklapper, Xq

[Pywikipedia-bugs] [Maniphest] [Closed] T75124: additional space in langlinks data causes crash

2021-05-14 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. I close this because I cannot validate this bug anymore. Please reopen if you have additional hints and working with current Pywikibor release. TASK DETAIL https://phabricator.wikimedia.org/T75124 EMAIL PREFERE

[Pywikipedia-bugs] [Maniphest] [Closed] T94826: Don't crash when MediaWiki returns a page title different from the query because of normalization (Arabic and Malayalam normalization in particular)

2021-05-14 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. Solved already: >>> import pwb, pywikibot as py >>> s = py.Site() >>> p = py.Page(s, u'Eaton Corporation') >>> p Page('Eaton Corporation') >>> TASK DETAIL https://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Closed] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. $ python pwb.py interwiki -lang:cs -family:wikipedia -simulate works for me. Therefore i close this task TASK DETAIL https://phabricator.wikimedia.org/T223157 EMAIL PREFERENCES https://phabricator.wikimedia.o

[Pywikipedia-bugs] [Maniphest] [Claimed] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread Xqt
Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T282865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, Shalomori123, Lalamarie69, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Alter-paule,

[Pywikipedia-bugs] [Maniphest] [Updated] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223157 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Meno25, Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Shalomori123, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Updated] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread Maintenance_bot
Maintenance_bot added a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T282865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Aklapper, pywikibot-bugs-list, Xqt, Shalomori123, Lalamarie69, Jyoo1011, JohnsonLee0

[Pywikipedia-bugs] [Maniphest] [Updated] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T282865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Aklapper, pywikibot-bugs-list, Xqt, Lalamarie69, Alter-paule, Beast1978, Un1tY, Hook696,

[Pywikipedia-bugs] [Maniphest] [Commented On] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread gerritbot
gerritbot added a comment. Change 691167 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] interwiki: write traceback in -verbose mode https://gerrit.wikimedia.org/r/691167 TASK DETAIL https://phabricator.wikimedia.org/T282865 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread gerritbot
gerritbot added a comment. Change 691149 **merged** by jenkins-bot: [pywikibot/core@master] [IMPR] pagelanglinks() may skip links with empty titles. https://gerrit.wikimedia.org/r/691149 TASK DETAIL https://phabricator.wikimedia.org/T223157 EMAIL PREFERENCES https://phabricator

[Pywikipedia-bugs] [Maniphest] [Triaged] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread Xqt
Xqt triaged this task as "Medium" priority. TASK DETAIL https://phabricator.wikimedia.org/T282865 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, Thibaut120094 ___

[Pywikipedia-bugs] [Maniphest] [Created] T282865: interwiki.py fails with RuntimeError(dictionary changed)

2021-05-14 Thread Xqt
Xqt created this task. Xqt added a project: Pywikibot-interwiki.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION ERROR: RuntimeError: dictionary changed size during iteration Traceback (most recent call last): File ".\scripts\interwiki.py"

[Pywikipedia-bugs] [Maniphest] [Commented On] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread Xqt
Xqt added a comment. > So, the afwikibooks Main Page does not load the link to arwikibooks from Wikidata. > Instead, it uses the above empty interwiki link. (Maybe this is why the interwiki link is without a Page title?) > Having an empty interwiki link like the above is still a cus

[Pywikipedia-bugs] [Maniphest] [Updated] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T223157 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Meno25, Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Shalomori123, Lalamarie69, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread gerritbot
gerritbot added a comment. Change 691149 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [IMPR] pagelanglinks() may skip links with empty titles. https://gerrit.wikimedia.org/r/691149 TASK DETAIL https://phabricator.wikimedia.org/T223157 EMAIL PREF

[Pywikipedia-bugs] [Maniphest] [Commented On] T267742: commonscat.py: uncaught exception: InvalidTitle: '{{PAGENAME}}' contains illegal char(s) '{'

2021-05-14 Thread Meno25
Meno25 added a comment. In T267742#6620546 , @Meno25 wrote: > In T267742#6619409 , @Xqt wrote: > >> @Meno25: you are the perfect beta-tester 😉 > > Thank you ❤😊😊 Hi again, @X

[Pywikipedia-bugs] [Maniphest] [Commented On] T223157: missing _page_id attribute when loading a page

2021-05-14 Thread Meno25
Meno25 added a comment. Thank you, @Xqt for your comment. Could you, please, make the bot skip the page (and not crash) when it encounters such exceptions? As you know, this will save me a lot of time when running the bot on a whole namespace instead of having to restart the bot manually