MediaWiki
1.28.0
|
Public Member Functions | |
supportsValidate () | |
Public Member Functions inherited from MediaWiki\Tidy\RaggettBase | |
tidy ($text) | |
Generic interface for wrapping and unwrapping HTML for Dave Raggett's tidy. More... | |
validate ($text, &$errorStr) | |
Public Member Functions inherited from MediaWiki\Tidy\TidyDriverBase | |
__construct ($config) | |
supportsValidate () | |
Return true if validate() can be used. More... | |
tidy ($text) | |
Clean up HTML. More... | |
validate ($text, &$errorStr) | |
Check HTML for errors, used if $wgValidateAllHtml = true. More... | |
Protected Member Functions | |
cleanWrapped ($text, $stderr=false, &$retval=null) | |
Spawn an external HTML tidy process and get corrected markup back from it. More... | |
Protected Member Functions inherited from MediaWiki\Tidy\RaggettBase | |
cleanWrapped ($text, $stderr=false, &$retval=null) | |
Perform a clean/repair operation. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Tidy\TidyDriverBase | |
$config | |
Definition at line 5 of file RaggettExternal.php.
|
protected |
Spawn an external HTML tidy process and get corrected markup back from it.
Also called in OutputHandler.php for full page validation
string | $text | HTML to check |
bool | $stderr | Whether to read result from STDERR rather than STDOUT |
int | &$retval | Exit code (-1 on internal error) |
Definition at line 15 of file RaggettExternal.php.
References $retval, wfGetNull(), and wfWarn().
MediaWiki\Tidy\RaggettExternal::supportsValidate | ( | ) |
Definition at line 70 of file RaggettExternal.php.