User:MusikBot/NPPChart

NPPChart

Populates historical data of New Pages Patrol backlog size for use in on-wiki charts. All data is pulled in from the s53463__actrial_p.npp_queue_size database on Toolforge, courtesy of Nettrom. This data is updated thrice daily, and the bot imports this data to the wiki just as frequently.

checkY Enabled

To disable, set /Run to anything other than true (link)

Errors are logged at /Error log

Configuration

Functionality can be tweaked at /config. Configuration data is in the form of JSON.

IMPORTANT:

  • Do not modify the config files unless you have a basic understanding of JSON
  • Read the documentation first.
  • Do not change the key values.
  • Keys should always be strings, e.g. use "option": true instead of option: true.
  • Strings should be wrapped in double-quotes, e.g. "option" instead of 'option'.
  • Boolean values must be either true or false with no quotations around it.
  • Numerical values must be integers with no quotations around it.
  • The last key/value pair within a hash or the value value in an array must not have a comma at the end of it
  • Essentially if the JSON editor interface says there are any syntax errors or warnings, you have done something wrong
Available parameters
Parameter Description
hourly_offset How many hours back to populate data for. For instance, 168 indicates a weeks' worth of data should be stored. The data is written to Wikipedia:New pages patrol/Backlog chart/hourly.
daily_offset How many days back to populate data for. For instance, 180 indicates a months' worth of data should be stored. The data is written to Wikipedia:New pages patrol/Backlog chart/daily.
weekly_offset How many weeks back to populate data for. Use "*" to store data for all weeks since August 29, 2017 (the first date data is available). The data is written to Wikipedia:New pages patrol/Backlog chart/weekly.
monthly_offset How many months back to populate data for. Use "*" to store data for all months since August 29, 2017 (the first date data is available). The data is written to Wikipedia:New pages patrol/Backlog chart/monthly.