The query has to be a working MySQL/MariaDB query. Simply put it in a .sql file in the right subfolder of /query.
For each query, a config file is needed. The config file will have to be:
The structure of the file is:
[query]
project = itwiki
frequency = default
author = unknown
license = CC-BY-SA
link = WP:EGO/E
The project field represents the database.
The frequency field will be used to run the query. Actual valid values are:
The author field asks for the author name. If the query is taken from the wiki itself and is difficult or impossible to determine the author, set to unknown
or avoid putting this field.
The license field asks for the query license. If the query is taken from the wiki itself the license will be CC-BY-SA
. Suggested values are:
The link field asks for the page title of the corresponding list on Wikipedia. This field is optional.