- throw new MWException( "$classOrCallback from \$wgContentHandlers is not " .
- "compatible with ContentHandler" );
+ throw new MWException(
+ var_export( $classOrCallback, true ) . " from \$wgContentHandlers is not " .
+ "compatible with ContentHandler"
+ );
// Now replace the '$1' placeholder
$reason = str_replace( '$1', $text, $reason );
// Now replace the '$1' placeholder
$reason = str_replace( '$1', $text, $reason );