]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb
Set $wgCanonicalServer to change links in confirmation emails to https
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-TitleBlacklist.inc.php.erb
index df595fe28d5a37a1fbdba3a7cbdb538e46f1f51b..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',
   ),
 );