Unless I'm missing something, the [[https://gitlab.wikimedia.org/repos/test-platform/catalyst/patchdemo/-/blob/bdf4f6fea0e03e1b836f84ff87abc383e26912ec/repository-lists/tarball.yaml|'tarball' Patch demo preset]] -- which I believe is intended to include extensions & skins that are [[https://www.mediawiki.org/wiki/Bundled_extensions_and_skins|bundled along with the MediaWiki release]] -- hasn't been updated [[https://gitlab.wikimedia.org/repos/test-platform/catalyst/patchdemo/-/commit/bb9c74d0e5bab0fd2871dde5414173402722aeb7#ddb9e6ec2fe38aac02cfddcd0413e1c704d392ec|since it was originally created in October 2020]] (except [[https://gitlab.wikimedia.org/repos/test-platform/catalyst/patchdemo/-/commit/ac6e614029e4f99a4882f111768ee72be13a9e22|2 weeks ago]] by @jnuche to remove the archived #mediawiki-extensions-localisationupdate extension).
There have been a number of changes to the list of bundled skins/extensions since then, so the Patch demo preset should be updated to reflect the changes to it that've been made.
**Note**: while the list of bundled extensions/skins has changed between different versions of MediaWiki; to my knowledge, there's currently no way to vary the contents of a Patch demo repository-preset based on the selected MediaWiki version. Because of this, I'm sort of proceeding on the presumption that the preset should contain the extensions that are //currently// included in the tarball at any given moment in time.
---
As far as I'm aware, the authoritative/canonical list for bundled skins/extensions is contained within https://gitlab.wikimedia.org/repos/releng/release/-/blob/main/make-release/settings.yaml ([[https://gitlab.wikimedia.org/repos/releng/release/-/blob/e358bf04db00e434a0192d7ac147221e2b494300/make-release/settings.yaml#L7-47|permalink]]).
---
#### Repos to add to the list
- ~~**MediaWiki 1.36**~~ - {T246381}
-- no new extensions/skins were bundled in MW1.36.
- ~~**MediaWiki 1.37**~~ - {T279842}
-- no new extensions/skins were bundled in MW1.37.
- **MediaWiki 1.38** - {T290934}
-- [ ] #AbuseFilter
-- [ ] #Math
-- [ ] #MinervaNeue
- ~~**MediaWiki 1.39**~~ - {T305072}
-- no new extensions/skins were bundled in MW1.39.
- **MediaWiki 1.40** - {T317146}
-- [ ] #DiscussionTools
-- [ ] #Echo
-- [ ] #Linter
-- [ ] #LoginNotify (not currently available on Patch demo - can add it to the preset `.yaml` file, but probably commented out for now.)
-- [ ] #Thanks
- ~~**MediaWiki 1.41 - 1.43**~~
-- no new extensions/skins were bundled from `MW1.41 ≤ ver ≤ MW1.43`; T333405 started life as a task for MW1.41 but eventually morphed into being a task for MW1.44 instead.
- **MediaWiki 1.44** - {T333405}
-- [ ] #CheckUser
-- [ ] #TemplateStyles
#### Repos to remove from the list (maybe?)
These repositories were removed from the canonical list of bundled extensions due to being merged into `mediawiki/core`.
- [ ] `mediawiki/extensions/Renameuser` - was merged into core in MW1.40 ({T27482}), and removed from the canonical tarball list in [[https://gitlab.wikimedia.org/repos/releng/release/-/commit/f9857bd33d694aa6c492372f4111f599a3df6c87|f9857bd33d694aa6c492372f4111f599a3df6c87]].
- [ ] `mediawiki/extensions/Interwiki` - was merged into core in MW1.44 ({T33951}). It hasn't yet been removed from the canonical tarball list (xref T33951#10989160); but IMO it has //effectively// been removed, though, as the extension's folder in the MW1.44 tarball is a [[https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Interwiki/+/c5d8b18c5ff39fd99d6bc92e5a4c8a9a451b6105|stub-folder without any substantive extension code]].
**Open question:** should these be removed from the preset?
As these extension repos are currently stubs, they won't (or at least, //shouldn't//) have any substantive effect - other than being listed at `Special:Version` - on new Patch demo wikis that are (e.g.) built from the `master` branch. However, for wikis that start from release-branches that were made //before// these extensions were merged into core, these repos will still contain active code.
Removing these extensions from the preset seems like it'd be (in effect) //removing// functionality from wikis built from some older release-branches; but (IIUC) keeping them shouldn't have any user-facing effect (other than at `Special:Version`) on wikis built from a branch that //does// contain the extension's merge into core.
---
#### Future planning
- [ ] Create a follow-up task for the next set of changes that will need to be made in the future; set it to stalled, and add it as a parent task of {T392080} so we're notified the next time we need to update the preset.