Page MenuHomePhabricator

Use textlib.extract_templates_and_param or Page.templatesWithParams in commons_information.py
Open, MediumPublic

Description

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.