$retVal = array();
if ( $db->numRows( $res ) ) {
foreach ( $res as $row ) {
- $titleObj = Title::makeTitle( $row->page_namespace, $row->page_title )
+ $titleObj = Title::makeTitle( $row->page_namespace, $row->page_title );
if ( $titleObj ) {
$linkCache->addGoodLinkObj( $row->page_id, $titleObj, $row->page_len, $row->page_is_redirect, $row->page_latest );
$retVal[] = $titleObj;
$retVal = array();
if ( $db->numRows( $res ) ) {
foreach ( $res as $row ) {
- $titleObj = Title::newFromRow( $row )
+ $titleObj = Title::newFromRow( $row );
if ( $titleObj ) {
$linkCache->addGoodLinkObj( $row->page_id, $titleObj, $row->page_len, $row->page_is_redirect, $row->page_latest );
$retVal[] = $titleObj;
$len = $chunk + 1; # Counting down is faster. I'm *so* sorry.
for( $i = -1; --$len; ) {
- $remaining = $tailBytes[$c = $str{++$i}]
+ $remaining = $tailBytes[$c = $str{++$i}];
if( $remaining ) {
# UTF-8 head byte!
$sequence = $head = $c;