From: Marius Hoch Date: Wed, 17 Oct 2012 20:00:15 +0000 (+0200) Subject: Minor action=info redirect changes X-Git-Tag: 1.31.0-rc.0~21979^2 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=020d7b425c5c91066a358ac62dfe82f72b84219b;p=lhc%2Fweb%2Fwiklou.git Minor action=info redirect changes Follow up to Change-Id: I17ab90af902b3b23d5c9bc23f0c71a18d1006cb8 fixing minor stuff (using the word separator message to seperate the page name and (info) and escaping the link text given to Linker::link) Change-Id: I6d5e2ecf2c8a9394556426e952812f4b0d2ad529 --- diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 37e658821d..05b6dcfc71 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -207,10 +207,11 @@ class InfoAction extends FormlessAction { if ( $title->isRedirect() ) { $pageInfo['header-basic'][] = array( $this->msg( 'pageinfo-redirectsto' ), - Linker::link( $this->page->getRedirectTarget() ) . ' ' . + Linker::link( $this->page->getRedirectTarget() ) . + $this->msg( 'word-separator' )->text() . $this->msg( 'parentheses', Linker::link( $this->page->getRedirectTarget(), - $this->msg( 'pageinfo-redirectsto-info' ), + $this->msg( 'pageinfo-redirectsto-info' )->escaped(), array(), array( 'action' => 'info' ) ) )->text()