List of steps to reproduce (step by step, including full links if applicable):
- Create a page on a wiki with [[mw:Extension:Translate|Translate extension]] outside of main namespace. (Does not occur within main namespace)
- Use {{DISPLAYTITLE:}} to set page title without Namespace
- Set up {{DISPLAYTITLE:}} content for translation
- Allow translation of page title when marking for translation
- Translate into non-English language
- Use Namespace in page title translation (Example:TranslationExample)
- Use same text without namespace in {{DISPLAYTITLE:}} translation (TranslationExample)
What happens?:
- Warning appears:
- "Warning: Display title "TranslationExample" overrides earlier display title "Example:TranslationExample"."
- Trying a {{PAGENAME}} workaround produces same error
What should have happened instead?:
- Ideally no warning displayed - as is case when steps are taken within main namespace
Examples:
- https://foundation.wikimedia.org/wiki/Policy:Test/de
- https://foundation.wikimedia.org/wiki/User:GVarnum-WMF/Sandbox2/de
Workarounds
- Do not set up page title for translation
- Do not set up {{DISPLAYTITLE:}} for translation, leave note for translators to not include namespace in page's title, and hope note is seen