Merge "Hide file links in action=info's 'Number of redirects to this page'"
This commit is contained in:
commit
13d083b206
2 changed files with 7 additions and 1 deletions
|
|
@ -113,6 +113,8 @@ production.
|
|||
** Title::moveTo() was deprecated. Use the MovePage class instead.
|
||||
** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
|
||||
and MovePage::checkPermissions().
|
||||
* The Special:WhatLinksHere page linked from 'Number of redirects to this page'
|
||||
on action=info about a file page does not list file links anymore.
|
||||
|
||||
=== Action API changes in 1.25 ===
|
||||
* (T67403) XML tag highlighting is now only performed for formats
|
||||
|
|
|
|||
|
|
@ -338,7 +338,11 @@ class InfoAction extends FormlessAction {
|
|||
$whatLinksHere,
|
||||
$this->msg( 'pageinfo-redirects-name' )->escaped(),
|
||||
array(),
|
||||
array( 'hidelinks' => 1, 'hidetrans' => 1 )
|
||||
array(
|
||||
'hidelinks' => 1,
|
||||
'hidetrans' => 1,
|
||||
'hideimages' => $title->getNamespace() == NS_FILE
|
||||
)
|
||||
),
|
||||
$this->msg( 'pageinfo-redirects-value' )
|
||||
->numParams( count( $title->getRedirectsHere() ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue