User:GraphBot
| This user account is a bot operated by GalStar (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy. The bot is approved and currently active – the relevant request for approval can be seen here. Administrators: if this bot is malfunctioning or causing harm, please block it. |
| This bot runs on Wikimedia Toolforge. Administrators: If this bot needs to be blocked due to a malfunction, please remember to disable autoblocks so that other Toolforge bots are not affected. |
| This user is a bot | |
|---|---|
| (talk · contribs) | |
GraphBot fixing a broken graph | |
| Operator | GalStar (talk) |
| Approved? | Yes |
| Flagged? | Yes |
| Edit rate | Variable |
| Edit period | Continuous |
| Automatic or manual? | Automatic |
| Programming language | Rust |
| Exclusion compliant? | Yes |
| Source code published? | GitHub |
| Emergency shutoff-compliant? | Create User:GraphBot/Shutdown or c:User:GraphBot/Shutdown |
This bot is in production, please report all bugs/mistakes to the operator (User:GalStar) if possible.
To shut this bot down, create the page User:GraphBot/Shutdown, this will ensure it shuts down gracefully.
News
[edit]- Aug. 27 - Fixed the error reporting page; should be updating again.
- Aug. 27 - GraphBot now trims HTML comments out of parameters, now things should stop failing for no reason!
- Aug. 25 - Default chart type set as line, as per Graph Extension code.
- Aug. 25 - Pie chart support added!
- Aug. 24 - Switch to ToolsDB from sqlite3. This should make debugging easier.
Known issues
[edit]- Graph tags are unsupported
Upcoming features
[edit]Sorted by order of expected completion
- Faster graph error reporting (currently a delay of up to a minute can occur)
- Better error messages on the articles themselves
- Graph tag support
Invocation
[edit]At the moment the chart extension doesn't support every usecase that Template:Graph:Chart supports. As such, to mark a chart as ready for porting, you must instead change the template name to Template:PortGraph.
For example {{Graph:Chart|x=...|y=...}} becomes {{PortGraph|x=...|y=...}}.
Furthermore please ensure that the name attribute is present, this name will be the name of the files created on wikimedia commons.
The name attribute should not contain special characters.
Technical Details
[edit]GraphBot is written in rust, however parsing is done in python. The two parts communicate with each other via XML-RPC, with the python side being the server. At some point I'll finish porting the parser to rust, and the bot will then be built purely with rust. The bot stores the errors it encounters when porting a graph in the ToolsDB database that toolforge provides.
See Also
[edit]- c:User:GraphBot - more details
- Template:PortGraph
- Category:Pages using the Graph extension - Graphs to port
- Category:Graphs to Port - Graphs that have been queued for processing. If a graph remains in this queue for too long it might mean that there has been a failure converting the graph; User:GraphBot/Conversion Errors might be of assistance.