summaryrefslogtreecommitdiffstats
path: root/skins/Chick.deps.php
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-24 18:01:35 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-24 18:01:35 +0000
commit246b38834224f9575f7b22cf84428ff615cb5acd (patch)
tree9e856efbb5a8f14faedf83432687b2a4bef5c493 /skins/Chick.deps.php
downloadmediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.gz
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.bz2
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.xz
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.zip
add mediawiki themes
Diffstat (limited to 'skins/Chick.deps.php')
-rw-r--r--skins/Chick.deps.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/skins/Chick.deps.php b/skins/Chick.deps.php
new file mode 100644
index 0000000..a7cb084
--- /dev/null
+++ b/skins/Chick.deps.php
@@ -0,0 +1,13 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// Chick.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://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
+
+if ( ! defined( 'MEDIAWIKI' ) )
+ die( 1 );
+
+require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
+require_once( dirname(__FILE__) . '/MonoBook.php' );
+