Page MenuHomePhabricator

Review extension list, some might come with MW already
Closed, ResolvedPublic

Description

Current state: MediaWiki comes with a set of extensions, we add a set of extension.

Context: MediaWiki adds extensions by default, the set changes with releases.

Acceptance Criteria: Review all extensions we add, remove those that come with MediaWiki by default already.

  • ConfirmEdit is in MW since 1.18
  • Nuke is in MW since 1.18
  • Scribunto is in MW since 1.34
  • SyntaxHighlight is in MW since 1.21
  • VisualEditor is in MW since 1.35

...

Notes:

Open Questions:

  • are the versions of those extensions added in mw the ones that we would also go for knowing that we usually got for the latest ones?
  • should we give an extra heads up on this in our release notes kinda "check out the new extensions that are bundled in mw [link]". I am working under the impression that, if that is not known, users may want to install extensions that are already in - basically the same as we have done! - and this could make their life eaier

Event Timeline

@roti_WMDE if you remember, can you add a comment to this ticket about where you found this information?

For reference: comparing https://www.mediawiki.org/wiki/Bundled_extensions_and_skins to the extensions mentioned in variables.env, it seems that the shared extensions are exactly the ones in the task's description.

lojo_wmde changed the task status from Open to In Progress.Jul 18 2024, 2:54 PM
lojo_wmde moved this task from Sprint Backlog to Doing on the Wikibase Suite Team (Sprint-∞) board.

Nice. At least 5 extensions we're packaging in our image are already in there, and what remains is mostly focused on what we enhance the stack with: Wikibase, Elasticsearch, etc. There are a few related extension tests which can be healthily binned as well.

(only for documentation purposes since this PR has already been merged)

PR: https://github.com/wmde/wikibase-release-pipeline/pull/741

This PR https://github.com/wmde/wikibase-release-pipeline/pull/743 removes some of the tests related to those extensions that we no longer package (confirm edit, nuke, syntax highlight). Some other tests are still there (scribunto, visual editor), and I will look into what exactly they are testing and if they can also be removed or replaced. More extensive work to map out our testing landscape in-house and out is planned here: https://phabricator.wikimedia.org/T34522.

Following up on the previous PR, I've found that our Visual Editor tests were only using the features as provided by the extension itself, so they could be removed. On the other hand, the Scribunto/Lua tests are testing our specific installation and configuration within the Wikibase image. I kept the suite and documented why it was necessary.
See https://github.com/wmde/wikibase-release-pipeline/pull/757.

adee_wmde moved this task from Doing to Done on the Wikibase Suite Team (Sprint-∞) board.