From 1ebe519fb753057e4fcc2a02401cc6d2c20cee14 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 2 Aug 2022 23:25:59 +0300 Subject: [PATCH] mediawiki: Enable CategoryTree on all wikis --- cookbooks/mediawiki/resources/site.rb | 5 +++++ cookbooks/wiki/recipes/default.rb | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 6763797dd..0508bcbad 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -386,6 +386,11 @@ action :create do update_site false end + mediawiki_extension "CategoryTree" do + site new_resource.site + update_site false + end + mediawiki_extension "cldr" do site new_resource.site template "mw-ext-cldr.inc.php.erb" diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index 3a032ee3d..ef0d16b8b 100644 --- a/cookbooks/wiki/recipes/default.rb +++ b/cookbooks/wiki/recipes/default.rb @@ -60,10 +60,6 @@ mediawiki_site "wiki.openstreetmap.org" do # site_readonly "MAINTENANCE: WIKI READ-ONLY UNTIL Monday 16 May 2016 - 11:00am UTC/GMT." end -mediawiki_extension "CategoryTree" do - site "wiki.openstreetmap.org" -end - mediawiki_extension "CodeEditor" do site "wiki.openstreetmap.org" end -- 2.39.5