|
MediaWiki
master
|
Initialize and detect the tidy support. More...
Public Member Functions | |
| __construct ($useConfiguration=false) | |
| Determine if there is a usable tidy. More... | |
| getConfig () | |
| isEnabled () | |
| Returns true if tidy is usable. More... | |
Private Attributes | |
| $config | |
| $enabled | |
Initialize and detect the tidy support.
Definition at line 839 of file testHelpers.inc.
| TidySupport::__construct | ( | $useConfiguration = false | ) |
Determine if there is a usable tidy.
Definition at line 846 of file testHelpers.inc.
References $IP, $path, $wgTidyBin, $wgTidyConf, $wgTidyConfig, $wgTidyInternal, $wgTidyOpts, $wgUseTidy, global, Installer\locateExecutableInDefaultPaths(), and wfIsHHVM().
| TidySupport::getConfig | ( | ) |
Definition at line 905 of file testHelpers.inc.
References $config.
| TidySupport::isEnabled | ( | ) |
Returns true if tidy is usable.
Definition at line 901 of file testHelpers.inc.
References $enabled.
|
private |
Definition at line 841 of file testHelpers.inc.
Referenced by getConfig().
|
private |
Definition at line 840 of file testHelpers.inc.
Referenced by isEnabled().