dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace deprecated use of $wgUseTidy in Special:ExpandTemplates
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialExpandTemplates.php
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 );
}