Topic on Extension talk:TemplateStyles

$wgTemplateStylesNamespaces Namespace numbers

3
Shaen4Ko (talkcontribs)

Where are the numbers defined that correspond to the different namespaces (2: User, 8: Mediawiki etc.)?

Clump (talkcontribs)
Tgr (WMF) (talkcontribs)

Typically there will be a constant like NS_TEMPLATE that you can use.