[Pywikipedia-bugs] [Maniphest] [Commented On] T134495: Create a "my first Pywikibot bot" tutorial for Toolforge

2019-02-26 Thread Dvorapa
Dvorapa added a comment. @zhuyifei1999 Agree, python2, compat, 2.0, all these things should be eliminated by force from Pywikibot manuals (not to mention sometimes still occurring pywikipedia or trunk/rewrite?? Are we still at the beginning of the century?) TASK DETAIL https://phabricator

[Pywikipedia-bugs] [Maniphest] [Updated] T134495: Create a "my first Pywikibot bot" tutorial for Toolforge

2019-02-26 Thread zhuyifei1999
zhuyifei1999 added a comment. In T134495#4986303 , @Dvorapa wrote: > both pretty good both interior to the other in some aspects. > https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot - Should use `/shared

[Pywikipedia-bugs] [Maniphest] [Commented On] T134495: Create a "my first Pywikibot bot" tutorial for Toolforge

2019-02-26 Thread Dvorapa
Dvorapa added a comment. Currently there are two main, both pretty good: - https://wikitech.wikimedia.org/wiki/Help:Toolforge/Pywikibot - https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Pywikibot_tool and one more general will be here: https://wikitech.wikimedia.org/wi

[Pywikipedia-bugs] [Maniphest] [Updated] T118423: [clonable] Improve docstrings to the Pywikibot library

2019-02-26 Thread Dvorapa
Dvorapa added a project: good first bug. TASK DETAIL https://phabricator.wikimedia.org/T118423 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: D3r1ck01, Dvorapa, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Setian, Urstrulykkr, Wenyi

[Pywikipedia-bugs] [Maniphest] [Triaged] T217195: Add script misspelling support to pwb.py

2019-02-26 Thread Dvorapa
Dvorapa triaged this task as "Lowest" priority. TASK DETAIL https://phabricator.wikimedia.org/T217195 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Setian, Wenyi, Kieubinhtb, Asad_Ali_Palijo, Lahi

[Pywikipedia-bugs] [Maniphest] [Created] T217195: Add script misspelling support to pwb.py

2019-02-26 Thread Dvorapa
Dvorapa created this task. Dvorapa added projects: Pywikibot, good first bug. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION When one letter in `git` command is misspelled (and you turned this awesome feature on), it will try to find a correct git comm

[Pywikipedia-bugs] [Maniphest] [Updated] T166458: PWB should continue to execute scripts after launching generate_user_config

2019-02-26 Thread Dvorapa
Dvorapa added a project: good first bug. Dvorapa added a comment. Perhaps it could be loaded right after it was created? Or perhaps the original command should be stored and run after using subprocess.run() or something similar neutral? TASK DETAIL https://phabricator.wikimedia.org/T166458

[Pywikipedia-bugs] [Maniphest] [Updated] T187009: Pywikibot documentation build throws too many warnings to console (goal)

2019-02-26 Thread Dvorapa
Dvorapa added a project: good first bug. TASK DETAIL https://phabricator.wikimedia.org/T187009 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Dalba, Xqt, zhuyifei1999, Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Setia

[Pywikipedia-bugs] [Maniphest] [Commented On] T217107: archivebot resets the numbering to 1 even for non-year archives

2019-02-26 Thread Dvorapa
Dvorapa added a comment. I see, this behavior is not ideal. Especially on cswiki the archive title changed in past for some frequently used talk pages (also Pywikibot wasn't always the way they were archived), so archivebot should not rely on the archive title unchangeability. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Anomie
Anomie moved this task from Unsorted to Non-core-API stuff on the MediaWiki-API board. Anomie added a comment. > @Dvorapa added a project: #MediaWiki-API . What exactly do you think is a bug in the API here? Please supply the queries

[Pywikipedia-bugs] [Maniphest] [Updated] T217056: Make lonelypages.py run on testwiki

2019-02-26 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T217056 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, pywikibot-bugs-list, Aklapper, Dvorapa, Setian, CucyNoiD, NebulousIris, Wenyi,

[Pywikipedia-bugs] [Maniphest] [Commented On] T217056: Make lonelypages.py run on testwiki

2019-02-26 Thread gerritbot
gerritbot added a comment. Change 493081 had a related patch set uploaded (by Ananth subray; owner: Ananth subray): [pywikibot/core@master] Enabled test wiki and Kannada Wiki on lonelypages.py https://gerrit.wikimedia.org/r/493081 TASK DETAIL https://phabricator.wikimedia.org/T217056

[Pywikipedia-bugs] [Maniphest] [Claimed] T217054: Make all scripts run on testwiki without an error

2019-02-26 Thread Ananthsubray
Ananthsubray claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T217054 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ananthsubray Cc: Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Setian, Wenyi, Kieubinhtb, Asad_Ali_Palijo, Lahi, Sote

[Pywikipedia-bugs] [Maniphest] [Updated] T217107: archivebot resets the numbering to 1 even for non-year archives

2019-02-26 Thread matej_suchanek
matej_suchanek added a project: Regression. matej_suchanek added a comment. The bot decides to reset counter if the archive page with counter := 1 doesn't exist. If `/Archive1` had existed (even as redirect to `/Archive`), it would have been treated correctly (hopefully). Perhaps we shouldn't

[Pywikipedia-bugs] [Maniphest] [Commented On] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Dvorapa
Dvorapa added a comment. BTW I noticed similar behavior in #mediawiki-search when a redirect is deleted. It emerges as a red link redirect in in the search results for ages too. TASK DETAIL https://phabricator.wikimedia.org/T130911

[Pywikipedia-bugs] [Maniphest] [Updated] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Dvorapa
Dvorapa added a project: MediaWiki-API. TASK DETAIL https://phabricator.wikimedia.org/T130911 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dvorapa Cc: Dvorapa, jayvdb, gerritbot, Aklapper, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wen

[Pywikipedia-bugs] [Maniphest] [Commented On] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Dvorapa
Dvorapa added a comment. The redirect was just removed, ut the linktable seems to be never updated? TASK DETAIL https://phabricator.wikimedia.org/T130911 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dvorapa Cc: Dvorapa, jayvdb, gerritbot,

[Pywikipedia-bugs] [Maniphest] [Updated] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Dvorapa
Dvorapa added a project: MediaWiki-Redirects. TASK DETAIL https://phabricator.wikimedia.org/T130911 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dvorapa Cc: Dvorapa, jayvdb, gerritbot, Aklapper, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIri

[Pywikipedia-bugs] [Maniphest] [Updated] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Xqt
Xqt added a project: Upstream. TASK DETAIL https://phabricator.wikimedia.org/T130911 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: jayvdb, gerritbot, Aklapper, Xqt, pywikibot-bugs-list, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Maj

[Pywikipedia-bugs] [Maniphest] [Commented On] T130911: redirect.py fails for RuntimeError

2019-02-26 Thread Xqt
Xqt added a comment. and again: C:\pwb\GIT\core>pwb.py redirect.py do -simulate -lang:pa Retrieving double redirect special page... Retrieving 25 pages from wikipedia:pa. >>> ਅਨਾਤੋਲੇ ਫ਼ਰਾਂਸ <<< ERROR: Page [[pa:ਅਨਾਤੋਲੇ ਫ਼ਰਾਂਸ]] is a circular redirect. Skippi