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
Merge "ImageListPager: Actor migration for buildQueryConds()"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialExpandTemplates.php
diff --git
a/includes/specials/SpecialExpandTemplates.php
b/includes/specials/SpecialExpandTemplates.php
index
73ca76b
..
619665b
100644
(file)
--- a/
includes/specials/SpecialExpandTemplates.php
+++ b/
includes/specials/SpecialExpandTemplates.php
@@
-115,8
+115,10
@@
class SpecialExpandTemplates extends SpecialPage {
}
$config = $this->getConfig();
}
$config = $this->getConfig();
- if (
$config->get( 'UseTidy'
) && $options->getTidy() ) {
+ if (
MWTidy::isEnabled(
) && $options->getTidy() ) {
$tmp = MWTidy::tidy( $tmp );
$tmp = MWTidy::tidy( $tmp );
+ } else {
+ wfDeprecated( 'disabling tidy', '1.33' );
}
$out->addHTML( $tmp );
}
$out->addHTML( $tmp );