From: Siebrand Mazeland Date: Mon, 20 Aug 2012 07:55:36 +0000 (+0200) Subject: Fix PHP Notices. X-Git-Tag: 1.31.0-rc.0~22675 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=2f5eb2922fd07c8818aa36f27ad685637ece2c9a;p=lhc%2Fweb%2Fwiklou.git Fix PHP Notices. Found alias defined for Prefixindex when searching for special page aliases for PrefixIndex. Change-Id: I01be2e0eaa0c2de47a1c4138ae42e311a70e7a62 --- diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index db7b61d9f5..5f470d9ff1 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -140,7 +140,7 @@ class InfoAction extends FormlessAction { } // Redirects to this page - $whatLinksHere = SpecialPage::getTitleFor( 'WhatLinksHere', $title->getPrefixedText() ); + $whatLinksHere = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedText() ); $table = $this->addRow( $table, Linker::link( $whatLinksHere, @@ -154,7 +154,7 @@ class InfoAction extends FormlessAction { ); // Subpages of this page - $prefixIndex = SpecialPage::getTitleFor( 'PrefixIndex', $title->getPrefixedText() . '/' ); + $prefixIndex = SpecialPage::getTitleFor( 'Prefixindex', $title->getPrefixedText() . '/' ); $table = $this->addRow( $table, Linker::link( $prefixIndex, $this->msg( 'pageinfo-subpages-name' ) ), $this->msg( 'pageinfo-subpages-value',