[Pywikipedia-bugs] [Maniphest] [Unassigned] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2021-06-18 Thread Mh-3110
Mh-3110 removed Mh-3110 as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2021-06-18 Thread Mh-3110
Mh-3110 added a comment. Unassigning myself from this ticket. I have submitted a patch that had been merged for the first part. The remaining request is not implementable at the current state of the software. Thanks TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T248374: prefer userscripts over scripts

2020-03-25 Thread Mh-3110
Mh-3110 added a comment. Thanks @Xqt Patch submitted TASK DETAIL https://phabricator.wikimedia.org/T248374 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Dvorapa, Mh-3110, Aklapper, pywikibot-bugs-list, Huji, Xqt, Alter-paule

[Pywikipedia-bugs] [Maniphest] [Commented On] T248374: prefer userscripts over scripts

2020-03-25 Thread Mh-3110
Mh-3110 added a comment. @Dvorapa , currently `user-config.py ` is ignored as listed in `.gitignore `. can I exclude it from the `.gitignore ` file to update it? Thanks TASK DETAIL https://phabricator.wikimedia.org/T248374 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Claimed] T248374: prefer userscripts over scripts

2020-03-25 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T248374 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Dvorapa, Mh-3110, Aklapper, pywikibot-bugs-list, Huji, Xqt, Chaytanya, Zkhalido, Viztor, DannyS712, Wenyi

[Pywikipedia-bugs] [Maniphest] [Commented On] T248374: prefer userscripts over scripts

2020-03-25 Thread Mh-3110
Mh-3110 added a comment. Ok @Dvorapa , I will work on this ticket. Thanks TASK DETAIL https://phabricator.wikimedia.org/T248374 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Dvorapa, Mh-3110, Aklapper, pywikibot-bugs-list, Huji

[Pywikipedia-bugs] [Maniphest] [Commented On] T248374: prefer userscripts over scripts

2020-03-24 Thread Mh-3110
Mh-3110 added a comment. Hi @Xqt , In `user-config.py ` it is mentioned that user_script_path is search in this given order: 1. scripts 2. scripts/maintenance 3. scripts/archive But in the `find_filename` function, there is no search in archives. Do we need to add this too

[Pywikipedia-bugs] [Maniphest] [Updated] T246874: simplify flickrripper.cleanUpTitle

2020-03-23 Thread Mh-3110
Mh-3110 edited projects, added Patch-For-Review; removed Patch-Needs-Improvement. TASK DETAIL https://phabricator.wikimedia.org/T246874 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Gabrielchl, Dvorapa, Mh-3110, Aklapper, pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T246874: simplify flickrripper.cleanUpTitle

2020-03-23 Thread Mh-3110
Mh-3110 added a comment. New patch submitted: https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/579867/ TASK DETAIL https://phabricator.wikimedia.org/T246874 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Gabrielchl, Dvorapa, Mh

[Pywikipedia-bugs] [Maniphest] [Commented On] T246874: simplify flickrripper.cleanUpTitle

2020-03-14 Thread Mh-3110
Mh-3110 added a comment. Thanks @Dvorapa, Will have a look at it Thanks TASK DETAIL https://phabricator.wikimedia.org/T246874 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Dvorapa, Mh-3110, Aklapper, pywikibot-bugs-list, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T246874: simplify flickrripper.cleanUpTitle

2020-03-14 Thread Mh-3110
Mh-3110 added a comment. @Xqt , As the output of all these regex statements is to clean the title, why not to use the Replace() function with the characters to replace in an array? Something like this: def cleanUpTitle(title): forbidden_characters

[Pywikipedia-bugs] [Maniphest] [Claimed] T246874: simplify flickrripper.cleanUpTitle

2020-03-13 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T246874 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, pywikibot-bugs-list, Xqt, Chaytanya, Zkhalido, Viztor, DannyS712, Wenyi, Kieubinhtb

[Pywikipedia-bugs] [Maniphest] [Commented On] T246874: simplify flickrripper.cleanUpTitle

2020-03-13 Thread Mh-3110
Mh-3110 added a comment. Hi @Xqt , I would like to work on this. Thanks TASK DETAIL https://phabricator.wikimedia.org/T246874 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, pywikibot-bugs-list, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T232245: Use Wikidata to check for category names instead of hardcoding in categoryToCheck

2019-10-19 Thread Mh-3110
Mh-3110 added a comment. Hi @Xqt , so if I get right, I will need to fetch categories names from wikidata, right? TASK DETAIL https://phabricator.wikimedia.org/T232245 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt

[Pywikipedia-bugs] [Maniphest] [Claimed] T232251: blockpageschecker.py - Fix spelling error in docstrings

2019-09-07 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T232251 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Aklapper, pywikibot-bugs-list, Mh-3110, Viztor, DannyS712, Wenyi, Kieubinhtb, Asad_Ali_Palijo, Lahi

[Pywikipedia-bugs] [Maniphest] [Edited] T232251: blockpageschecker.py - Fix spelling error in docstrings

2019-09-07 Thread Mh-3110
Mh-3110 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T232251 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Aklapper, pywikibot-bugs-list, Mh-3110, Viztor, DannyS712, Wenyi, Kieubinhtb, Asad_Ali_Palijo

[Pywikipedia-bugs] [Maniphest] [Created] T232251: blockpageschecker.py - Fix spelling error in docstrings

2019-09-07 Thread Mh-3110
Mh-3110 created this task. Mh-3110 added projects: Pywikibot, good first bug. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION In the blockpageschecker.py script, replace '...then the" by "then they" in docstrings. See attached sc

[Pywikipedia-bugs] [Maniphest] [Claimed] T232245: Use Wikidata to check for category names instead of hardcoding in categoryToCheck

2019-09-07 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T232245 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt, Aklapper, pywikibot-bugs-list, patilise, Viztor, DannyS712, Wenyi, Kieubinhtb, Asad_Ali_Palijo

[Pywikipedia-bugs] [Maniphest] [Commented On] T232245: Use Wikidata to check for category names instead of hardcoding in categoryToCheck

2019-09-07 Thread Mh-3110
Mh-3110 added a comment. Hi, I can start working on this. Thanks TASK DETAIL https://phabricator.wikimedia.org/T232245 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt, Aklapper, pywikibot-bugs-list, patilise, Viztor

[Pywikipedia-bugs] [Maniphest] [Unassigned] T221344: Change subst option in template.py

2019-07-16 Thread Mh-3110
Mh-3110 removed Mh-3110 as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T221344 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt, Dvorapa, Aklapper, Hercule, pywikibot-bugs-list, Viztor, DannyS712

[Pywikipedia-bugs] [Maniphest] [Commented On] T221344: Change subst option in template.py

2019-07-16 Thread Mh-3110
Mh-3110 added a comment. Hi, I will unassigned myself from this task for now. Will come back to it if i have any correct solution for this issue. Thanks TASK DETAIL https://phabricator.wikimedia.org/T221344 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Pywikipedia-bugs] [Maniphest] [Commented On] T221344: Change subst option in template.py

2019-07-02 Thread Mh-3110
Mh-3110 added a comment. @Dvorapa , yeah it's weird. None of those options works good. @Xqt you talked about this option "**-subst:safe**"" which is "**-subst with "safe**" I didn't see such a modifier on Wikipedia. Any documentation would help

[Pywikipedia-bugs] [Maniphest] [Commented On] T221344: Change subst option in template.py

2019-06-29 Thread Mh-3110
Mh-3110 added a comment. Hi @Hercule , I can reproduce the issue. However, I've tried to replace "subst" with "safesubst" with the "" tags applied but the result seems not correct. See attached: F29669627: Capture d’écran 2019-06-29 à 10.13.23.png

[Pywikipedia-bugs] [Maniphest] [Retitled] T221344: Change subst option in template.py

2019-06-24 Thread Mh-3110
Mh-3110 renamed this task from "Change subst method on template.py" to "Change subst option in template.py". TASK DETAIL https://phabricator.wikimedia.org/T221344 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: M

[Pywikipedia-bugs] [Maniphest] [Claimed] T221344: Change subst method on template.py

2019-06-21 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T221344 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt, Dvorapa, Aklapper, Hercule, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Kieubinhtb

[Pywikipedia-bugs] [Maniphest] [Commented On] T221344: Change subst method on template.py

2019-06-21 Thread Mh-3110
Mh-3110 added a comment. Hi, Will start working on this. Thanks TASK DETAIL https://phabricator.wikimedia.org/T221344 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Xqt, Dvorapa, Aklapper, Hercule, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Claimed] T220305: Implement -overwrite option in create_categories.py

2019-06-15 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T220305 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Multichill, pywikibot-bugs-list, Xqt, Aklapper, Viztor, DannyS712, Wenyi, Kieubinhtb

[Pywikipedia-bugs] [Maniphest] [Commented On] T220305: Implement -overwrite option in create_categories.py

2019-06-15 Thread Mh-3110
Mh-3110 added a comment. Hi, Will start working on this. Thanks TASK DETAIL https://phabricator.wikimedia.org/T220305 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Multichill, pywikibot-bugs-list, Xqt, Aklapper, Viztor

[Pywikipedia-bugs] [Maniphest] [Commented On] T222716: L10N of WelcomeBot is outdated

2019-06-15 Thread Mh-3110
Mh-3110 added a comment. Hi, After checking, it turns out that **ar** and** it** wikipedia don't have the WLE template. F29572454: Capture d’écran 2019-06-16 à 00.28.37.png <https://phabricator.wikimedia.org/F29572454> cc:@xqt TASK DETAIL https://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Edited] T222716: L10N of WelcomeBot is outdated

2019-06-12 Thread Mh-3110
Mh-3110 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T222716 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, pywikibot-bugs-list, Xqt, Viztor, DannyS712, Wenyi, Kieubinhtb

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-06-11 Thread Mh-3110
Mh-3110 added a comment. Thank you both @Dvorapa and @Xqt for your help! TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa

[Pywikipedia-bugs] [Maniphest] [Claimed] T222716: L10N of WelcomeBot is outdated

2019-06-04 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T222716 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, pywikibot-bugs-list, Xqt, Viztor, DannyS712, Wenyi, Kieubinhtb, Asad_Ali_Palijo, Lahi

[Pywikipedia-bugs] [Maniphest] [Commented On] T222716: L10N of WelcomeBot is outdated

2019-06-04 Thread Mh-3110
Mh-3110 added a comment. Hi @Xqt, I would like to start working on this task. Thanks TASK DETAIL https://phabricator.wikimedia.org/T222716 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, pywikibot-bugs-list, Xqt

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-31 Thread Mh-3110
Mh-3110 added a comment. Hi @Dvorapa , yeah my bad! I have just realized later after pushing. Thanks TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-31 Thread Mh-3110
Mh-3110 added a comment. Ok thank you @Dvorapa TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-31 Thread Mh-3110
Mh-3110 added a comment. @Dvorapa , what do you think about creating subtask for each case: -A subtask for the case of **{{bots}}, {{nobots}}** templates presence -A subtask for the case of **page doesn't not exist**( presence of illegal characters, page deleted after script launch)

[Pywikipedia-bugs] [Maniphest] [Edited] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-31 Thread Mh-3110
Mh-3110 updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa, pywikibot-bugs-list, Nicolas_NALLET

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-26 Thread Mh-3110
Mh-3110 added a comment. Thanks @Dvorapa . For SpamBlackList I don't know how to detect neither. For nobots: below is the fix: if targetpage.exists() and overwrite: if page.botMayEdit() == False: pywikibot.output( &#x

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-26 Thread Mh-3110
Mh-3110 added a comment. @Nicolas_NALLET , thanks. What I want to point out here is that, as no page is supposed to contains such forbidden characters, we will process the same way as if page does not exist. Same thing in case page has been deleted after script was launched. Fix will

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-22 Thread Mh-3110
Mh-3110 added a comment. Hi @Nicolas_NALLET , what do you define as "Illegal characters". Could you please provide some examples? Thanks TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreference

[Pywikipedia-bugs] [Maniphest] [Claimed] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-19 Thread Mh-3110
Mh-3110 claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa, pywikibot-bugs-list, Nicolas_NALLET, MattLongCT

[Pywikipedia-bugs] [Maniphest] [Commented On] T223816: Transferbot.py script could stop for many reasons, is it possible to just skip and continue ?

2019-05-19 Thread Mh-3110
Mh-3110 added a comment. @Hi, will be working on this task. Thanks TASK DETAIL https://phabricator.wikimedia.org/T223816 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mh-3110 Cc: Mh-3110, Aklapper, Liuxinyu970226, Framawiki, Xqt, Dvorapa

[Pywikipedia-bugs] [Maniphest] [Assigned] T120753: Opt out of Thanks feature

2019-03-25 Thread Mh-3110
Mh-3110 assigned this task to happy5214. TASK DETAIL https://phabricator.wikimedia.org/T120753 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: happy5214, Mh-3110 Cc: Mh-3110, happy5214, pywikibot-bugs-list, Framawiki, Jdforrester-WMF, gerritbot

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T120753: Opt out of Thanks feature

2019-03-25 Thread Mh-3110
Mh-3110 added subscribers: happy5214, Mh-3110. Mh-3110 added a comment. Hi @happy5214 I'm assigning this task to you as you're working on it. The task is still assigned to none. Thanks TASK DETAIL https://phabricator.wikimedia.org/T120753 EMAIL PREFERENC