Sam's notebook

MediaWiki with two database servers April 18th, 2018, 5PM

Programming

I’ve been trying to replicate locally a bug with MediaWiki’s GlobalPreferences extension. The bug is about the increased number of database reads that happen when the extension is loaded, and the increase happens not on the database table that stores the global preferences (as might be expected) but rather on the ‘local’ tables. However, locally […]

[No comments] [Keywords: , , , , , , ] [Permanent link]

New MediaWiki extension: AutoCategoriseUploads April 6th, 2018, 7AM

Open content Programming

New MediaWiki extension: AutoCategoriseUploads. It “automatically adds categories to new file uploads based on keyword metadata found in the file. The following metadata types are supported: XMP (many file types, including JPG, PNG, PDF, etc.); ITCP (JPG); ID3 (MP3)”. Unfortunately there’s no code yet in the repository, so there’s nothing to test. Sounds interesting though.

[No comments] [Keywords: , , , ] [Permanent link]

Extension:DocBookExport February 21st, 2018, 9AM

Open content

There’s a new extension recently been added to mediawiki.org, called DocBookExport. It provides a system of defining a book’s structure (a set of pages and some title and other metadata) and then pipes the pages’ HTML through Pandoc and out into DocBook format, from where it can be turned into PDF or just downloaded as-is. […]

[No comments] [Keywords: , , , , , , ] [Permanent link]

CFB Folder 1 done November 26th, 2017, 9AM

Open content

The first folder of the C.F. Barker Archives’ material is done: finished scanning and initial entry into ArchivesWiki. This is my attempt to use MediaWiki as a digital archive platform for physical records (and digitally-created ones, although they don’t feature as much in the physical folders). It’s reasonably satisfactory so far, although there’s lots that’s […]

[No comments] [Keywords: , , , , ] [Permanent link]

MediaWiki Documentation Day 2017 May 12th, 2017, 4PM

Programming

It’s MediaWiki Documentation Day 2017! So I’ve been documenting a couple of things, and I’ve added a bit to the Xtools manual. The latter is actually really useful, not so much from the end-user’s point of view because I dare say they’ll never read it, but I always like writing documentation before coding. It makes […]

[No comments] [Keywords: , , , , , , ] [Permanent link]

Editing MediaWiki pages in an external editor February 21st, 2017, 2PM

Programming

I’ve been working on a MediaWiki gadget lately, for editing Wikisource authors’ metadata without leaving the author page. It’s fun working with and learning more about OOjs-UI, but it’s also a pain because gadget code is kept in Javascript pages in the MediaWiki namespace, and so every single time you want to change something it’s […]

[No comments] [Keywords: , , , ] [Permanent link]

What goes Where on the Web May 7th, 2014, 9AM

Open content

Every now and then I recap on where and what I store online. Today I do so again, while I’m rather feeling that there should be discrete and specific tools for each of the things. Firstly there are the self-hosted items: WordPress for blogging (where photo and file attachments should be customized to the exact […]

[No comments] [Keywords: , , , , , , , , , ] [Permanent link]