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

Hi guys,

I just updated to the to-be-released version 1.19 and there is one thing I do not get running again:

I use a custom skin where I build some links manually. To do so I need to get the namespace number and the name of the namespace of the current page (and then I do some stuff with it). In MW 1.19 this does not work anymore (at least not the way it worked before). :-(

How can I get the namespace number and name in my skin?

In MW 1.18 and older I used $this->data['nsnumber'] and $this->data['nscanonical'] to get this information.

How can I get them now?