]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb
Convert MobileFrontend mediawiki extension to use wfLoadExtension
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-MobileFrontend.inc.php.erb
index 5fb6b2ce22807dc84958329d4cccda8f683ab191..8057d9d24d814667cff8c7f17513b7ed52873015 100644 (file)
@@ -1,9 +1,7 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
 
 <?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;
 
 // Enable detection in PHP. Disable this if you put MW behind a caching layer
 $wgMFAutodetectMobileView = true;