From 020d7b425c5c91066a358ac62dfe82f72b84219b Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Wed, 17 Oct 2012 22:00:15 +0200 Subject: [PATCH] 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 --- includes/actions/InfoAction.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() -- 2.20.1