FROM $querycache WHERE qc_type='$type'";
}
if( $wgMiserMode ) {
- $wgOut->addWikiText( wfMsg( "perfcached" ) );
+ $wgOut->addWikiText( wfMsg( 'perfcached' ) );
}
}
if ( $res === false ) {
$s .= "<li{$attr}>{$format}</li>\n";
}
$dbr->freeResult( $res );
- $s .= "</ol>";
+ $s .= '</ol>';
$wgOut->addHTML( $s );
$wgOut->addHTML( "<p>{$sl}</p>\n" );
}
}
if( isset( $row->text ) ) {
- $text = "<p>" . htmlspecialchars( wfMsg( "summary" ) ) . ": " . $text . "</p>\n<hr />\n<div>" .
+ $text = '<p>' . htmlspecialchars( wfMsg( 'summary' ) ) . ': ' . $text . "</p>\n<hr />\n<div>" .
nl2br( htmlspecialchars( $row->text ) ) . "</div>";;
}
return $text;
}
function feedDesc() {
- return wfMsg( "fromwikipedia" );
+ return wfMsg( 'fromwikipedia' );
}
function feedUrl() {
function formatResult( $skin, $result ) {
$nt = Title::makeTitle( $result->namespace, $result->title );
- return $skin->makeKnownLinkObj( $nt, "" );
+ return $skin->makeKnownLinkObj( $nt, '' );
}
}