back end bot for CopyPatrol
- configured in the
[copypatrol]section url-ignore-list-title: title of the wiki page with the ignore listuser-ignore-list-title: title of the wiki page with the ignore list
- each site is configured in a
[copypatrol:<domain>]section. - keys:
enabled(boolean): site is enabled (default: false)namespaces(comma-separated list of namespace numbers): namesapces to monitor (default: 0)pagetriage-namespaces(comma-separated separated list of namespace numbers): mark in PageTriage
[copypatrol]
url-ignore-list-title = example-url-title
user-ignore-list-title = example-user-title
[copypatrol:en.wikipedia.org]
enabled = true
namespaces = 0,2,118
pagetriage-namespaces = 0,118
[copypatrol:es.wikipedia.org]
enabled = true
namespaces = 0,2
[copypatrol:fr.wikipedia.org]
enabled = falseCPB_ENV:devorprodCPB_DB_DATABASE: database name1CPB_DB_DEFAULT_CHARACTER_SET: database default character set1CPB_DB_DRIVERNAME: name of the database backend (corresponds to a module in sqlalchemy/databases or a third party plug-in), e.g.,mysql+pymysqlorsqliteCPB_DB_HOST: database host1CPB_DB_PASSWORD: database user password1CPB_DB_PORT: database port number1CPB_DB_USERNAME: database user1CPB_TCA_DOMAIN: domain of the TCA URLCPB_TCA_KEY: TCA keyCPB_TCA_WEBHOOK_DOMAIN: domain of the TCA webhook2CPB_TCA_WEBHOOK_SIGNING_SECRET: secret for TCA to sign the webhook payload2
see user-config.py
Wikipedia content used for tests is available under CC BY-SA. see Wikipedia:Copyrights for details. see the histories of Kommet, ihr Hirten and Basil Lee Whitener for attribution. content may be edited to remove markup and content available in a prior revision.
everything else in this repository is available under the MIT license.