Right now mw.Title formats namespaces assuming that you want their representation from NS0, which is wrong in several cases.
Version: 1.23.0
Severity: enhancement
Right now mw.Title formats namespaces assuming that you want their representation from NS0, which is wrong in several cases.
Version: 1.23.0
Severity: enhancement
So for example, where this came up in VE, we wanted a title relative to the Template namespace. The idea is that main namespace titles are prefixed with ':' and templates are just their main text (no namespace).
Change 144171 had a related patch set uploaded by Alex Monk:
mw.Title: Add function to get title relative to an arbitrary namespace
Change 144171 merged by jenkins-bot:
mw.Title: Add method to get title relative to an arbitrary namespace
(In reply to Alex Monk from comment #4)
Just need to start using it now. Guess we'll have to wait for 1.24wmf23 for
that.
Or 1.25wmf1. ;-)
Change 162016 had a related patch set uploaded by Jforrester:
mw.Title: Add method to get title relative to an arbitrary namespace
Change 162016 merged by jenkins-bot:
mw.Title: Add method to get title relative to an arbitrary namespace