Use Special:PageData as the canonical capitalization
authorLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Wed, 4 Oct 2017 15:38:10 +0000 (17:38 +0200)
committerLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Thu, 5 Oct 2017 09:20:49 +0000 (11:20 +0200)
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

languages/messages/MessagesEn.php

index 17b00b7..a3173d4 100644 (file)
@@ -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' ],