Last modified: 2011-04-14 15:13:05 UTC
Special page aliases should be overridable, so they could match the customized names. Example: Wantedpages and WantedPages is eg. the default set shipped with MediaWiki. Some sites would rather call it WantedArticles, WantedTopics, WantedEntries etc... Applies to lots of special page names. However the alias set should preserve the default set, thus old set should be appended (but not vice versa to allow the override) to the new set.
This is possible with LanguageGetSpecialPageAliases hook.
Playing with hook in config file isn't that straight and comfortable like if there was simple variable like for other stuff, eg. namespace aliases etc. I can imagine something like: $wgSpecialPagesAliases = array( "Wantedpages" => array( "Wanted articles", "WantedArticles", "Wantedarticles", "Wantedpages", "WantedPages") ) or to avoid the necessity of repeated writing of the default set shipped with MediaWiki something like: $wgSpecialPagesAliasesOverrides = array( "Wantedpages" => array( "Wanted articles", "WantedArticles", "Wantedarticles") ) which would actually prepend this defined set to the default one.