OK, I digged into the code, and found removeDisabledParts().

Bináris <wikipo...@gmail.com> ezt írta (időpont: 2023. jan. 30., H, 23:09):

> Given a piece of text, I want to exclude <!-- text parts --> when
> searching a template. Is there a ready-to-use, nice, canonical method for
> it?
>
> --
> Bináris
>


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

Reply via email to