I am writing this as finding the solution to the problem that I was having while mocking a Writer in Java using EasyMock took far too long. Hopefully others having the same issue will stumble across this blog post.
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 … Read more
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 … Read more
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 … Read more
Wikimedia Grafana graphs of Wikidata profiling information
I recently discovered the Wikimedia Grafana instance. After poking it for a little while here are some slightly interesting graphs that I managed to extract.
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 a special page on a MediaWiki site easy, and also easily enable things such as sorting.
The code interacts with the database and gets a ResultWrapper object, and the Pager uses the numRows(), seek() and fetchObject() methods, all of which I thought would be incredibly simple to mock.
Removing use of Mediawiki’s API ‘rawmode’ in Wikibase
Rawmode was a boolean value used to determine if an API result formatter in Mediawiki needed extra metadata in order to correctly format the result output. The main use of said metadata was in the XML output of the Mediawiki API. How hard can removing it be? This is the story of the struggle to … Read more
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 … Read more
Letting a Joomla component assign View Levels to Users
So I recently came across an issue with my speedy rewrite of the component that is used to power the SWA website. Here is a quick summary of the issue and how I went about fixing it! The rewrite maintains information about users and members in tables that it has created. A User, in Joomla … Read more
Review of the big Interwiki link migration
Wikidata
was launched on 30 October 2012 and was the first new project of the Wikimedia Foundation since 2006. The first phase enabled items to be created and filled with basic information: a label – a name or title, aliases – alternative terms for the label, a description, and links to articles about the topic in all the various language editions of Wikipedia.
On 14 January 2013, the Hungarian Wikipedia became the first to enable the provision of interlanguage links via Wikidata. This functionality was slowly enabled on more sites until it was enabled on all Wikipedias on the 6th March.
The side bar that these interlanguage links are used to generate can be seen to the right.