Problem
DB key and prefixedText are separate concepts and cannot be used interchangeably when working with page titles.
For local pages, a title formatter could handle this, but for cross-wiki cases this approach does not work.
- Proposed solution
- Investigate whether there is an existing helper in:
- WikiMap
- MediaWikiSite
- WikiReference
- MediaWikiPageNameNormalizer
that can normalize/format page titles across wikis.
- If no suitable helper exists, explore the alternative of using a manual API request (see CheckUser patch 1083383).
- Document and implement the appropriate approach so that CampaignEvents can properly handle cross-wiki page title normalization.
- References
- Discussion with Daimona (Sep 2025) about separating DB key and prefixedText.
- Identified as part of the broader *"can we make this work cross-wiki"* subject.
- Claudio fixed a related issue, but this part was deferred into its own task.
Acceptance criteria
- Given a user is associating an edit with an event using the API
- And the edit was made on another wiki
- Then the edited page's title is correctly formatted in the contributions tab, according to the configuration of the other wiki (w.r.t, for example, custom namespaces and namespace translations)
- And the edit was made on another wiki


