r237 - trunk/wiki.openmoko.org/space_www_wiki_skins

roh at daksha.openmoko.org roh at daksha.openmoko.org
Fri May 30 13:18:36 CEST 2008


Author: roh
Date: 2008-05-30 11:18:34 +0000 (Fri, 30 May 2008)
New Revision: 237

Added:
   trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.deps.php
Modified:
   trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.php
Log:
- remove whitespace noise to reduce diff from monobook, add strange file


Added: trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.deps.php
===================================================================
--- trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.deps.php	                        (rev 0)
+++ trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.deps.php	2008-05-30 11:18:34 UTC (rev 237)
@@ -0,0 +1,12 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// MonoBook.php is compiled, working around a bug in the APC opcode
+// cache on PHP 5, where cached code can break if the include order
+// changed on a subsequent page view.
+// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+
+if ( ! defined( 'MEDIAWIKI' ) )
+	die( 1 );
+
+require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
+

Modified: trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.php
===================================================================
--- trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.php	2008-05-28 18:51:12 UTC (rev 236)
+++ trunk/wiki.openmoko.org/space_www_wiki_skins/OpenMoko.php	2008-05-30 11:18:34 UTC (rev 237)
@@ -67,9 +67,9 @@
 		<!--[if IE 7]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE70Fixes.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";</style><![endif]-->
 		<!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"></script>
 		<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
-
+		
 		<?php print Skin::makeGlobalVariablesScript( $this->data ); ?>
-
+                
 		<script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"><!-- wikibits js --></script>
 		<!-- Head Scripts -->
 <?php $this->html('headscripts') ?>
@@ -90,7 +90,7 @@
 <?php	}
 		if($this->data['trackbackhtml']) print $this->data['trackbackhtml']; ?>
 	</head>
-<body<?php if($this->data['body_ondblclick']) { ?>ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?>
+<body<?php if($this->data['body_ondblclick']) { ?> ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?>
 <?php if($this->data['body_onload'    ]) { ?> onload="<?php     $this->text('body_onload')     ?>"<?php } ?>
  class="mediawiki <?php $this->text('nsclass') ?> <?php $this->text('dir') ?> <?php $this->text('pageclass') ?>">
 	<div id="globalWrapper">
@@ -278,14 +278,14 @@
 			'privacy', 'about', 'disclaimer', 'tagline',
 		);
 		foreach( $footerlinks as $aLink ) {
-			if( isset( $this->data[$aLink] ) && $this->data[$aLink] ){
+			if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) {
 ?>				<li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
 <?php 		}
 		}
 ?>
 			</ul>
 		</div>
-
+		
 	<?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
 </div>
 <?php $this->html('reporttime') ?>





More information about the webdesign-commitlog mailing list