r113519 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113518‎ | r113519 | r113520 >
Date:20:37, 9 March 2012
Author:ialex
Status:ok
Tags:
Comment:
Let's be consistent and use the same check to show an the deleted version and cascade the parameter
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1089,7 +1089,7 @@
10901090
10911091 # Cascade unhide param in links for easy deletion browsing
10921092 $extraParams = array();
1093 - if ( $wgRequest->getVal( 'unhide' ) ) {
 1093+ if ( $unhide ) {
10941094 $extraParams['unhide'] = 1;
10951095 }
10961096

Status & tagging log