Last modified: 2013-12-24 14:19:22 UTC
When doing namespace database queries, some numeric namespace info is returned. However, when it's fed back to any endpoint of MediaWiki (eg. index.php, api.php), namespaces must be written in text form. It could be nice if we can just write "100:Foo" as well in addition to "Portal:Foo", and I guess it could solve must of needs of bug 48625. If "100:Foo" is considered to clash a lot with existing titles, maybe we can use "[100]:Foo" or something, though that means we need to change title validation code in many places.
You can use {{ns:100}} (or even {{subst:ns:100}}) on-wiki. I have no idea how to properly address this bug for the MediaWiki Web API (api.php) or the MediaWiki GUI (index.php).
(In reply to comment #1) > You can use {{ns:100}} (or even {{subst:ns:100}}) on-wiki. > > I have no idea how to properly address this bug for the MediaWiki Web API > (api.php) or the MediaWiki GUI (index.php). I mean index.php?title=[100]:Foobar for example.