Wikipedia:RedWarn/Documentation/RedWarn Tools
The RedWarn team is currently in the process of renaming to Ultraviolet. Some documentation pages are still in the process of being written/transferred. Read the announcement here. |
RedWarn Tools are a set of statistics tools powered by Wikimedia Toolforge. You do not need permission to use it, and feel free to add it to your script or tool. You do not need to have the RedWarn userscript enabled to use these tools. They are not hosted on the English Wikipedia and are completely standalone pages.
Reverts per minute (RPM) analysis
editGUI
editRedWarn Tools RPM Analysis can provide graphed data for the reverts per minute data for the past 24 hours. This data is automatically recorded every 10 minutes.
Links:
- https://redwarn.toolforge.org/tools/rpm - All data for the past 24 hours
- https://redwarn.toolforge.org/tools/rpm/#Last90Mins - Data for the last 90 mins
- https://redwarn.toolforge.org/tools/rpm/#Hourly - 24 Hour Average, and the average RPM for the past 60 mins.
API
editThis API provides RPM values for both reverts via MediaWiki's undo feature and the rollback feature on the English Wikipedia over the past 24 hours, measured automatically every 10 minutes. A RPM value can be used as a rough approximation for the number of vandalism reverts, and consequently, the amount of vandalism at any given time. It is calculated by getting the last 100 reverts (50 from undo, and 50 from rollback) then working out how many have occurred on average in a minute.
GET: https://redwarn.toolforge.org/tools/rpmInfo.php
Example result:
[{
"timestamp":"1593389425",
"undoRPM":"4.5",
"rollbackRPM":"0.63",
"totalRPM":"5.13"
}, ...]
CDN
editRedWarn Tools mirrors a number of common open source scripts and resources in a Wikimedia privacy policy friendly way. A list of scripts is below.