Posts tagged: mediawiki

What it takes to parse MediaWiki page titles...in Rust

In the UseModWiki days, Wikipedia page titles were "CamelCase" and automatically linked (see CamelCase and Wikipedia). MediaWiki on the other hand uses the famous [[bracketed links]], aka "free links". For most uses, page titles are the primary identifier of a page, whether it's in URLs for external consumption or [[Page…

Wiki-leak

Today's #MediaWiki security release fixes a pretty bad wiki-leak: https://w.wiki/4ZAeThere's a pretty simple mitigation that can be applied via configuration in LocalSettings.php if you can't patch immediately.Fixes are out for Debian packages, the "official" Docker image, and should land in my Ubuntu PPA for focal/bionic shortly...

Generating Rust types for MediaWiki API responses

I just released version 0.2.0 of the mwapi_responses crate. It automatically generates Rust types based on the query parameters specified for use in MediaWiki API requests. If you're not familiar with the MediaWiki API, I suggest you play around with the API sandbox. It is highly dynamic, with the user…

That time I broke Wikipedia, but only for vandals

As one of the top contributors to MediaWiki, the free wiki engine that powers Wikipedia, I'm often asked how I got started. To celebrate Wikipedia's 20th birthday, here's that unfortuante story. In late 2012, I was a bored college student who was spending most of his time editing Wikipedia. I…

Wikimedia CI now supports Rust

Wikimedia CI now supports #rustlang projects! https://phabricator.wikimedia.org/T256827#6396091It's simple for now: it'll run rustfmt, clippy, tests and then generate/publish coverage reports and documentation post-merge. More features/checks can be added as people need and request :)