Last modified: 2009-08-02 18:17:31 UTC
Should add a new function {{nss:namespace name}}, so that, {{nss:user_talk}} will yield "User_talk" (the URL-friendly percent encoded like {{NAMESPACEE}}, especially, when the namespace name is in UTF-8) According to its complement function, then {{ns:user_talk}} should yield "User talk" (rather than "User_talk").
Suggesting {{nse:...}} since -e suffix is used to mark _e_ncoded.
I prefer {{ns:user_talk}} to be "User talk" (no underscore), so {{nse:...}} is introduced for the case that underscore is really needed. Another reason for this is that, the current behavior of {{ns:...}} is inconsistent with either {{NAMESPACE}} or {{NAMESPACEE}}. Since, * {{NAMESPACE}}: no underscore, no % encoded * {{NAMESPACEE}}: has underscore, has % encoded while, * {{ns:...}}: has underscore, but no % encoded so, theoretically, {{ns:...}} cannot be used in the either the context that {{NAMESPACE}} or {{NAMESPACEE}} can be used.
So, theoretically, {{ns:...}} cannot be used in either the context that {{NAMESPACE}} or {{NAMESPACEE}} can be used. (fix typo in previous comment)
Done in r54220