Translations:Help:Namespaces/45/en

The help-mw>Special:MyLanguage/Help:Magic word|magic word   returns the value of the namespace the page is in.