[05:41:57] 10Africa-Wikimedia-Developers, 10Outreach-Programs-Projects, 10Google-Summer-of-Code (2019): Obtain access/directions to use Elasticsearch API powering Wikimedia Bitergia - https://phabricator.wikimedia.org/T227397 (10Rammanojpotla) [05:49:36] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Xqt) >>! In T227386#5311165, @Dvorapa wrote: > Something similar happened to me lately, I think there could be some issue with TemplateMatchBuilder in textlib.py? Probably yes. I never trust them because there is a... [06:22:07] 10Africa-Wikimedia-Developers, 10Outreach-Programs-Projects, 10Google-Summer-of-Code (2019): Obtain access/directions to use Elasticsearch API powering Wikimedia Bitergia - https://phabricator.wikimedia.org/T227397 (10srishakatux) @Aklapper @mmodell It would be great if you can help answer @Rammanojpotla's q... [08:10:00] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Dvorapa) Okay, just tested, this is the issue: `name=template.py builder = textlib._MultiTemplateMatchBuilder(self.site) template_regex = builder.pattern(old) elif self.getOption... [08:29:29] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Dvorapa) >>! In T227386#5311328, @Xqt wrote: > I never trust them because there is a restriction on nested templates. Me too > Maybe we should use mwparserfromhell or @Dalba's wikitextparser and make it mandatory.... [10:01:26] (03CR) 10Gopavasanth: [C: 04-1] "> Uploaded patch set 1." [extensions/Cargo] - 10https://gerrit.wikimedia.org/r/518369 (https://phabricator.wikimedia.org/T213513) (owner: 10Ankita Mandal) [10:01:55] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Xqt) Probably `\{\{ *(Vorlage:|Template:|[mM][sS][gG]:)?Flughafen-Verkehrsaufkommen(?P\s*\|[^}]+?|) *}}` for the pattern where `.` is replaced with `[^}]` ? Nested templates aren't supported there, see... [10:38:47] (03PS1) 10Xqt: [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521025 [10:40:35] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521025 (owner: 10Xqt) [10:46:32] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Dvorapa) Maybe? Or better to use NESTED_TEMPLATE_REGEX as suggested? [11:09:30] (03Abandoned) 10Xqt: [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521025 (owner: 10Xqt) [11:24:50] (03PS1) 10Xqt: [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521026 [11:26:35] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521026 (owner: 10Xqt) [11:29:01] (03PS2) 10Xqt: [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521026 [11:30:43] (03CR) 10jerkins-bot: [V: 04-1] [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521026 (owner: 10Xqt) [11:42:38] 10Pywikibot, 10Pywikibot-tests, 10Upstream: flake8-docstring 1.3.0 cannot work with pydocstyle 4.0.0 - https://phabricator.wikimedia.org/T227403 (10Xqt) [11:42:48] 10Pywikibot, 10Pywikibot-tests, 10Upstream: flake8-docstring 1.3.0 cannot work with pydocstyle 4.0.0 - https://phabricator.wikimedia.org/T227403 (10Xqt) p:05Triage→03High [11:45:40] 10Pywikibot, 10Pywikibot-tests, 10Upstream: flake8-docstring 1.3.0 cannot work with pydocstyle 4.0.0 - https://phabricator.wikimedia.org/T227403 (10Xqt) Upstream issue: https://gitlab.com/pycqa/flake8-docstrings/issues/36 [11:52:09] (03PS1) 10Xqt: [bugfix] Do not use pydocstyle 4.0.0 until upstream issue is solved [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521027 (https://phabricator.wikimedia.org/T227403) [11:53:02] (03PS3) 10Xqt: [IMPR] Simplify templateRegex in _MultiTemplateMatchBuilder [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521026 [12:16:27] (03PS1) 10Xqt: [tests] update pydocstyle and flake8-docstring dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521028 (https://phabricator.wikimedia.org/T227403) [12:17:05] (03CR) 10Xqt: "Can be merged if upstream issue is solved" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521028 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [12:18:20] (03CR) 10jerkins-bot: [V: 04-1] [tests] update pydocstyle and flake8-docstring dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521028 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [12:20:24] (03PS2) 10Xqt: [tests] update pydocstyle and flake8-docstring dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521028 (https://phabricator.wikimedia.org/T227403) [12:22:11] (03CR) 10jerkins-bot: [V: 04-1] [tests] update pydocstyle and flake8-docstring dependency [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521028 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [15:26:10] (03CR) 10Dalba: [tests] Skip TestPwb.test_one_similar_script with Python 2 (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) (owner: 10Xqt) [15:45:22] (03CR) 10Dalba: feat(APISite.purgepages): raise error on invalid arguments (033 comments) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/517604 (https://phabricator.wikimedia.org/T225993) (owner: 10Dalba) [15:54:17] 10Pywikibot: setup.py sdist gives different egg-info for pypi package - https://phabricator.wikimedia.org/T227409 (10Xqt) [15:55:00] 10Pywikibot: setup.py sdist gives different egg-info for pypi package - https://phabricator.wikimedia.org/T227409 (10Xqt) [15:55:03] 10Pywikibot, 10Pywikibot-Announce, 10Pywikibot-RfCs: Drop support of python 2.7 - https://phabricator.wikimedia.org/T213287 (10Xqt) [16:23:35] (03CR) 10Xqt: feat(APISite.purgepages): raise error on invalid arguments (033 comments) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/517604 (https://phabricator.wikimedia.org/T225993) (owner: 10Dalba) [16:31:57] (03PS2) 10Xqt: [tests] Skip TestPwb.test_one_similar_script with Python 2 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) [16:32:34] (03CR) 10Xqt: [tests] Skip TestPwb.test_one_similar_script with Python 2 (031 comment) [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) (owner: 10Xqt) [16:41:36] 10Pywikibot: template.py fails removing a template - https://phabricator.wikimedia.org/T227386 (10Xqt) >>! In T227386#5311416, @Dvorapa wrote: > Maybe? Or better to use NESTED_TEMPLATE_REGEX as suggested? Replacing `.` with `[^}]` causes template_bot_tests.py to fail. Seems there is not a very trivial solution. [16:43:02] (03CR) 10Dalba: [C: 03+2] "> Patch Set 1:" [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) (owner: 10Xqt) [16:52:58] (03CR) 10Dalba: [C: 03+2] [bugfix] Do not use pydocstyle 4.0.0 until upstream issue is solved [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521027 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [16:55:19] (03Merged) 10jenkins-bot: [bugfix] Do not use pydocstyle 4.0.0 until upstream issue is solved [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521027 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [16:55:28] (03Merged) 10jenkins-bot: [tests] Skip TestPwb.test_one_similar_script with Python 2 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) (owner: 10Xqt) [16:56:51] (03CR) 10jenkins-bot: [bugfix] Do not use pydocstyle 4.0.0 until upstream issue is solved [pywikibot/core] - 10https://gerrit.wikimedia.org/r/521027 (https://phabricator.wikimedia.org/T227403) (owner: 10Xqt) [16:58:14] (03CR) 10jenkins-bot: [tests] Skip TestPwb.test_one_similar_script with Python 2 [pywikibot/core] - 10https://gerrit.wikimedia.org/r/512524 (https://phabricator.wikimedia.org/T224364) (owner: 10Xqt) [16:58:53] 10Pywikibot, 10Patch-For-Review, 10Pywikibot-tests: TestPwb.test_one_similar_script: io.StringIO is empty in Python 2.7 - https://phabricator.wikimedia.org/T224364 (10Xqt) p:05High→03Lowest [16:59:08] 10Pywikibot, 10Patch-For-Review, 10Pywikibot-tests, 10Upstream: flake8-docstring 1.3.0 cannot work with pydocstyle 4.0.0 - https://phabricator.wikimedia.org/T227403 (10Xqt) p:05High→03Lowest [21:36:41] (03CR) 10jenkins-bot: Localisation updates from https://translatewiki.net. [extensions/MassMessage] - 10https://gerrit.wikimedia.org/r/521130 (owner: 10L10n-bot) [22:51:26] (03PS1) 10Ankita Mandal: Added CargoQueryAutocompleteAPI and ext.cargo.query.js. Bug: T213513 [extensions/Cargo] - 10https://gerrit.wikimedia.org/r/521184 (https://phabricator.wikimedia.org/T213513)