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
if ( $title->isRedirect() ) {
$pageInfo['header-basic'][] = array(
$this->msg( 'pageinfo-redirectsto' ),
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( 'parentheses', Linker::link(
$this->page->getRedirectTarget(),
- $this->msg( 'pageinfo-redirectsto-info' ),
+ $this->msg( 'pageinfo-redirectsto-info' )->escaped(),
array(),
array( 'action' => 'info' )
) )->text()
array(),
array( 'action' => 'info' )
) )->text()