[Pywikipedia-bugs] [Maniphest] [Commented On] T364275: Pywikibot does not continue after timeout

2024-05-05 Thread JAnD
JAnD added a comment. I noticed it for claimit.py (cswiki->WD, category with 120k members) and for (modified) harvest_template.py (cswikisource->WD, category with 10 k members) TASK DETAIL https://phabricator.wikimedia.org/T364275 EMAIL PREFERENCES https://phabricator.wikimed

[Pywikipedia-bugs] [Maniphest] [Created] T364275: Pywikibot does not continue after timeout

2024-05-05 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - run some script on computer which after certain time hibernate. - wait

[Pywikipedia-bugs] [Maniphest] [Commented On] T363724: cosmetic_changes should not add line between __NOTOC__ and header

2024-05-01 Thread JAnD
JAnD added a comment. On Wiktionary is common that the first item on page is header. Sometimes there is some template or __ magicword__ above it, but new line above first header is not good. TASK DETAIL https://phabricator.wikimedia.org/T363724 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Edited] T363724: cosmetic_changes should not add line between __NOTOC__ and header

2024-04-29 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T363724 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: mykhal, Aklapper, pywikibot-bugs-list, JAnD, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Created] T363724: cosmetic_changes should not add line between __NOTOC__ and header

2024-04-29 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-cosmetic-changes.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - have page with code __NOTOC__ == header

[Pywikipedia-bugs] [Maniphest] [Created] T345351: provide -ancientpages generator for pywikibot

2023-08-31 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-pagegenerators.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Would be useful to have `-ancientpages` parameter for pages from [[special:AncientPages]]. TASK DETAIL https

[Pywikipedia-bugs] [Maniphest] [Closed] T343467: provide way how to disable cosmetic_changes.py by inline parameter

2023-08-03 Thread JAnD
JAnD closed this task as "Resolved". JAnD claimed this task. JAnD added a comment. `-cosmeticchanges / cosmetic_changes.py` seem to be little inconsistent ;-) But it works. In T343467#9067386 <https://phabricator.wikimedia.org/T343467#9067386>, @mate

[Pywikipedia-bugs] [Maniphest] [Created] T343467: provide way how to disable cosmetic_changes.py by inline parameter

2023-08-03 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot, Pywikibot-cosmetic-changes.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION in user_config. py I should have `cosmetic_changes_enable['family'] = ('lang')` Now, when I want to disable

[Pywikipedia-bugs] [Maniphest] [Edited] T223066: claimit.py remove and rewrite option

2023-05-17 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223066 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper, pywikibot-bugs-list, JAnD, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck

[Pywikipedia-bugs] [Maniphest] [Created] T314912: import precision of date by harvest_template

2022-08-10 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION In T66503 <https://phabricator.wikimedia.org/T66503> was introduced possibility of importing dates. Now, we have article Foo a

[Pywikipedia-bugs] [Maniphest] [Created] T314889: harvest_template.py - missing documantation for -inverse parameter

2022-08-09 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot-Documentation, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION In T173238 <https://phabricator.wikimedia.org/T173238> was introduced `-inverse` parameter, but in documen

[Pywikipedia-bugs] [Maniphest] [Retitled] T311883: harvest_template.py should import item of redirect, not item of target page

2022-07-01 Thread JAnD
JAnD renamed this task from "harvest_template.py should import target of redirected page" to "harvest_template.py should import item of redirect, not item of target page". TASK DETAIL https://phabricator.wikimedia.org/T311883 EMAIL PREFERENCES https://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Created] T311883: harvest_template.py should import target of redirected page

2022-07-01 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **List of steps to reproduce** (step by step, including full links if applicable): - `pwb.py harvest_template

[Pywikipedia-bugs] [Maniphest] [Created] T310356: allow -confirm for harvest_template.py

2022-06-10 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Provide some type of `-confirm` parameter for harvest_template.py, so every import should be manually confirmed or rejected. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Created] T310355: Allow harvest_template.py to filter data

2022-06-10 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Sometimes I want to import only some types of values. In other scripts I can use `-grep:regex` but it seems not works properly

[Pywikipedia-bugs] [Maniphest] [Created] T309071: VisualEditor should not delete spaces in template formatting

2022-05-24 Thread JAnD
JAnD created this task. JAnD added projects: VisualEditor, Pywikibot-cosmetic-changes.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Some templates, mainly infoboxes are written with extra space at the beginning. {{Template

[Pywikipedia-bugs] [Maniphest] [Reopened] T86491: bots / pagegenerators do not follow pages moved without leaving a redirect

2022-05-06 Thread JAnD
JAnD reopened this task as "Open". JAnD added a comment. Again the same: `pwb.py newitem -namespace:0 -subpage:0 -newpages:1500 -lang:cs -maxlag:30 -pageage:21` Script terminated by exception: ERROR: Page [[cs:Vojtěch Hueber (1948 - 2012)]] doesn't exist. (N

[Pywikipedia-bugs] [Maniphest] [Updated] T307550: Terminal_interface: Old color format must not be mixed with new

2022-05-04 Thread JAnD
JAnD added a comment. Seems to be caused by https://phabricator.wikimedia.org/rPWBC719c4e0e15865c3fec3861ece3e15bea563bc860 TASK DETAIL https://phabricator.wikimedia.org/T307550 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper

[Pywikipedia-bugs] [Maniphest] [Created] T307550: Terminal_interface: Old color format must not be mixed with new

2022-05-04 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I wanted to do some edits in wikidata. My pywikibot was last updated today via SVN `pwb.py claimit -lang:cs -prefixindex:rozhledna P31

[Pywikipedia-bugs] [Maniphest] [Created] T306723: fixes.py -fix:HTML should not change inside

2022-04-22 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION pwb.py replace ... -fix:HTML should not change text inside https://cs.wikibooks.org/w/index.php?title=HTML/%C3%9Avod_do_CSS=prev=45697

[Pywikipedia-bugs] [Maniphest] [Commented On] T227550: interwikidata.py breaks if the page contains interwiki link that is a redirect

2021-07-14 Thread JAnD
JAnD added a comment. Aby progress? I:\pwb>pwb.py interwikidata -unconnectedpages -create -lang:zh-yue -maxlag:30 -merge ... >>> Molas, France <<< Interwiki [[en:Molas, France]] does not have an item WARNING: I:\pwb\pywikibot\s

[Pywikipedia-bugs] [Maniphest] [Created] T279596: pywikibot touch.py edits page with {{nobots}}

2021-04-07 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot, Pywikibot-touch.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION running bot on pages with {{nobots}} template causes visible edit of this page (no flag, visible on RC, change of size

[Pywikipedia-bugs] [Maniphest] [Commented On] T272911: Pywikibot takes too long to give up on contacting the target of an interwikilink

2021-03-15 Thread JAnD
JAnD added a comment. In T272911#6912011 <https://phabricator.wikimedia.org/T272911#6912011>, @Xqt wrote: > @JAnD: I checked your command line from T276660 <https://phabricator.wikimedia.org/T276660> and it worked for me as expected. Are you able to review my last com

[Pywikipedia-bugs] [Maniphest] [Commented On] T276662: solve_disambiguation: implement a -namespace: parameter for target page filtering

2021-03-06 Thread JAnD
JAnD added a comment. Why not simply `-namespace:` ? TASK DETAIL https://phabricator.wikimedia.org/T276662 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Xqt, Aklapper, JAnD, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T276662: solve_disambiguation ignores -namespace: parameter

2021-03-06 Thread JAnD
JAnD raised the priority of this task from "Low" to "Medium". TASK DETAIL https://phabricator.wikimedia.org/T276662 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Xqt, Aklapper, JAnD, pywikibot-bugs-list, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T276662: solve_disambiguation ignores -namespace: parameter

2021-03-06 Thread JAnD
JAnD added a comment. `-main` is not intuitive and not useful for other namespaces. e.g. on Wikisource when I want to work only in author namespace... TASK DETAIL https://phabricator.wikimedia.org/T276662 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Edited] T276660: solve_disambiguation.py Non-JSON response received from server

2021-03-06 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T276660 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper, JAnD, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor

[Pywikipedia-bugs] [Maniphest] [Created] T276662: solve_disambiguation ignores -namespace: parameter

2021-03-06 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-solve-disambiguation.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION When running solve_disambiguation, bot ignores -namespace parameter

[Pywikipedia-bugs] [Maniphest] [Created] T276660: solve_disambiguation.py Non-JSON response received from server

2021-03-06 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-solve-disambiguation.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION When running solve_disambiguation, bot sometimes find some archived page

[Pywikipedia-bugs] [Maniphest] [Edited] T273386: newitem.py has very long start

2021-01-31 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T273386 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi

[Pywikipedia-bugs] [Maniphest] [Created] T273386: newitem.py has very long start

2021-01-31 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION probably after solving T256676 <https://phabricator.wikimedia.org/T256676>

[Pywikipedia-bugs] [Maniphest] [Created] T265948: pywikibot can't write log file after size >1MB

2020-10-19 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Normally pywikibot writes logs for all scripts. `script-bot.log` When this log have more than ~1048000 b, this file is renamed to `sript-bot

[Pywikipedia-bugs] [Maniphest] [Commented On] T257899: replace by in pywikibot scripts

2020-07-14 Thread JAnD
JAnD added a comment. In T257899#6305512 <https://phabricator.wikimedia.org/T257899#6305512>, @Xqt wrote: > Pywikibot uses syntaxhighlight as alias for source. Really? I found this word only in 4 files. And what about exceptions in cosmetic_changes.py as stated abo

[Pywikipedia-bugs] [Maniphest] [Created] T257899: replace by in pywikibot scripts

2020-07-14 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot, SyntaxHighlight. Restricted Application added subscribers: pywikibot-bugs-list, jeblad, Aklapper. TASK DESCRIPTION is obsolete See T237267 <https://phabricator.wikimedia.org/T237267>, but in pywikibot are still only source keywo

[Pywikipedia-bugs] [Maniphest] [Edited] T256676: newitem.py should ignore pages with {{Delete}}

2020-06-30 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T256676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JAnD Cc: Xqt, Aklapper, mykhal, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Alter-paule

[Pywikipedia-bugs] [Maniphest] [Edited] T256676: newitem.py should ignore pages with {{Delete}}

2020-06-29 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T256676 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper, mykhal, JAnD, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor

[Pywikipedia-bugs] [Maniphest] [Created] T256676: newitem.py should ignore pages with {{Delete}}

2020-06-29 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION Running newitem.py also creates items for pages marked with {{delete}} (or local

[Pywikipedia-bugs] [Maniphest] [Commented On] T251503: AttributeError: module 'pywikibot.config2' has no attribute 'LS'

2020-04-30 Thread JAnD
JAnD added a comment. There is problem because my cosmetic_changes have additional sections (beautify infoboxes ,remove empty lines etc. ) which will lost after new instalation. But I am afraid, this is not only problem of one file, I update bot occasionally (about two months

[Pywikipedia-bugs] [Maniphest] [Updated] T251512: newitem.py fails: TypeError: string indices must be integers

2020-04-30 Thread JAnD
JAnD added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T251512 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: pywikibot-bugs-list, JAnD, Aklapper

[Pywikipedia-bugs] [Maniphest] [Created] T251503: AttributeError: module 'pywikibot.config2' has no attribute 'LS'

2020-04-30 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION After svn update of pywikibot from R12566 to R12921 i got this message AttributeError: module 'pywikibot.config2' has no attribute 'LS

[Pywikipedia-bugs] [Maniphest] [Triaged] T249588: pywikibot creates duplicates on WIkidata

2020-04-07 Thread JAnD
JAnD triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T249588 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Aklapper, JAnD, pywikibot-bugs-list, Zkhalido, darthmon_wmde, Viztor, Nandana, W

[Pywikipedia-bugs] [Maniphest] [Created] T249588: pywikibot creates duplicates on WIkidata

2020-04-07 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot-Wikidata, Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION I regullary run bot for creating new items on cs.wikisource. `pwb.py newitem1

[Pywikipedia-bugs] [Maniphest] [Created] T247063: cosmetic_changes.py breaks space entity

2020-03-06 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-cosmetic-changes.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION Because of T14752 <https://phabricator.wikimedia.org/T14752> (ins

[Pywikipedia-bugs] [Maniphest] [Created] T240154: Implement monolingualtext to harvest_template.py

2019-12-08 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Liuxinyu970226, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION Please, add support for monolinguale text to harvest_template.bot

[Pywikipedia-bugs] [Maniphest] [Closed] T69285: starting from the middle of the category is broken

2019-10-19 Thread JAnD
JAnD closed this task as "Resolved". JAnD claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T69285 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Dvorapa, XXN, JAnD, jayvdb, pywikibot-bugs-list, Zkhalido, Viztor,

[Pywikipedia-bugs] [Maniphest] [Edited] T235219: fixing_redirects.py should have revrite option

2019-10-18 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T235219 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: Dvorapa, Aklapper, JAnD, pywikibot-bugs-list, Zkhalido, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Commented On] T235219: fixing_redirects.py should have revrite option

2019-10-18 Thread JAnD
JAnD added a comment. In T235219#5564590 <https://phabricator.wikimedia.org/T235219#5564590>, @Dvorapa wrote: > Isn't this T123287 <https://phabricator.wikimedia.org/T123287>? T123287 <https://phabricator.wikimedia.org/T123287> does the requeested change, bu

[Pywikipedia-bugs] [Maniphest] [Commented On] T235219: fixing_redirects.py should have revrite option

2019-10-10 Thread JAnD
JAnD added a comment. In T235219#5564590 <https://phabricator.wikimedia.org/T235219#5564590>, @Dvorapa wrote: > Isn't this T123287 <https://phabricator.wikimedia.org/T123287>? No, I want [[Oldtitle]] -> [[Newtitle]] and possibility to change [[Oldtitle|F

[Pywikipedia-bugs] [Maniphest] [Created] T235219: fixing_redirects.py should have revrite option

2019-10-10 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-redirect.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION In page i have link [[Foo]] Foo is redirect to Bar Now: bot tries to fix

[Pywikipedia-bugs] [Maniphest] [Updated] T224283: claimit.py crashes after couple of pages "The statement has already a reference with hash"

2019-05-24 Thread JAnD
JAnD added a project: Pywikibot-Wikidata. Restricted Application added a subscriber: pywikibot-bugs-list. Restricted Application added a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T224283 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Edited] T223826: Create archive procedure for scripts

2019-05-19 Thread JAnD
JAnD updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223826 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JAnD Cc: JJMC89, Xqt, Aklapper, pywikibot-bugs-list, Multichill, Dvorapa, Viztor, DannyS712, Wenyi, Tbscho, MayS

[Pywikipedia-bugs] [Maniphest] [Created] T223066: claimit.py remove and rewrite option

2019-05-13 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot. TASK DESCRIPTION Sometimes some statement can be repalced by better. There should be possibility how

[Pywikipedia-bugs] [Maniphest] [Updated] T217948: newitem.py -touch crashes on missing i18n

2019-04-01 Thread JAnD
JAnD added a project: Pywikibot-Documentation. TASK DETAIL https://phabricator.wikimedia.org/T217948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JAnD Cc: gerritbot, Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, JAnD, Urstrulykkr, CucyNoiD

[Pywikipedia-bugs] [Maniphest] [Closed] T217948: newitem.py -touch crashes on missing i18n

2019-04-01 Thread JAnD
JAnD closed this task as "Resolved". JAnD added a comment. There is problem, that I18n files are not automatically updated by svn. While `pywikibot `is updated from https://github.com/wikimedia/pywikibot-core/trunk `i18n` must be updatet from https://github.com/wikimedia/pywi

[Pywikipedia-bugs] [Maniphest] [Commented On] T217948: newitem.py -touch crashes on missing i18n

2019-04-01 Thread JAnD
JAnD added a comment. OK, in nightly there is this file, but under [pywikibot], not under [newitem] or [touch] But when updating via SVN, no i18n is updated. TASK DETAIL https://phabricator.wikimedia.org/T217948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T217948: newitem.py -touch crashes on missing i18n

2019-04-01 Thread JAnD
JAnD added a comment. In T217948#5016812 <https://phabricator.wikimedia.org/T217948#5016812>, @Xqt wrote: > Seems i18n submodule isn’t up-to-date. For git repository this could be made by > > git update submodule Not everybody uses git. When i download nig

[Pywikipedia-bugs] [Maniphest] [Reopened] T217948: newitem.py -touch crashes on missing i18n

2019-04-01 Thread JAnD
JAnD reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T217948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, JAnD Cc: gerritbot, Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, JAnD, CucyNoiD, NebulousI

[Pywikipedia-bugs] [Maniphest] [Created] T217948: newitem.py -touch crashes on missing i18n

2019-03-09 Thread JAnD
JAnD created this task. JAnD added a project: Pywikibot-i18n. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION i:\pwb>pwb.py newitem -subpage:0 -newpages:1500 -lang:cs -touch -namespace:14 WARNING: .\scripts\newitem.py:

[Pywikipedia-bugs] [Maniphest] [Created] T217090: user-fixes.py behavior

2019-02-25 Thread JAnD
JAnD created this task. JAnD added projects: Pywikibot, Pywikibot-cosmetic-changes.py. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION when i run script with -fix:foo, where Foo is part of user-fixes.py, this script wants to change every page

[Pywikipedia-bugs] [Maniphest] [Updated] T205155: unconnected_pages generator doesn't seem to return all pages

2018-09-23 Thread JAnD
JAnD added a comment. maybe similar with T173293TASK DETAILhttps://phabricator.wikimedia.org/T205155EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Dalba, pywikibot-bugs-list, Pywikibot-Wikidata, Aklapper, Multichill, Wenyi, Tbscho, MayS

[Pywikipedia-bugs] [Maniphest] [Updated] T181999: Allow more filters in category.py

2018-09-07 Thread JAnD
JAnD added a subtask: T203763: category.py should use pagegenerators. TASK DETAILhttps://phabricator.wikimedia.org/T181999EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: XZise, JAnD, StudiesWorld, TerraCodes, Framawiki, Wesalius, Ladsgroup

[Pywikipedia-bugs] [Maniphest] [Updated] T203763: category.py should use pagegenerators

2018-09-07 Thread JAnD
JAnD added a parent task: T181999: Allow more filters in category.py. TASK DETAILhttps://phabricator.wikimedia.org/T203763EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: Aklapper, pywikibot-bugs-list, JAnD

[Pywikipedia-bugs] [Maniphest] [Created] T203763: category.py should use pagegenerators

2018-09-07 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-category.py.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONpwb.py category.py move -file:file.txt -from:oldcat -to:newcat ignores file.txt and works on whole categoryTASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Updated] T199042: touch.py makes empty edits on ProofreadPage pages

2018-08-25 Thread JAnD
JAnD added a comment. see also T113450TASK DETAILhttps://phabricator.wikimedia.org/T199042EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Mpaa, Tacsipacsi, Framawiki, Bodhisattwa, Ankry, Dvorapa, Aklapper, pywikibot-bugs-list, Billinghurst

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Remove disambiguation bracket in labels when creating new items for articles

2018-08-25 Thread JAnD
JAnD added a comment. alternativelly script should add whole name (with bracket) as aliasTASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Framawiki, matej_suchanek, Xqt, Aklapper, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Reopened] T113450: pywikibot-touch.py needs to operate in bot mode

2018-08-19 Thread JAnD
JAnD reopened this task as "Open".JAnD added a comment. I am afraid, this is not because bot is broken, but because database is broken. https://cs.wikisource.org/w/index.php?title=Index:Žák,_František_-_Ohlasy_žalmů.pdf=prev=168733 you can see, there was nothing changed in page, bu

[Pywikipedia-bugs] [Maniphest] [Commented On] T113450: pywikibot-touch.py needs to operate in bot mode

2018-08-17 Thread JAnD
JAnD added a comment. In T113450#4504748, @Billinghurst wrote: In T113450#4502922, @JAnD wrote: Bot still does not by default marks as botedit pwb.py touch -family:wikisource -start:Page:! https://cs.wikisource.org/w/index.php?limit=50=Speciální%3APříspěvky=user=JAnDbot===2018-08-14=2018-08-14

[Pywikipedia-bugs] [Maniphest] [Reopened] T113450: pywikibot-touch.py needs to operate in bot mode

2018-08-14 Thread JAnD
JAnD reopened this task as "Open".JAnD added a comment. Bot still does not by default marks as botedit pwb.py touch -family:wikisource -start:Page:! https://cs.wikisource.org/w/index.php?limit=50=Speciální%3APříspěvky=user=JAnDbot===2018-08-14=2018-08-14TASK D

[Pywikipedia-bugs] [Maniphest] [Commented On] T200399: Remove disambiguation bracket in labels when creating new items for articles

2018-08-06 Thread JAnD
JAnD added a comment. On de.wiktionary there are many categories like [[Category:Substantiv (Deutsch)]] or [[Category:Substantiv (Englisch)]]. These dismabiguations shoudl not be strippedTASK DETAILhttps://phabricator.wikimedia.org/T200399EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Edited] T196619: newitem.py ignores -namespace: parameter

2018-06-07 Thread JAnD
JAnD updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...in pagegenerators.py is written that for some scripts must be `-namespace` parameter before pagegenerator, but I have it and newitem.py is niot between these scripts.TASK DETAILhttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Created] T196619: newitem.py ignores -namespace: parameter

2018-06-07 Thread JAnD
JAnD created this task.JAnD added projects: Pywikibot-Wikidata, Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen I updated bot after long time, there is unexpected behavior: pwb.py newitem -namespace:0 -unconnectedpages:5000 creates

[Pywikipedia-bugs] [Maniphest] [Commented On] T76298: category handling standardizePageFooter

2018-02-04 Thread JAnD
JAnD added a comment. In T76298#3377347, @Dvorapa wrote: @JAnD I remember you worked with main cats once, maybe you would share the code I found the script, but the author of code was @Ladsgroup #!/usr/bin/python #coding: utf-8 import wikipedia, codecs, re site = wikipedia.getSite("c

[Pywikipedia-bugs] [Maniphest] [Created] T174994: newitem.py should autoclaim some items

2017-09-05 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONpwb.py newitem -pagegenerator -namespace:14 now only create new items, but without statements. And because of -namespace:14 all these items should be claimed

[Pywikipedia-bugs] [Maniphest] [Created] T173559: claimit.py should accept also pagenames

2017-08-18 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONNow I must run command pwb.py claimit -pagegenerator P123 Q456 e.g. pwb.py claimit -lang:en -subcatsr:20 P971 Q23236 so I must find correct Q first

[Pywikipedia-bugs] [Maniphest] [Created] T173293: pagegenerator -unconnectedpages skips items older than 3 years

2017-08-13 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONon page https://fr.wiktionary.org/wiki/Spécial:UnconnectedPages?limit=5000=14 there are currenty thousands of pages C:\pwb>pwb.py newitem -lang

[Pywikipedia-bugs] [Maniphest] [Updated] T172621: newitem.py should skip category redirects marked with template

2017-08-05 Thread JAnD
JAnD added a project: Pywikibot-Wikidata.JAnD updated the task description. (Show Details)Herald added subscribers: pywikibot-bugs-list, PokestarFan. CHANGES TO TASK DESCRIPTION...#REDIRECT , template {{Category redirect}} is used instead. https://www.wikidata.org/wiki/Q34380280 Bot should skip

[Pywikipedia-bugs] [Maniphest] [Created] T170987: claimit.py and harvest_template.py should not use project fallback

2017-07-18 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONBoth scripts uses P143 with source wiki. When selected procect have no item o Wikidata (or on https://www.wikidata.org/wiki/Wikidata:List_of_wikis/python

[Pywikipedia-bugs] [Maniphest] [Created] T170719: claimit.py and harvest_template.py should not reimport deleted values

2017-07-14 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONpwb.py harvest_template -template:Foo "Bar" P123 when is imported incorrect value and somebody deletes it on WIkidata only, on next run bot wil

[Pywikipedia-bugs] [Maniphest] [Commented On] T168575: interwikidata.py works weird

2017-07-10 Thread JAnD
JAnD added a comment. But is there problem when page is softredirect with interwiki https://uk.wiktionary.org/w/index.php?title=Категорія:Прикметники_за_мовами=""> >>> Категорія:Прикметники за мовами <<< WARNING: Interwiki [[ko:분류:한국어 형용사]] does not exist,

[Pywikipedia-bugs] [Maniphest] [Commented On] T64014: Add support for item without link to harvest_template

2017-07-07 Thread JAnD
JAnD added a comment. In T64014#3415342, @Xqt wrote: I checked your code subitted above and I found out that your local repository is 3 years behind the current framework release. Please update your bot first and verify whether this bug still exists. Yes, bug still exists, harvest_template.py

[Pywikipedia-bugs] [Maniphest] [Commented On] T64014: Add support for item without link to harvest_template

2017-07-07 Thread JAnD
JAnD added a comment. is there anybody who is able to merge this patch?TASK DETAILhttps://phabricator.wikimedia.org/T64014EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: valhallasw, Xqt, Ricordisamoa, Aklapper, JAnD, pywikibot-bugs-list, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Unassigned] T64014: Add support for item without link to harvest_template

2017-07-07 Thread JAnD
JAnD removed JAnD as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T64014EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: valhallasw, Xqt, Ricordisamoa, Aklapper, JAnD, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Commented On] T168575: interwikidata.py works weird

2017-06-29 Thread JAnD
JAnD added a comment. In T168575#3391604, @gerritbot wrote: Change 362235 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek): [pywikibot/core@master] [Bugfix] Fix interwiki conflict detection https://gerrit.wikimedia.org/r/362235 I t seems to be OKTASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Reopened] T168575: interwikidata.py works weird

2017-06-28 Thread JAnD
JAnD reopened this task as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T168575EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, JAnDCc: gerritbot, Aklapper, JAnD, pywikibot-bugs-list, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Mag

[Pywikipedia-bugs] [Maniphest] [Commented On] T168575: interwikidata.py works weird

2017-06-28 Thread JAnD
JAnD added a comment. Script still deletes intrwiki which is not yet imported >>> Kategorie:Anglická přísloví <<< WARNING: Interwiki [[eo:Kategorio:Proverbo (Angla)]] does not exist, skipping... WARNING: Interwiki [[eu:Kategoria:Atsotitzak ingelesez]] does not exist, s

[Pywikipedia-bugs] [Maniphest] [Commented On] T168575: interwikidata.py works weird

2017-06-28 Thread JAnD
JAnD added a comment. In T168575#3385530, @gerritbot wrote: Change 361829 merged by jenkins-bot: [pywikibot/core@master] [Bugfix] Use correct iterator method in interwikidata.py https://gerrit.wikimedia.org/r/361829 After this change script correctly creates new item, but still not clean

[Pywikipedia-bugs] [Maniphest] [Created] T168575: interwikidata.py works weird

2017-06-21 Thread JAnD
JAnD created this task.JAnD added projects: Pywikibot-interwiki.py, Pywikibot-Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION>pwb.py interwikidata -clean -family:wiktionary -start:Category:! -create Situaton 1a - page without interwiki does not exist on wikid

[Pywikipedia-bugs] [Maniphest] [Created] T168399: Cosmetic changes 'cleanUpSectionHeaders' disabling on jbo.wikt

2017-06-20 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-Cosmetic-changes.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONIs possible to disable cosmetic changes on headers (==Foo== -> == Foo ==) for jbo.wiktionary per this request? https://cs.wiktionary.org/w/index.

[Pywikipedia-bugs] [Maniphest] [Updated] T135304: Bot should always add CFD template when moving category

2017-05-24 Thread JAnD
JAnD added a comment. In T135304#3288800, @Dvorapa wrote: Maybe category move refuses to edit the redirect always, but sometimes the check if page is redirect fails somehow? (just a guess) Maybe the same problem like in T115091?TASK DETAILhttps://phabricator.wikimedia.org/T135304EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T162727: interwiki.py skips non-empty pages

2017-04-12 Thread JAnD
JAnD added a comment. Maybe related with T85676 ?TASK DETAILhttps://phabricator.wikimedia.org/T162727EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Aklapper, Thibaut120094, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis

[Pywikipedia-bugs] [Maniphest] [Created] T161483: solve_disambiguation crashes - With no default option it cannot be forced

2017-03-27 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-solve-disambiguation.py.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONC:\pwb>pwb.py solve_disambiguation -family:wikisource Autor:Karel_Bulíř Alternatives for [[cs:Autor:Karel Bulíř]] 1 - Autor:Karel Bulíř (1

[Pywikipedia-bugs] [Maniphest] [Created] T159307: noreferences.py should add under templates

2017-02-28 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhen in article exists === References == section with certain templates, script should add under this templates For cs.wiki there should be == Reference

[Pywikipedia-bugs] [Maniphest] [Edited] T123091: noreferences.py should add different header on different families

2017-02-28 Thread JAnD
JAnD edited the task description. (Show Details) EDIT DETAILS...When I change it manually in script and forgot to change back when changing project ...TASK DETAILhttps://phabricator.wikimedia.org/T123091EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc

[Pywikipedia-bugs] [Maniphest] [Edited] T156623: solve_disambiguation.py without pagegenerator crashes

2017-01-30 Thread JAnD
JAnD edited the task description. (Show Details) EDIT DETAILS`pwb.py solve_disambiguation `...TASK DETAILhttps://phabricator.wikimedia.org/T156623EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: Aklapper, JAnD, pywikibot-bugs-list, Dalba, droid

[Pywikipedia-bugs] [Maniphest] [Created] T156623: solve_disambiguation.py without pagegenerator crashes

2017-01-30 Thread JAnD
JAnD created this task.JAnD added projects: Pywikibot-solve-disambiguation.py, Pywikibot-compat-to-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION`pwb.py solve_disambiguation ` ERROR: Unable to execute script because no generator was defined. Use -help for further

[Pywikipedia-bugs] [Maniphest] [Updated] T153944: add_text.py - define where to add text

2016-12-22 Thread JAnD
JAnD added a comment. Related T153942TASK DETAILhttps://phabricator.wikimedia.org/T153944EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: Aklapper, JAnD, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, jayvdb, Dalba, Masti, Alchimista

[Pywikipedia-bugs] [Maniphest] [Created] T153944: add_text.py - define where to add text

2016-12-22 Thread JAnD
JAnD created this task.JAnD added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONNow add_text.py should add text only to the top or to the bottom of page. There should be more possibilities: -section:Foo Adds text as first or last line

[Pywikipedia-bugs] [Maniphest] [Updated] T153942: add_text.py should add text above {{DEFAULTSORT}}

2016-12-22 Thread JAnD
JAnD added a project: Pywikibot-core.Herald added a subscriber: pywikibot-bugs-list. TASK DETAILhttps://phabricator.wikimedia.org/T153942EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: pywikibot-bugs-list, JAnD, Aklapper, Magul, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Commented On] T153515: Unrecognized value for parameter "meta": wikibase.

2016-12-17 Thread JAnD
JAnD added a comment. I didn't updated bot and I got ths message tooTASK DETAILhttps://phabricator.wikimedia.org/T153515EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Aklapper, pywikibot-bugs-list, Octahedron80

[Pywikipedia-bugs] [Maniphest] [Commented On] T152996: newitem.py -touch crashes on locked pages

2016-12-13 Thread JAnD
JAnD added a comment. In T152996#2866783, @Magul wrote: Ok, and what do You think, should be expected behaviour here? Expected is skipping page rather than crash When touch.py finds locked page, simply skips: ... Page [[Šablona:Colosseum]] saved WARNING: API error protectedpage

  1   2   >