The AutoModerator community configuration form has a need to inject a parameter into some of the message strings such as help text and descriptions.
This is necessary to make it convenient to override messages used by the AutoModerator account when it takes action.
In the designs in T366016: Design UX copy for AutoModerator Community Configuration we have links to translate wiki and system message prefix searches in help text and descriptions of our form. These will need to reflect the fact that workflows and wording can vary per wiki as well as to make it convenient for users to update.
For example, the translatewiki link will send a user of trwiki to
https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-automoderator&language=tr&action=translate&filter=%21translated
where the query parameter
language=tr
will need to correspond to the wiki $wgLanguageCode.
The system message on trwiki will send the user to
https://tr.wikipedia.org/w/index.php?title=%C3%96zel:T%C3%BCm%C4%B0letiler&filter=all&limit=50+system+messages&prefix=automoderator-wiki
which will also need to updated per wiki.
We are open to a variety of solutions that would help us meet this need; could we use wikitext with magic words {{CONTENTLANGUAGE}}? Update the url parameter with javascript? use a schema for the help text/descriptions?