]> git.openstreetmap.org Git - chef.git/commitdiff
Re-enable wikdiff2
authorTom Hughes <tom@compton.nu>
Sat, 25 Feb 2017 20:26:35 +0000 (20:26 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 25 Feb 2017 20:26:35 +0000 (20:26 +0000)
cookbooks/mediawiki/recipes/default.rb
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index ffd0f0d1fd1d4ab615793d7fa7776c7d89fad91d..2ecaaa4ebe5f30dacc53ea8f4304b4694bfbe0a7 100644 (file)
@@ -67,11 +67,7 @@ end
 apache_module "php7.0"
 
 link "/etc/php/7.0/apache2/conf.d/20-wikidiff2.ini" do
-  action :delete
+  to "../../mods-available/wikidiff2.ini"
 end
 
-# link "/etc/php/7.0/apache2/conf.d/20-wikidiff2.ini" do
-#   to "../../mods-available/wikidiff2.ini"
-# end
-
 apache_module "rewrite"
index 9f2e7f5a2805797de912b80515f2d64c81d1ff66..80a5e8710e29e62b7accfe9055ecefa01318f06b 100644 (file)
@@ -149,7 +149,7 @@ $wgRightsIcon = "/cc-wiki.png";
 # Path to the GNU diff3 utility. Used for conflict resolution.
 $wgDiff3 = "/usr/bin/diff3";
 
-#$wgExternalDiffEngine = 'wikidiff2';
+$wgExternalDiffEngine = 'wikidiff2';
 
 # Query string length limit for ResourceLoader. You should only set this if
 # your web server has a query string length limit (then set it to that limit),