42 public static function tidy( $text ) {
46 ': tidy is disabled, caller should have checked MWTidy::isEnabled()' );
48 return $driver->tidy( $text );
63 if ( self::$instance ===
null ) {
94 self::$instance =
null;
$wgTidyConfig
Configuration for HTML postprocessing tool.
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
Class to interact with and configure Remex tidy.
static factory(array $config=null)
Create a new Tidy driver object from configuration.
static setInstance( $instance)
Set the driver to be used.
static destroySingleton()
Destroy the current singleton instance.
static tidy( $text)
Interface with Remex tidy.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))