r108162 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108161‎ | r108162 | r108163 >
Date:18:45, 5 January 2012
Author:preilly
Status:ok
Tags:
Comment:
up version number and notice checking
Modified paths:
  • /trunk/extensions/MobileFrontend/ApplicationTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/ApplicationTemplate.php
@@ -1,7 +1,7 @@
22 <?php
33
44 if( !defined( 'MEDIAWIKI' ) ) {
5 - die( -1 );
 5+ die( -1 );
66 }
77
88 class ApplicationTemplate extends MobileFrontendTemplate {
@@ -16,7 +16,7 @@
1717
1818 $betaPrefix = ( $this->data['isBetaGroupMember'] ) ? 'beta_' : '';
1919
20 - $noticeHtml = ( isset( $this->data['noticeHtml'] ) ) ? $this->data['noticeHtml'] : '';
 20+ $noticeHtml = empty( $this->data['noticeHtml'] ) ? '' : $this->data['noticeHtml'];
2121
2222 $cssFileName = ( isset( $this->data['device']['css_file_name'] ) ) ? $this->data['device']['css_file_name'] : 'default';
2323
@@ -61,7 +61,7 @@
6262 {$this->data['contentHtml']}
6363 </div>
6464 {$this->data['footerHtml']}
65 - {$startScriptTag}{$javaScriptPath}{$betaPrefix}application.js?version=12012011120915{$endScriptTag}
 65+ {$startScriptTag}{$javaScriptPath}{$betaPrefix}application.js?version=01052011120915{$endScriptTag}
6666 {$openSearchScript}
6767 {$filePageScript}
6868 </body>

Follow-up revisions

RevisionCommit summaryAuthorDate
r1081631.18wmf1: MFT r108162preilly18:46, 5 January 2012

Status & tagging log