Thread:Project:Support desk/How can I get the namespace number and name in my skin?/reply

I finally have a solution for this problem:

The namespace number is available in  and the name of the namespace can be taken from.

That these methods are there is not really documented, see 1. You have to look through includes/Title.php where you have all available methods of the Title object.