Use lower case edit link on Special:WhatLinkshere
authorFlorianschmidtwelzow <florian.schmidt.welzow@t-online.de>
Mon, 3 Aug 2015 11:02:48 +0000 (13:02 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 3 Aug 2015 18:51:37 +0000 (18:51 +0000)
Bug: T107633
Change-Id: I2365623d0f0e72645c385be279bc2ccdf4954bcd

includes/specials/SpecialWhatlinkshere.php

index a6f92d6..39980d2 100644 (file)
@@ -323,7 +323,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                static $msgcache = null;
                if ( $msgcache === null ) {
                        static $msgs = array( 'isredirect', 'istemplate', 'semicolon-separator',
-                               'whatlinkshere-links', 'isimage', 'edit' );
+                               'whatlinkshere-links', 'isimage', 'editlink' );
                        $msgcache = array();
                        foreach ( $msgs as $msg ) {
                                $msgcache[$msg] = $this->msg( $msg )->escaped();
@@ -364,7 +364,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                }
 
                # Space for utilities links, with a what-links-here link provided
-               $wlhLink = $this->wlhLink( $nt, $msgcache['whatlinkshere-links'], $msgcache['edit'] );
+               $wlhLink = $this->wlhLink( $nt, $msgcache['whatlinkshere-links'], $msgcache['editlink'] );
                $wlh = Xml::wrapClass(
                        $this->msg( 'parentheses' )->rawParams( $wlhLink )->escaped(),
                        'mw-whatlinkshere-tools'