Posts tagged: toolforge

Making it easier for Toolforge tools to surface replag

A number of tools hosted on Toolforge rely on the replicated MediaWiki databases, dubbed "Wiki Replicas". Every so often these servers have replication lag, which affects the data returned as well as the performance of the queries. And when this happens, users get confused and start reporting bugs that aren't…

MySQL connection pooling in Rust for Toolforge

Toolforge is a free cloud computing platform designed for and used by the Wikimedia movement to host various tools and bots. One of the coolest parts of using Toolforge is that you get access to redacted copies of the MediaWiki MySQL database replicas, aka the wiki replicas. (Note that whenever…

New Toolforge tool: steve-adder

New #Toolforge tool alert: https://steve-adder.toolforge.org/It lets you see what % of page views on Wikimedia wikis come from the specified browser range. This data is already available in dashboards, just this adds up multiple versions for you.More info: https://wikitech.wikimedia.org/wiki/Tool:Steve-adderWritten in #Rust using Rocket and the csv crate. I really appreciate…

Toolforge Rust tutorial

I wrote a tutorial on how to deploy a #Rust web application on Wikimedia's #Toolforge platform: https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Rust_toolIt uses #Rocket and demonstrates how to make queries against #Wikipedia's MariaDB replicas.