I would like to change a default namespace description to a custom one, i.e. "User talk" to "User messages". In other words, to change the localized name. How could I do this?
Topic on Project:Support desk
https://wikitech.wikimedia.org/wiki/Wikimedia_site_requests#Change_a_namespace explains aliases, though those instructions are for Wikimedia sites and not for MediaWiki in general.
Yes, I already read that, but as you said, it is only for Wikimedia wikis. Isn't there any other way? Thanks.
See Manual:$wgNamespaceAliases. Maybe something like $wgNamespaceAliases['User messages'] = NS_USER_TALK;
On second thoughts, maybe the example here is what you need: Manual_talk:$wgNamespaceAliases#How_to_rename_namespace_Image_to_File.
It worked. Thank you :)
you would use $wgExtraNamespaces . If you need your alternate name for user namespace to vary based on user gender (important in some languages) see $wgExtraGenderNamespaces