From: Tigerfell Date: Tue, 23 Apr 2019 16:44:50 +0000 (+0200) Subject: allow sysops to modify interwiki table X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/5cd3bc42381500d68db6ed83daa705f38063d620 allow sysops to modify interwiki table --- diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 381f7d3aa..430cba884 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -262,6 +262,7 @@ action :create do mediawiki_extension "Interwiki" do site new_resource.site + template "mw-ext-Interwiki.inc.php.erb" update_site false end diff --git a/cookbooks/mediawiki/templates/default/mw-ext-Interwiki.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-Interwiki.inc.php.erb new file mode 100644 index 000000000..ba63a972b --- /dev/null +++ b/cookbooks/mediawiki/templates/default/mw-ext-Interwiki.inc.php.erb @@ -0,0 +1,5 @@ +