Rob Church wrote:
Fixes per Gangleri's request:
* Replacing {{ns:X}} with the real namespace names, for performance -
except for "administrators" which is directly shown.
I went through the messages files and replaced certain instances of
{{ns:blah}} with canonical names a while ago, per Domas' request. This
change is a little bit needless, since those messages aren't used in
all page views, so the performance hit is reduced. What does happen is
a less intuitive interface readout.
Is this a significant performance issue? When editing the MediaWiki
messages on enwiki, I've been habitually replacing [[X:Foo]] with
[[{{ns:X}}:Foo]] to make it easier to copy the messages over to other
projects with different namespace names. Should I only do this for
{{ns:Project}}, on the assumption that the other namespaces will have
the same names on most English projects? Or should I avoid using
{{ns:}} entirely? Does it only matter for some messages?
--
Ilmari Karonen