25 public function tidy( $text ) {
30 $correctedtext = $this->
cleanWrapped( $wrappedtext,
false, $retVal );
33 wfDebug(
"Possible tidy configuration error!\n" );
34 return $text .
"\n<!-- Tidy was unable to run -->\n";
35 } elseif ( is_null( $correctedtext ) ) {
36 wfDebug(
"Tidy error detected!\n" );
37 return $text .
"\n<!-- Tidy found serious XHTML errors -->\n";
40 $correctedtext = $wrapper->postprocess( $correctedtext );
42 return $correctedtext;
45 public function validate( $text, &$errorStr ) {
wfDebug( $text, $dest='all', array $context=[])
Sends a line to the debug log if enabled or, optionally, to a comment in output.
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account incomplete not yet checked for validity & $retval