From 2f5eb2922fd07c8818aa36f27ad685637ece2c9a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 20 Aug 2012 09:55:36 +0200 Subject: [PATCH] Fix PHP Notices. Found alias defined for Prefixindex when searching for special page aliases for PrefixIndex. Change-Id: I01be2e0eaa0c2de47a1c4138ae42e311a70e7a62 --- includes/actions/InfoAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', -- 2.20.1