T232601 implements @ mentions in such a way that when someone selects "UsernameA" from the username completion list, a link to "UsernameA's" user page (e.g. `[[User:UsernameA]]`) is inserted into the Reply text input area.
This task is about exploring the tradeoffs of enabling wikis to customize what template is inserted into the Reply text input area when someone selects a username from the username completion list.
e.g. a wiki might choose to have `{{Notify|UsernameA}}` as their completion.
=== Constraints
Certain aspects of @ mentions should not be configurable:
- The username suggestion list trigger sequence: {key @}
- Depending on the inspector interaction (T252083), the mention syntax (e.g. link or template)
=== Dependencies
Our ability to customize how the user page link inspector looks and behaves (see T252083) depends on the @ mention autocomplete (see T232601) outputting certain syntax.
- As such, the @ mention syntax should not be made configurable until after T252083 is resolved.
=== Open questions
- [ ] What value is there in encouraging the use of localized templates when `[[User:UsernameA]]` will cause a notification to be sent?
=== Done
- [ ] Determine whether to make the @ mention syntax configurable on a per-wiki basis.