[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread Bináris
No problem, I never used cosmetic changes, but will have a look. I just wanted to know if it is ready or I have to do it. ezt írta (időpont: 2023. febr. 27., H, 12:25): > Don’t see the fix but cosmetic changes only for that template. Where was > the problem here? > > Best > xqt > > Von meinem

[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread info
Don’t see the fix but cosmetic changes only for that template. Where was the problem here? Best xqt Von meinem iPhone gesendet > Am 27.02.2023 um 07:46 schrieb Bináris : > >  > Do we have a script or fix for breaking the cite templates like this? >

[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread John
I use mwparserfromhell for template parsing/formatting. On Mon, Feb 27, 2023 at 11:32 AM wrote: > I don’t know what the bot has to fix and I don’t remember for a script > fixing templates. > > There are only a few functions and methods parsing templates and one to > glue the parsing result.

[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread Bináris
Now we have an advanced template_regex in textlib, is it not good? Better mwparserfh or template_regex? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at

[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread info
Hi John,good point. Pywikibot also uses mwpfh or wikitextparser for template parsing. In some situations it can be more useful to use raw data of text parsers due to its hierarchical structure e. g. to repair templates with a lexer.xqtAm 28.02.2023 um 01:41 schrieb John :I use mwparserfromhell

[pywikibot] Re: Line breaking the cite templates

2023-02-27 Thread info
I don’t know what the bot has to fix and I don’t remember for a script fixing templates.There are only a few functions and methods parsing templates and one to glue the parsing result. Maybe this can help.Bestxqt Am 27.02.2023 um 13:15 schrieb Bináris :No problem, I never used cosmetic changes,

[Pywikipedia-bugs] [Maniphest] [Commented On] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread Xqt
Xqt added a comment. I wasn't able to reproduce it: Microsoft Windows [Version 10.0.17763.1577] (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten. D:\>cd pwb/git/core D:\pwb\GIT\core>pwb cosmetic_changes -page:"قالب:\w" -lang:arz ATTENTION: You can run

[Pywikipedia-bugs] [Maniphest] [Closed] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread Xqt
Xqt closed this task as "Resolved". Xqt assigned this task to matej_suchanek. TASK DETAIL https://phabricator.wikimedia.org/T330021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek, Xqt Cc: Xqt, Aklapper, alaa, Meno25,

[Pywikipedia-bugs] [Maniphest] [Commented On] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread Xqt
Xqt added a comment. Ah, I should test it with this version TASK DETAIL https://phabricator.wikimedia.org/T330021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Pywikibot-commits] [Gerrit] ...core[master]: [FIX] Avoid error when replacement includes backslash

2023-02-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892044 ) Change subject: [FIX] Avoid error when replacement includes backslash .. [FIX] Avoid error when replacement includes backslash

[Pywikipedia-bugs] [Maniphest] [Commented On] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread gerritbot
gerritbot added a comment. Change 892044 **merged** by jenkins-bot: [pywikibot/core@master] [FIX] Avoid error when replacement includes backslash https://gerrit.wikimedia.org/r/892044 TASK DETAIL https://phabricator.wikimedia.org/T330021 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T330021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matej_suchanek, Maintenance_bot Cc: Xqt, Aklapper, alaa, Meno25, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Triaged] T330021: cosmetic_changes.py: Exiting due to uncaught exception

2023-02-27 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T330021 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, alaa, Meno25, pywikibot-bugs-list, Themindcoder, Adamm71, Jersione, Hellket777,

[Pywikipedia-bugs] [Maniphest] [Closed] T327844: Add support for gurwiki to Pywikibot

2023-02-27 Thread Meno25
Meno25 claimed this task. Meno25 closed this task as "Resolved". Meno25 added a comment. Done in https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892411 TASK DETAIL https://phabricator.wikimedia.org/T327844 EMAIL PREFERENCES

[Pywikibot-commits] [Gerrit] ...core[master]: Add support for gucwiki

2023-02-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892525 ) Change subject: Add support for gucwiki .. Add support for gucwiki Bug: T326238 Change-Id:

[Pywikipedia-bugs] [Maniphest] [Commented On] T326238: Add support for gucwiki to Pywikibot

2023-02-27 Thread gerritbot
gerritbot added a comment. Change 892525 **merged** by jenkins-bot: [pywikibot/core@master] Add support for gucwiki https://gerrit.wikimedia.org/r/892525 TASK DETAIL https://phabricator.wikimedia.org/T326238 EMAIL PREFERENCES

[Pywikibot-commits] [Gerrit] ...core[master]: [L10N] Update languages_by_size

2023-02-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892411 ) Change subject: [L10N] Update languages_by_size .. [L10N] Update languages_by_size Change-Id:

[Pywikipedia-bugs] [Maniphest] [Closed] T320900: Add support for vewikimedia to Pywikibot

2023-02-27 Thread Zabe
Zabe closed this task as "Resolved". Zabe added a comment. already supported (probably because this wiki already existed in the past) TASK DETAIL https://phabricator.wikimedia.org/T320900 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe Cc:

[Pywikipedia-bugs] [Maniphest] [Created] T330708: Add support for azwikimedia to Pywikibot

2023-02-27 Thread Maintenance_bot
Maintenance_bot created this task. Maintenance_bot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T330708: Add support for azwikimedia to Pywikibot

2023-02-27 Thread MarcoAurelio
MarcoAurelio closed this task as a duplicate of T317121: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T330708 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: MarcoAurelio Cc: Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Merged] T317121: Add support for azwikimedia to Pywikibot

2023-02-27 Thread MarcoAurelio
MarcoAurelio merged a task: T330708: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T317121 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, MarcoAurelio Cc: Zabe, MarcoAurelio, Meno25, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T326238: Add support for gucwiki to Pywikibot

2023-02-27 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T326238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Zabe, Aklapper, Maintenance_bot, pywikibot-bugs-list, PotsdamLamb,

[Pywikipedia-bugs] [Maniphest] [Closed] T326238: Add support for gucwiki to Pywikibot

2023-02-27 Thread Meno25
Meno25 assigned this task to Zabe. Meno25 closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T326238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, Meno25 Cc: Zabe, Aklapper, Maintenance_bot, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Created] T330720: Add support for azwikimedia to Pywikibot

2023-02-27 Thread Maintenance_bot
Maintenance_bot created this task. Maintenance_bot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T330720: Add support for azwikimedia to Pywikibot

2023-02-27 Thread JJMC89
JJMC89 closed this task as a duplicate of T317121: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T330720 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Merged] T317121: Add support for azwikimedia to Pywikibot

2023-02-27 Thread JJMC89
JJMC89 merged a task: T330720: Add support for azwikimedia to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T317121 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, JJMC89 Cc: Zabe, MarcoAurelio, Meno25, Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Created] T330716: Add more fine-grained types for WikidataSPARQLPageGenerator

2023-02-27 Thread RPI2026F1
RPI2026F1 created this task. RPI2026F1 added projects: Pywikibot, Pywikibot-Wikidata. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Feature summary** (what you would like to be able to do and where): `pywikibot.pagegenerators` has a

[Pywikibot-commits] [Gerrit] ...core[master]: Revert "[IMPR] flush: log the traceback when exiting by exception"

2023-02-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/892415 ) Change subject: Revert "[IMPR] flush: log the traceback when exiting by exception" .. Revert "[IMPR] flush: log the traceback

[Pywikipedia-bugs] [Maniphest] [Updated] T328814: Login retrieves token from incorrect location

2023-02-27 Thread JJMC89
JJMC89 added a comment. Left some notes on P44892 TASK DETAIL https://phabricator.wikimedia.org/T328814 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, MarcoAurelio, Xqt, Aklapper, chiefgeek157, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T326238: Add support for gucwiki to Pywikibot

2023-02-27 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T326238 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Aklapper, Maintenance_bot, pywikibot-bugs-list, Themindcoder, Adamm71, Jersione,

[Pywikipedia-bugs] [Maniphest] [Commented On] T326238: Add support for gucwiki to Pywikibot

2023-02-27 Thread gerritbot
gerritbot added a comment. Change 892525 had a related patch set uploaded (by Zabe; author: Zabe): [pywikibot/core@master] Add support for gucwiki https://gerrit.wikimedia.org/r/892525 TASK DETAIL https://phabricator.wikimedia.org/T326238 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T328814: Login retrieves token from incorrect location

2023-02-27 Thread gerritbot
gerritbot added a comment. Change 892495 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [bugfix] Get a token for private wiki https://gerrit.wikimedia.org/r/892495 TASK DETAIL https://phabricator.wikimedia.org/T328814 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Updated] T328814: Login retrieves token from incorrect location

2023-02-27 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T328814 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: MarcoAurelio, Xqt, Aklapper, chiefgeek157, pywikibot-bugs-list, Themindcoder, Adamm71,

[Pywikipedia-bugs] [Maniphest] [Commented On] T328814: Login retrieves token from incorrect location

2023-02-27 Thread Xqt
Xqt added a comment. It is difficult to fix this issue without having a private wiki for tests. The patch above is more or less a guess using your api response. Are you able to test it? TASK DETAIL https://phabricator.wikimedia.org/T328814 EMAIL PREFERENCES