Use textlib.extract_templates_and_params() function or Page.templatesWithParams() method in commons_information.py to ensure a common interface. templatesWithParams calls extract_templates_and_params which is able to dispatch to the installed package which can be either mwparserfromhell or wikitextparser.
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T229723 Insufficient wikitext regex parser functions in textlib (tracking) | |||
| Resolved | Xqt | T110529 template.py does not recognize nested templates | |||
| Declined | None | T106765 migrate textlib parser functionality to mwparserfromhell | |||
| Open | None | T279005 Use textlib.extract_templates_and_param or Page.templatesWithParams in commons_information.py |