Translations:Manual:Pywikibot/MySQL/19/en

If the desired script supports $pagegenerators, you can run your script with  generator. You will be prompted for the query if no query specified. The query should return two columns, page namespace and page title pairs from some table, e.g.: