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.

xqt

Am 28.02.2023 um 01:41 schrieb John <phoenixoverr...@gmail.com>:


I use mwparserfromhell for template parsing/formatting.

On Mon, Feb 27, 2023 at 11:32 AM <i...@gno.de> 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. Maybe this can help.

Best
xqt 

Am 27.02.2023 um 13:15 schrieb Bináris <wikipo...@gmail.com>:


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.

<i...@gno.de> 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 iPhone gesendet

Am 27.02.2023 um 07:46 schrieb Bináris <wikipo...@gmail.com>:


Do we have a script or fix for breaking the cite templates like this?

--
Bináris
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/OOM7BSTDID2GVCFHIWGGAWZASMXFRELL/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/4KCH7E53S355WHGIOHQUHIL5HGDUA7RN/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org


--
Bináris
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/CDH5RKZVH5QCQA5SYUIKIMPTXKPJI34T/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/X67DYMLIL5ZXT4ZHNYQDEX7NL4Z7OLAN/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/A4FP3DXSPUMZSEVHHZJUSTAB2X4GAM4F/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
Public archives at 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/ZZ5ZCSLFPWI6XX6ORUCFACFXNSCAWBBR/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

Reply via email to