https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113519
Revision: 113519
Author: ialex
Date: 2012-03-09 20:37:44 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
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: trunk/phase3/includes/Article.php
===================================================================
--- trunk/phase3/includes/Article.php 2012-03-09 20:26:08 UTC (rev 113518)
+++ trunk/phase3/includes/Article.php 2012-03-09 20:37:44 UTC (rev 113519)
@@ -1089,7 +1089,7 @@
# Cascade unhide param in links for easy deletion browsing
$extraParams = array();
- if ( $wgRequest->getVal( 'unhide' ) ) {
+ if ( $unhide ) {
$extraParams['unhide'] = 1;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs