http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88981
Revision: 88981
Author: preilly
Date: 2011-05-27 17:33:32 +0000 (Fri, 27 May 2011)
Log Message:
-----------
fix missed variable in last commit
Modified Paths:
--------------
trunk/extensions/PatchOutputMobile/PatchOutputMobile.php
Modified: trunk/extensions/PatchOutputMobile/PatchOutputMobile.php
===================================================================
--- trunk/extensions/PatchOutputMobile/PatchOutputMobile.php 2011-05-27
17:30:06 UTC (rev 88980)
+++ trunk/extensions/PatchOutputMobile/PatchOutputMobile.php 2011-05-27
17:33:32 UTC (rev 88981)
@@ -39,7 +39,7 @@
'onOutputPageBeforeHTML' );
class ExtPatchOutputMobile {
- const VERSION = '0.3.8';
+ const VERSION = '0.3.9';
private $doc;
@@ -119,16 +119,16 @@
$this->contentFormat = 'XHTML';
}
- $m_action = isset( $_GET['m_action'] ) ? $_GET['m_action'] : '';
+ $mAction = isset( $_GET['m_action'] ) ? $_GET['m_action'] : '';
- if ( $m_action == 'disable_mobile_site' ) {
+ if ( $mAction == 'disable_mobile_site' ) {
if ( $this->contentFormat == 'XHTML' ) {
echo $this->renderDisableMobileSiteXHTML();
exit();
}
}
- if ( $m_action != 'view_normal_site' ) {
+ if ( $mAction != 'view_normal_site' ) {
ob_start( array( $this, 'DOMParse' ) );
}
return true;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs