CustomLogs, my MediaWiki extension, has been given a stable release! CustomLogs lets you write and then read arbitrary log types, optionally along with some additional metadata. Last year I wrote a post detailing some use cases for this extension.
I originally published this extension in 2019, and a couple months ago I changed the format of some of the API parameter names and released it as version 1.0.0. I don’t anticipate any further breaking changes (or, indeed, any changes at all) any time soon.
Why this change?
Before this change, because you can’t have a -
in a variable name in Python, I had to write code like this:
|
|
Gross, ew.
So I got rid of the -
in the custom
parameter names.
|
|
So much better.
(Of course, I should still probably make a dedicated mwcleric handler for customlogs
, but that’s a separate matter.)