16 if ( !class_exists(
'tidy' ) ) {
17 wfWarn(
"Unable to load internal tidy class." );
24 $tidy->parseString( $text, $this->config[
'tidyConfigFile'],
'utf8' );
28 return $tidy->errorBuffer;
38 $cleansource = tidy_get_output( $tidy );
39 if ( !empty( $this->config[
'debugComment'] ) &&
$retval > 0 ) {
40 $cleansource .=
"<!--\nTidy reports:\n" .
41 str_replace(
'-->',
'-->', $tidy->errorBuffer ) .
wfWarn( $msg, $callerOffset=1, $level=E_USER_NOTICE)
Send a warning either to the debug log or in a PHP error depending on $wgDevelopmentWarnings.
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