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
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
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.
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,
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
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?
>