Investigating T240312: Error with curly braces in selector (eg when using subquery or UNION), I came down to pywikibot:
Reproduction steps:
import pywikibot def main(): site = pywikibot.Site(url="https://www.wikidata.org/wiki/") page_title = "User:Jean-Frédéric/T240312" page = pywikibot.Page(site, page_title) all_templates_with_params = page.templatesWithParams() print(all_templates_with_params) if __name__ == "__main__": main()
Expected results:
[(Page('Template:Property dashboard'), ['grouping_property=P131'<snip>]), (Page('Template:Property dashboard end'), [])]
Actual results:
[(Page('Template:Property dashboard end'), [])]