Category: Posts

All Posts

Wikidata references from Microdata

Recently some articles appeared on the English Wikipedia Signpost about Wikidata (1, 2, 3). Reading these articles, especially the second and third, pushed me to try to make a dent in the ‘problem’ of references on Wikidata. It turns out that this is actually not that hard!

By addshore December 29, 2015 8

Guzzle 6 retry middleware

Recently I switched from using Guzzle 5 to Guzzle 6 in my mediawiki-api-base PHP library. Everything went very smoothly except for there being no compatible version of the retry-subscriber that I had previously used. The subscriber has been replaced by retry middleware of which I was provided an extracted example. In this post I cover my implementation for the…

By addshore December 18, 2015 15

mediawiki-api-base 2.0.0

Roughly a year and a half ago I started writing a collection of PHP libraries to make interaction with the Mediawiki API and extension APIs super easy. The base library has just made it to 2.0.0! The new release really only uses the new version of the Guzzle HTTP library which makes use of PSR-7 and adds…

By addshore December 18, 2015 1

Reducing packet count to Statsd using Mediawiki

Recently I have been spending lots of time looking at the Wikimedia graphite set-up due to working on Grafana dashboards. In exchange for what some people had been doing for me I decided to take a quick look down the list of open Graphite tickets and found T116031. Sometimes it is great when such a small…

By addshore December 17, 2015 1

Myanmar coordinates on Wikidata by Lockal & Widar

This entry is part 2 of 15 in the series Wikidata Map

In a recent blog post I showed the amazing apparent effect that Wikimania’s location had on the coordinate location data in Mexico on Wikidata. A comment on the post by Finn Årup Nielsen pointed out a massive increase in data in the Myanmar (Burma). I had previously spotted this increase but chosen not to mention it in the post.…

By addshore November 22, 2015 3

MediaWiki CRAP – The worst of it

I don’t mean Mediawiki is crap! The Change Risk Anti-Patterns (CRAP) Index is calculated based on the cyclomatic complexity and code coverage of a unit of code. Complex code and untested code will have a higher CRAP index compared with simple well tested code. Over the last 2 years I have been tracking the CRAP index…

By addshore November 21, 2015 0

Impact of Wikimania Mexico 2015 on Wikidata

This entry is part 1 of 15 in the series Wikidata Map

Recently Wikidata celebrated its third birthday. For the occasion I ran the map generation script that I have talked about before again to see what had changed in the geo coordinate landscape of Wikidata! I found, well, Mexico blossomed! The image to the left is from June 2015, the right October 2015 and Wikimania was…

By addshore November 21, 2015 4

Orain backups

There are more Orain backups! More recent than 15th June 2015 as stated in my previous post! Dumps from August 2015 are all on-line right now! Many thanks to WikiTeam at archive.org. Simply search for “Orain subject:wikiteam” and you can find all of the dumps. Of course you can add the name of you wiki to…

By addshore November 3, 2015 3