r106464 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106463‎ | r106464 | r106465 >
Date:19:15, 16 December 2011
Author:preilly
Status:resolved
Tags:
Comment:
fix for r106392 and r106391
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -694,7 +694,7 @@
695695
696696 $hideSearchBox = $wgRequest->getText( 'hidesearchbox' );
697697
698 - if ( $hideSearchBox && $hideSearchBox == 1 ) {
 698+ if ( $hideSearchBox == 1 ) {
699699 self::$hideSearchBox = true;
700700 }
701701
@@ -712,7 +712,7 @@
713713 }
714714 }
715715
716 - if ( self::$hideLogo && self::$hideLogo == true ) {
 716+ if ( self::$hideLogo == true ) {
717717 self::$hideFooter = true;
718718 }
719719

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106391add hide logo and searchbox options to querystringpreilly23:26, 15 December 2011
r106392add hide footer supportpreilly23:38, 15 December 2011

Status & tagging log