[00:00:59] (03Merged) 10jenkins-bot: pwb.py: Add ability to display similar scripts when misspelled [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495457 (https://phabricator.wikimedia.org/T217195) (owner: 10Nikhil) [00:02:31] (03CR) 10jenkins-bot: pwb.py: Add ability to display similar scripts when misspelled [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495457 (https://phabricator.wikimedia.org/T217195) (owner: 10Nikhil) [00:10:19] 10Pywikibot, 10Pywikibot-i18n: newitem.py -touch crashes on missing i18n - https://phabricator.wikimedia.org/T217948 (10Dvorapa) Yeah, this message seems missing in i18n [00:18:26] (03CR) 10Xqt: [C: 03+2] mysql: remove traces of 'oursql' dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495739 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [00:20:43] (03Merged) 10jenkins-bot: mysql: remove traces of 'oursql' dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495739 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [00:22:19] (03CR) 10jenkins-bot: mysql: remove traces of 'oursql' dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495739 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [00:32:47] (03CR) 10Xqt: [C: 04-1] tox: rename envs used by Jenkins (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:40:58] (03PS2) 10Xqt: tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:42:58] (03CR) 10jerkins-bot: [V: 04-1] tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:43:42] (03CR) 10Xqt: [V: 03+2 C: 03+2] tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:45:49] (03CR) 10jerkins-bot: [V: 04-1] tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:47:35] (03CR) 10Xqt: [C: 03+2] tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:48:55] (03PS3) 10Xqt: tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:49:57] (03CR) 10Xqt: [V: 03+2 C: 03+2] tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [00:51:41] (03CR) 10jenkins-bot: tox: rename envs used by Jenkins [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [04:35:58] 10Africa-Wikimedia-Developers, 10Commons, 10Wikimedia-Site-requests, 10Crosswiki, 10Patch-For-Review: Temporary switch crosswiki uploads off across all wikis - https://phabricator.wikimedia.org/T214230 (10Jeff_G) See also [[https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals/Archive/2016/08... [05:35:16] 10Pywikibot: Add script autocompletion support to pwb.py - https://phabricator.wikimedia.org/T175451 (10Nikhil07prakash) @Dvorapa Can I take up this task? [06:28:25] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MW-1.33-notes (1.33.0-wmf.20; 2019-03-05), 10Need-volunteer, and 2 others: Fix common typos in code - https://phabricator.wikimedia.org/T201491 (10Nikitrain) [07:41:21] (03CR) 10Hashar: "Can't you move pwb.py to use argparse instead? It even supports returning arguments it did not handle itself with:" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495479 (https://phabricator.wikimedia.org/T216825) (owner: 10Xqt) [07:42:03] (03CR) 10Hashar: "recheck" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495814 (owner: 10Hashar) [08:50:24] (03CR) 10Xqt: "> Can't you move pwb.py to use argparse instead? It even supports" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495479 (https://phabricator.wikimedia.org/T216825) (owner: 10Xqt) [09:06:50] (03CR) 10Xqt: "Bot operators may have their own scripts outside pagegenerators using mysql.py and this patch would be a breaking change. I am not very ha" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495740 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [09:17:51] 10Pywikibot: Add script autocompletion support to pwb.py - https://phabricator.wikimedia.org/T175451 (10Xqt) >>! In T175451#5016560, @Nikhil07prakash wrote: > @Dvorapa Can I take up this task? Sure. [09:41:43] 10Pywikibot, 10Pywikibot-i18n: newitem.py -touch crashes on missing i18n - https://phabricator.wikimedia.org/T217948 (10Xqt) Seem i18n submodule isn’t up-to-date. For git repository this could be made by git update submodule [09:43:13] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MW-1.33-notes (1.33.0-wmf.20; 2019-03-05), 10Need-volunteer, and 2 others: Fix common typos in code - https://phabricator.wikimedia.org/T201491 (10Nikitrain) [10:05:02] 10Pywikibot, 10Pywikibot-i18n: newitem.py -touch crashes on missing i18n - https://phabricator.wikimedia.org/T217948 (10Dvorapa) It works for me. I also translated the message to Czech. [10:11:53] 10Pywikibot, 10good first bug: Add script misspelling support to pwb.py - https://phabricator.wikimedia.org/T217195 (10Dvorapa) Hmm. It suggests not really close mathches. I would expect something like this: ` $ python pwb.py states_redirects The most similar script is: states_redirect.py ` or ` $ python pwb.... [10:21:07] (03CR) 10Dvorapa: "> > Can't you move pwb.py to use argparse instead? It even supports" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495479 (https://phabricator.wikimedia.org/T216825) (owner: 10Xqt) [10:27:02] (03CR) 10Dvorapa: "MySQLdb was deprecated in June 2018, better to wait a little longer" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495740 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [10:32:16] (03CR) 10Dvorapa: "> I am not" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495740 (https://phabricator.wikimedia.org/T89976) (owner: 10Hashar) [13:13:08] (03CR) 10Zhuyifei1999: "Honestly, argparse wouldn't be so much of a trouble if it were done ages ago, IMO" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/495479 (https://phabricator.wikimedia.org/T216825) (owner: 10Xqt) [15:25:25] (03PS6) 10Xqt: [bugfix] use irc.bot for SingleServerIRCBot [pywikibot/core] - 10https://gerrit.wikimedia.org/r/481338 (https://phabricator.wikimedia.org/T212627) [15:45:58] 10Pywikibot, 10good first bug: Add script misspelling support to pwb.py - https://phabricator.wikimedia.org/T217195 (10Xqt) Hm, I am also wondering about the last entry because we have following indicator of the "Gestalt Pattern Matching": | **script **| ** indicator function ** | states_redirect | 0.97 | sur... [15:57:58] 10Pywikibot, 10good first bug: Add script misspelling support to pwb.py - https://phabricator.wikimedia.org/T217195 (10Xqt) Ah, the ".py" is included for the matching which enhances that value for redirect.py: | **script **| ** indicator function ** | states_redirect | 0.97 | surnames_redirects | 0.85 | categ... [16:00:32] 10Pywikibot, 10good first bug: Add script misspelling support to pwb.py - https://phabricator.wikimedia.org/T217195 (10Xqt) btw I am just implementing to choose the right script from this list [17:25:03] 10Google-Code-in-2018, 10MediaWiki-General-or-Unknown, 10MW-1.33-notes (1.33.0-wmf.20; 2019-03-05), 10Need-volunteer, and 2 others: Fix common typos in code - https://phabricator.wikimedia.org/T201491 (10jeropbrenda) [20:13:42] 10Pywikibot, 10good first bug: Add script misspelling support to pwb.py - https://phabricator.wikimedia.org/T217195 (10Dvorapa) >>! In T217195#5018082, @Xqt wrote: > [] remove the ending .py before use the string matching It would be better, but also slower (?) Could be. > [] increase the cutoff value e.g. t... [20:25:01] 10Pywikibot, 10PAWS: Don't update pywikibot directly from master but from last published tag - https://phabricator.wikimedia.org/T217908 (10Chicocvenancio) @Xqt Any thoughts on what tag to consistently clone? We're currently going for `https://gerrit.wikimedia.org/r/pywikibot/core.git`. [20:26:42] 10Pywikibot, 10PAWS: Don't update pywikibot directly from master but from last published tag - https://phabricator.wikimedia.org/T217908 (10Chicocvenancio) It seems cloning from master is the recommend install method at https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation [21:30:00] (03PS1) 10Xqt: [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) [21:32:29] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) (owner: 10Xqt) [21:32:48] (03PS2) 10Xqt: [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) [21:35:11] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) (owner: 10Xqt) [21:44:53] (03PS3) 10Xqt: [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) [21:47:16] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) (owner: 10Xqt) [22:03:27] (03PS1) 10Xqt: [tests] Fix flake8-tuple T801 error [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496060 [22:07:27] (03PS4) 10Xqt: [IMPR] Let the operator choose misspelled script [pywikibot/core] - 10https://gerrit.wikimedia.org/r/496056 (https://phabricator.wikimedia.org/T217195) [22:18:00] 10Pywikibot, 10PAWS: Don't update pywikibot directly from master but from last published tag - https://phabricator.wikimedia.org/T217908 (10Xqt) >>! In T217908#5019053, @Chicocvenancio wrote: > It seems cloning from master is the recommend install method at https://www.mediawiki.org/wiki/Manual:Pywikibot/Insta...