while( $s = wfFetchObject( $res ) ) {
$t = Title::makeTitle( $s->wl_namespace, $s->wl_title );
if( is_null( $t ) ) {
- $wgOut->addHTML( '<!-- bad title \"' . htmlspecialchars( $s->wl_title ) . '\" in namespace ' . IntVal( $s->wl_namespace ) . " -->\n" );
+ $wgOut->addHTML( '<!-- bad title "' . htmlspecialchars( $s->wl_title ) . '" in namespace ' . IntVal( $s->wl_namespace ) . " -->\n" );
} else {
$t = $t->getPrefixedText();
$wgOut->addHTML( "<li><input type='checkbox' name='id[]' value=\"" . htmlspecialchars($t) . "\" />" .