[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 
https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/message/G6H6I2EIPJZ44TU33ADNDDPZNCRQK26C/
To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org


[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 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. Maybe this can help.Bestxqt Am 27.02.2023 um 13:15 schrieb 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?Bestxqt Von meinem iPhone gesendetAm 27.02.2023 um 07:46 schrieb Bináris :Do we have a script or fix for breaking the cite templates like this?https://hu.wikipedia.org/w/index.php?title=Cseh_K%C3%A1lm%C3%A1n=prev=25862570-- Bináris
___pywikibot mailing list -- pywikibot@lists.wikimedia.orgPublic 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.orgPublic 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.orgPublic 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


[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. Maybe this can help.
>
> Best
> xqt
>
> Am 27.02.2023 um 13:15 schrieb 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 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?
>>
>> https://hu.wikipedia.org/w/index.php?title=Cseh_K%C3%A1lm%C3%A1n=prev=25862570
>>
>> --
>> 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] 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, 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?Bestxqt Von meinem iPhone gesendetAm 27.02.2023 um 07:46 schrieb Bináris :Do we have a script or fix for breaking the cite templates like this?https://hu.wikipedia.org/w/index.php?title=Cseh_K%C3%A1lm%C3%A1n=prev=25862570-- Bináris
___pywikibot mailing list -- pywikibot@lists.wikimedia.orgPublic 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.orgPublic 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] 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 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?
>
> https://hu.wikipedia.org/w/index.php?title=Cseh_K%C3%A1lm%C3%A1n=prev=25862570
>
> --
> 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] 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?
> https://hu.wikipedia.org/w/index.php?title=Cseh_K%C3%A1lm%C3%A1n=prev=25862570
> 
> -- 
> 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