InitializeSettings.php currently contains:
'wgNamespaceAliases' => [ // defaults to aid when things are switched '+wikibooks' => [ 'Wikibooks' => NS_PROJECT ], '+wikinews' => [ 'Wikinews' => NS_PROJECT ], '+wikiquote' => [ 'Wikiquote' => NS_PROJECT ], '+wikisource' => [ 'Wikisource' => NS_PROJECT ], '+wikiversity' => [ 'Wikiversity' => NS_PROJECT ], '+wikipedia' => [ 'Wikipedia' => NS_PROJECT ], '+wiktionary' => [ 'Wiktionary' => NS_PROJECT ], '+wikivoyage' => [ 'Wikivoyage' => NS_PROJECT, 'WV' => NS_PROJECT, ],
(etc.)
It seems weird to have these settings for project pages without doing the same for project_talk pages. Therefore I suggest we expand this to the following:
'wgNamespaceAliases' => [ // defaults to aid when things are switched '+wikibooks' => [ 'Wikibooks' => NS_PROJECT, 'Wikibooks_talk' => NS_PROJECT_TALK, ], '+wikinews' => [ 'Wikinews' => NS_PROJECT, 'Wikinews_talk' => NS_PROJECT_TALK, ], '+wikiquote' => [ 'Wikiquote' => NS_PROJECT, 'Wikiquote_talk' => NS_PROJECT_TALK, ], '+wikisource' => [ 'Wikisource' => NS_PROJECT, 'Wikisource_talk' => NS_PROJECT_TALK, ], '+wikiversity' => [ 'Wikiversity' => NS_PROJECT, 'Wikiversity_talk' => NS_PROJECT_TALK, ], '+wikipedia' => [ 'Wikipedia' => NS_PROJECT, 'Wikipedia_talk' => NS_PROJECT_TALK, ], '+wiktionary' => [ 'Wiktionary' => NS_PROJECT, 'Wiktionary_talk' => NS_PROJECT_TALK, ], '+wikivoyage' => [ 'Wikivoyage' => NS_PROJECT, 'Wikivoyage_talk' => NS_PROJECT_TALK, ],
Note that in the settings for this variable immediately below what I have quoted, 39 (by my count) wikis already specify one of these very settings. For example:
'+angwiki' => [ // T58634, T60711 'Wikipedia_talk' => NS_PROJECT_TALK,
The current settings can lead to counterintuitive situations for wiki users, where a link to a project page may work using the canonical, say, [[Wikibooks:Blah]], but a link to the corresponding talk page, [[Wikibooks talk:Blah]] fails, even though the page title Blah does exist in the wiki's project_talk namespace.
Here's an example:
- https://ab.wikipedia.org/wiki/Wikipedia:Афорум (leads to their Village Pump)
- https://ab.wikipedia.org/wiki/Wikipedia_talk:Афорум (fails to lead to the corresponding talk page)