Translations:Manual:$wgTidyInternal/7/en

Add $extension to $ini; set $UseTidy in $LocalSettings; finally, restart apache.