From 9dba751a8a70979c5fbe2a51ef8366837441d07e Mon Sep 17 00:00:00 2001 From: saper Date: Thu, 15 Oct 2015 09:08:02 +0200 Subject: [PATCH] Remove wgAlwaysUseTidy from ExpandTemplates Fixes ConfigException: Exception encountered, of type "ConfigException" [1235d69e] index.php/Special:ExpandTemplates ConfigException from line 53 of includes/config/GlobalVarConfig.php: GlobalVarConfig::get: undefined option: 'AlwaysUseTidy' Backtrace: includes/specials/SpecialExpandTemplates.php(117): GlobalVarConfig->get(string) i includes/specialpage/SpecialPage.php(384): SpecialExpandTemplates->execute(NULL) Change-Id: Iba16f12f50f7427533f89817eb40f46a2ab58ec4 --- includes/specials/SpecialExpandTemplates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php index b7582e6c62..06eb276944 100644 --- a/includes/specials/SpecialExpandTemplates.php +++ b/includes/specials/SpecialExpandTemplates.php @@ -114,7 +114,7 @@ class SpecialExpandTemplates extends SpecialPage { } $config = $this->getConfig(); - if ( ( $config->get( 'UseTidy' ) && $options->getTidy() ) || $config->get( 'AlwaysUseTidy' ) ) { + if ( $config->get( 'UseTidy' ) && $options->getTidy() ) { $tmp = MWTidy::tidy( $tmp ); } -- 2.20.1