Topic on Project:Support desk

Sternograph Extension

3
46.28.53.125 (talkcontribs)

Has anyone gotten the extension Sternograph (https://www.mediawiki.org/wiki/Extension:Sternograph) to work with recent versions of MediaWiki? It seems to be outdated as far as I can tell.

2003:72:6D5E:1B00:122:9ADF:F46F:B9FC (talkcontribs)

I have not used the extension, but having a look at its code, it is not really big or complex.

The extension has not yet been converted to use an extension.json file (which can easily be done using the convertExtensionToRegistration.php maintenace script. And it is still using the old l18n format. This also can be changed rather easily using the generateJsonI18n.php maintenace script. But both, also if not fixed, should not cause errors (at least not up to MediaWiki 1.29).

Have you tried using the extension and did you get an error message?

C46a29c803 (talkcontribs)

I tried using it without running any conversions, which gives the error

[a6942289832b9d747070c930] 2017-07-23 21:07:02: Fatal exception of type "Error"

I haven't used those scripts before, so I want to be sure I'm doing this correctly, I run

php .. \convertExtensionToRegistration.php ...\extensions\Sternograph\Sternograph.php

php .. \generateJsonI18n.php ...\extensions\Sternograph\Sternograph.i18n.php

The first one yields an error, should it be run on Sternograph.body.php instead? Then, I add

$wgMessagesDirs['Sternograph'] = '/extensions/Sternograph/i18n';

Does this all seem right? Apologies, I'm new to this.

Reply to "Sternograph Extension"