From: Lucas Werkmeister Date: Wed, 4 Oct 2017 15:38:10 +0000 (+0200) Subject: Use Special:PageData as the canonical capitalization X-Git-Tag: 1.31.0-rc.0~1865^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=907a651ae2b92655bae24ea9f13417bb3bb756b9 Use Special:PageData as the canonical capitalization We want Special:PageData (uppercase D) to be the proper page title and Special:Pagedata (lowercase d) to redirect to it, not vice versa. (Special page names are case insensitive, so it’s not necessary to add the old name Special:Pagedata as an explicit alias.) Note: if a localisation cache is configured, it needs to be rebuilt after this change. Bug: T177411 Change-Id: I27c47a16326540a74d0850467d430faaa25369df --- diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 17b00b7dd0..a3173d4440 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -466,7 +466,7 @@ $specialPageAliases = [ 'Newimages' => [ 'NewFiles', 'NewImages' ], 'Newpages' => [ 'NewPages' ], 'PagesWithProp' => [ 'PagesWithProp', 'Pageswithprop', 'PagesByProp', 'Pagesbyprop' ], - 'PageData' => [ 'Pagedata' ], + 'PageData' => [ 'PageData' ], 'PageLanguage' => [ 'PageLanguage' ], 'PasswordReset' => [ 'PasswordReset' ], 'PermanentLink' => [ 'PermanentLink', 'PermaLink' ],