dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94dea7
)
Replace deprecated use of $wgUseTidy in Special:ExpandTemplates
author
C. Scott Ananian
<cscott@cscott.net>
Thu, 27 Sep 2018 17:33:13 +0000
(13:33 -0400)
committer
Krinkle
<krinklemail@gmail.com>
Fri, 28 Sep 2018 22:21:55 +0000
(22:21 +0000)
This use managed to escape my notice in
I2e7d990da1da378eb6e828d4b3c0f5a41791dd92. Note that $wgUseTidy
has actually been false in production since
Idf246d05d116f63a73105b50a1929a7721fbe7b9.
Bug: T175706
Change-Id: I684be210c6efde5b5eb4dca163d45b2701df7555
includes/specials/SpecialExpandTemplates.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialExpandTemplates.php
b/includes/specials/SpecialExpandTemplates.php
index
73ca76b
..
4587d40
100644
(file)
--- a/
includes/specials/SpecialExpandTemplates.php
+++ b/
includes/specials/SpecialExpandTemplates.php
@@
-115,7
+115,7
@@
class SpecialExpandTemplates extends SpecialPage {
}
$config = $this->getConfig();
- if (
$config->get( 'UseTidy'
) && $options->getTidy() ) {
+ if (
MWTidy::isEnabled(
) && $options->getTidy() ) {
$tmp = MWTidy::tidy( $tmp );
}