]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb
Re-add interwiki extension (accidentally removed previously)
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-TitleBlacklist.inc.php.erb
index 3a552eb10188ccc4af87704fd750fcd05772310f..7f1dc889409e33ad485e3a02e483c8a20cf39e38 100644 (file)
@@ -1,13 +1,13 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-require_once($IP .'/extensions/TitleBlacklist/TitleBlacklist.php');
+wfLoadExtension( 'TitleBlacklist' );
 $wgTitleBlacklistSources = array(
   array(
-    'type' => TBLSRC_LOCALPAGE,
+    'type' => 'localpage',
     'src'  => 'MediaWiki:Titleblacklist',
   ),
   array(
-    'type' => TBLSRC_URL,
-    'src'  => 'http://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
+    'type' => 'url',
+    'src'  => 'https://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
   ),
 );