saper has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246476
Change subject: Remove wgAlwaysUseTidy from ExpandTemplates
......................................................................
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
---
M includes/specials/SpecialExpandTemplates.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/76/246476/1
diff --git a/includes/specials/SpecialExpandTemplates.php
b/includes/specials/SpecialExpandTemplates.php
index b7582e6..06eb276 100644
--- a/includes/specials/SpecialExpandTemplates.php
+++ b/includes/specials/SpecialExpandTemplates.php
@@ -114,7 +114,7 @@
}
$config = $this->getConfig();
- if ( ( $config->get( 'UseTidy' ) && $options->getTidy()
) || $config->get( 'AlwaysUseTidy' ) ) {
+ if ( $config->get( 'UseTidy' ) && $options->getTidy() )
{
$tmp = MWTidy::tidy( $tmp );
}
--
To view, visit https://gerrit.wikimedia.org/r/246476
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba16f12f50f7427533f89817eb40f46a2ab58ec4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: saper <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits