Wikipedia talk:Database reports/Page count by namespace/Configuration

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

import settings[edit]

which module is required for your settings? can you please also comment the version numbers, that are used to install and run the required packages, please? (Mika77 (talk) 10:27, 9 January 2017 (UTC)).[reply]

Hi Mika77. I've pasted an example settings.py file below. As for wikitools, you can grab the latest version from <https://github.com/alexz-enwp/wikitools> and it should just work. Do you have a Tool Labs shell account? Updating most of these database reports requires access to the MariaDB database replicas on Tool Labs. --MZMcBride (talk) 23:55, 9 January 2017 (UTC)[reply]
username = 'BernsteinBot'
password = 'passwordgoeshere'
editsumm = '[[WP:BOT|Bot]]: Updated page.'
dbname = 'enwiki_p'
host = 'enwiki.labsdb'
rootpage = 'Wikipedia:Database reports/'
apiurl = 'https://en.wikipedia.org/w/api.php'

# Report details (multi-page)
blankcontent = '{{intentionally blank}}'
blanksumm = '[[WP:BOT|Bot]]: "Blanked" page.'