Following the recommendations in {T370879} (TBD: still to be discussed), we should build a community configuration ([[ https://www.mediawiki.org/wiki/Extension:CommunityConfiguration | docs ]], [[ https://gitlab.com/wmde/technical-wishes/docker-dev/-/blob/main/README.md?ref_type=heads#communityconfiguration | docker-dev module ]], [[ http://dev.wiki.local.wmftest.net:8080/wiki/Special:CommunityConfiguration/CommunityConfigurationExample | local example ]]) page which allows the admin to create a list of custom groups for each site. Our first use case will be a selector for the backlink labels, because the default is generally undesirable, and conflicts badly with subreferencing.
* [ ] Finish discussion of concept* [x] Can we use Codex for the Special page UI? Yes.
* [ * [x] Rough design for user admin and helpn pages.
* [ ] Decide whether we include a set of default groups which are pre-configuredFinish discussion of concept.
* [ ] Support an arbitrary number of custom groups. Ability to add and delete groups on the community config pageFixed list of supported symbols. See "Relevant pages" field in the bundled example, which has a similar structure to what is proposed in this taskThis can be incomplete for now and improved iteratively in follow-up work.
* [ ] Free-form group nameLookup alphabets by locale, label, … TBD
* [ ] Fixed listShow preview of supported symbolsbacklinks (dynamically generated in JS, not using parser). This can be incomplete for now and improved iteratively in follow-up workMight require an API to fetch the alphabet.
* [ ] Group symbols can be selected from this fixed listNo effect until the config page is saved.
* [ ] Open question: should we include an unremovable "default" group which can be used to configure the symbols used for group="" ?When configuration is saved, it should override existing backlink customizations.
* [x] Open question: can we use Codex for the Special page UI?* [ ] Note: there is no way to reverse this config at the moment! Example extension is doing str(reverting concatenation for some reason.to legacy)
== Draft implementation ==
Very early days:
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Cite/+/1081640