From: saper Date: Thu, 15 Oct 2015 07:08:02 +0000 (+0200) Subject: Remove wgAlwaysUseTidy from ExpandTemplates X-Git-Tag: 1.31.0-rc.0~9317 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9dba751a8a70979c5fbe2a51ef8366837441d07e;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ); }