]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb
Update mediawiki to v1.26 branch
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-MobileFrontend.inc.php.erb
index 01c4ffdb07ea83d1132261ab8f6bce84ef404f75..dc906efea5d6ec9f8a4a6be6d3548162080b712a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-require_once( $IP.'/extensions/MobileFrontend/MobileFrontend.php' );
+wfLoadExtension( 'MobileFrontend' );
 
 // Enable detection in PHP. Disable this if you put MW behind a caching layer
 $wgMFAutodetectMobileView = true;