]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb
set default mobile skin to Minerva
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-MobileFrontend.inc.php.erb
index 5fb6b2ce22807dc84958329d4cccda8f683ab191..dc6834123b6bfd3b83edd509a646ddc9f53cc9d8 100644 (file)
@@ -1,9 +1,10 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
 
-#!!! NEEDS REQUIRE !!!
-require_once "$IP/extensions/MobileFrontend/MobileFrontend.php";
-#!!! NEEDS REQUIRE !!!
+wfLoadExtension('MobileFrontend');
 
 // Enable detection in PHP. Disable this if you put MW behind a caching layer
 $wgMFAutodetectMobileView = true;
+
+// Set the default skin
+$wgMFDefaultSkinClass = 'SkinMinerva';