What's new and other events for September 4, 2020

From MWStake
Revision as of 13:45, 7 September 2020 by Mark Hershberger (talk | contribs)
Jump to navigation Jump to search

by Mark Hershberger on 4 September 2020 17:47 (EDT)

Tag.png Tags: MediaWiki, News
Person.png People: Bryan Hildebrand, Mark Hershberger

From the recent #mwstake meeting:

One major feature is that Parsoid, a library necessary to use Visual Editor is now written entirely in PHP and both Parsoid and VisualEditor are bundled in the tarball. This means extensions like DiscussionTools can be used without any external dependencies.
  • There is an updated visualization of the pingback statistics using the heartbeat ping: chart.
The new heartbeat ping (from 1.30—October 2018—forward) are showing only new installations instead of accumulating all pings. This explains the sawtooth on the chart.
This CoC will probably replace the technical one, so it would apply to third party MW users who participate in WMF spaces.

Story time: A morality tale about the MagicNumberedHeadings extension

This past week, I was going to update a wiki and needed to make sure the MagicNumberedHeadings extension was up-to-date. I noticed that there used to be a Gerrit-hosted repository for the extension, but the repository and the page itself were gone.

I had a copy of the extension in Github, so this wouldn't matter too much, but, upon investigation, there turned to be some good lessons and a bit of a reminder for me.

Initially, when I came across it, the extension stored its code on the mediawiki.org. I was using git to deploy code on this wiki, so I needed a repository. I set one up at github and forgot about it (except when I needed to maintain it).

Shortly after importing the extension into github and doing some fixups, I requested a gerrit repository be created from my github repo. Again, though, I didn't update mediawiki.org to point to the repo. And I forgot about the gerrit repository, even when I wanted to later fix the code like I did this past June. If I remembered that I had made a gerrit repo, I would have seen that @legoktm had already fixed it.

During all this, the mediawiki.org page went unmodified except for a small typo fix up until last month when my friend Karsten Hoffmeyer came across it, saw the code on the page had not been updated since 2016, noticed it didn't work with the newer MagicWordFactory and archived it.

And, so it happened that this past March 28th, a diligent MediaWiki.org administrator created a task to archive the MagicNumberedHeadings gerrit repo. (I asked for it to be un-archived.)

All this because I had did not update the extension page on MediaWiki.org originally.

Documentation is important! How many times do I have to tell me that?

3 point buzzer beater

Bryan showed us how the Flex Diagrams extension allows you to easily create and edit BPMN diagrams, Gantt charts, and Mermaid diagrams.