]> 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 c7c9810706ed883c6a08aedf5bf2a9c81f8be58f..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,
+    'type' => 'url',
     'src'  => 'https://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
   ),
 );