From 5cd3bc42381500d68db6ed83daa705f38063d620 Mon Sep 17 00:00:00 2001 From: Tigerfell Date: Tue, 23 Apr 2019 18:44:50 +0200 Subject: [PATCH 1/1] allow sysops to modify interwiki table --- cookbooks/mediawiki/resources/site.rb | 1 + .../mediawiki/templates/default/mw-ext-Interwiki.inc.php.erb | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 cookbooks/mediawiki/templates/default/mw-ext-Interwiki.inc.php.erb 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 @@ +