Sam's notebook

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]

Wikisource books for binding February 11th, 2018, 12PM

Open content

I have been experimenting with turning Wikisource works into LaTeX-formatted bindable PDFs. My initial idea was to produce quatro or octavo layout sheets (i.e. 8 or 16 book pages to a sheet of paper that’s printed on both sides and has the pages layed out in such a way as when the sheet is folded […]

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

Importing books from IA to Wikisource August 21st, 2017, 7PM

Open content

After being inspired by Ewan McAndrew at Wikimania, I’ve taken a crack at doing my own video about importing books from the Internet Archive into Wikisource: There are a few mistakes here, and as I’ve yet to figure out how to edit videos properly (I’ve only managed to hang my video editing software so far), […]

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

WikiCite 2017 May 23rd, 2017, 1PM

Open content Programming

(Firefox asked me to rate it this morning, with a little picture of a broken heart and five stars to select from. I gave it five (’cause it’s brilliant) and then it sent me to a survey on mozilla.com titled “Heavy User V2”, which sounds like the name of an confused interplanetary supply ship.) Today […]

[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]