CentralAuth is a core extension in Wikimedia wikis (and one that can affect other important functionality). So, it should be included in the Wikimedia preset.
Description
Related Objects
- Mentioned Here
- T400921: Document adding a new extension to PatchDemo
Event Timeline
This one probably makes sense to add to the Wikimedia preset.
But this raises a question for me: what is the wikimedia preset based on?
Wikipedia has 129 extensions meanwhile the preset has 78 extensions (and all has 120).
IIRC, this has been the subject of a little bit of discussion in the past (I remember the discussions here & at T400921#11062429; maybe there are some more that I can't immediately remember), and - again IIRC - the exact criteria for the wikimedia preset are a bit fuzzy. The official documentation for adding an extension to Patch Demo says to add an extension to wikimedia.yaml if it's deployed on 'most Wikimedia wikis', which on its face seems like a good general idea to me.
FWIW regarding ext:CentralAuth specifically, it looks like it was commented out of the wikimedia preset in this commit, with the note:
# We don't have a real wiki farm, just a minimal installation separate for each wiki, which # doesn't really resemble production and complicates things a lot, so turn it off by default.
I'll ping @matmarex in case they have any info/thoughts about this request (as the person that commented it out in wikimedia.yaml), though feel free to unsubscribe :)
I don't remember how I originally came up with the preset years ago, and I don't seem to have left any notes about it: https://github.com/MatmaRex/patchdemo/commit/bb9c74d0e5bab0fd2871dde5414173402722aeb7. I may have copied them from Special:Version on one of the wikis, maybe MediaWiki.org. And I haven't maintained it since then, and I don't think anyone did, so that would explain many of the missing extensions.
It would probably be fine to add CentralAuth to the preset, if it works reliably now. I don't remember why I commented it out either, but it looks like that commit is missing $wgConf configuration, without which CentralAuth is seriously broken, so that might be the reason. (It seems I added it later.)