That only returns one possible namespace text.
We don't have a simple method to return all the strings that can be used
to point to one namespace. You have to go through the canonical names and
the aliases returned by Language.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
On Sun, 19 Aug 2012 13:22:37 -0700, Tyler Romeo <[email protected]>
wrote:
Well, FWIW, you can use
$namespaces = $wgContLang->getNamespaces();
$categ = $namespaces[NS_CATEGORY];
to get the local name for the category namespace.
*--*
*Tyler Romeo*
Stevens Institute of Technology, Class of 2015
Major in Computer Science
www.whizkidztech.com | [email protected]
On Sun, Aug 19, 2012 at 3:17 PM, Mark A. Hershberger
<[email protected]>wrote:
On 08/18/2012 05:16 PM, Platonides wrote:
> But he is only interested in the translations active for the content
> language of the wiki he is editing.
Oh. Well, that is not as straightforward. Maybe he could use the
side-bar links (inter-language links) on the category pages?
Mark.
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l