I spent 4-6 hours the other day trying to figure out the equivalent of Hello World for a MediaWiki parser function extension.
In theory, they have a quick start guide, but that documentation has so many errors, and I spent ages jumping between PHP and a JSON configuration file I barely understood.
At least it’s working now. Now time to figure out how the heck to properly interact with the MediaWiki database!
(Perhaps once I’m a bit more confident in MediaWiki development, I’ll see if I can tidy up some that documentation.)
I spent 4-6 hours the other day trying to figure out the equivalent of Hello World for a MediaWiki parser function extension.
In theory, they have a quick start guide, but that documentation has so many errors, and I spent ages jumping between PHP and a JSON configuration file I barely understood.
At least it’s working now. Now time to figure out how the heck to properly interact with the MediaWiki database!
(Perhaps once I’m a bit more confident in MediaWiki development, I’ll see if I can tidy up some that documentation.)