But that's a web page. I'm looking for something I can call in a Python script as a function.
On Sep 18, 2025, at 3:32 PM, tohuuu th@tohuuu.de wrote:
You don't need a search to get the subpages - there's a special page[1] providing links to all subpages:
https://en.wikipedia.org/wiki/Special:PrefixIndex/Template:Did_you_know/
HTH florian
[1] https://en.wikipedia.org/wiki/Help:Special_page
Am 18.09.25 um 17:05 schrieb Roy Smith:
I want to find all the subpages of [[Template:Did you know nominations]] on enwiki. I think I want to use Site.search(), but I can't get my head around the docs. The pywiki doc page points me to https://www.mediawiki.org/wiki/API:Search which implies I need to be constructing a CirusSearch query string, and after that I'm stuck.
pywikibot mailing list -- pywikibot@lists.wikimedia.org mailto:pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/me... To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org mailto:pywikibot-leave@lists.wikimedia.org
pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/me... To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org