I just noticed the following text leaking into a page on French Wikipedia: Spécial:Badtitle/MediaWiki\Api\ApiErrorFormatter::getDummyTitle, here:
diff showing the leaked string
A search on the wiki shows a few other occurrences:
insource:"getDummyTitle"
Steps to reproduce:
- On frwiki, be logged out (you need to lack edit rights on the following page), and use the mobile site (desktop is not affected).
- Go to a page with extended confirmed protection, e.g. Lionel Messi.
- Try to edit the page, navigate until you reach the "Cette page est en semi-protection étendue" modal dialog.
Two issues observed:
- "Proposer une modification en [[|page de discussion]]" — displayed as-is; the wikilink target is missing (should point to the article's talk page).
- In the URL of the "à un administrateur" link, the preloadtitle query parameter unexpectedly contains that "getDummyTitle" string.
- expected: {{a'|Lionel_Messi}}
- current: {{a'|Spécial:Badtitle/MediaWiki\Api\ApiErrorFormatter::getDummyTitle}}
Tracked down to:
This comes from our system message MediaWiki:Protectedpagetext. It looks like the magic words {{TALKPAGENAME}} and {{FULLPAGENAMEE}} don't resolve as expected in mobile context.