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

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

Downfall of Orain

So, from where I am sat right now, it looks like Orain is dead. It could just be me but Orain has been struggling with issues for a while now and the events that took place last week were basically the final nail in the coffin. As final nails in coffins go, I don’t see…

By addshore September 23, 2015 7

Un-deleting 500,000 Wikidata items

Since some time in January of this year I have been on a mission to un-delete all Wikidata items that were merged into other items before the redirect functionality of Wikidata existed. Finally I am done (well nearly). This is the short story… Reasoning Earlier this year I pointed out the importance of redirects on…

By addshore September 7, 2015 1

Misled by PHPUnit at() method

So it turns out the at() method doesn’t quite do what I had initially thought…. I have recently been working on some tests for the new Newsletter extension for Mediawiki, specifically to test the NewslettterTablePager class. This thing extends the TablePager class in Mediawiki which is designed to make displaying information from a database table on…

By addshore August 29, 2015 6

Barack Obama GeneaWiki, 1 year later

GeneaWiki is a tool created by Magnus Manske to visualize the family of a person using data pulled from Wikidata. I used the GeneaWiki tool as an example use of Wikidata in a presentation a year ago (2014) and below you can see the screenshot I took from it. It shows 10 people in Barack Obamas…

By addshore July 1, 2015 2