// Store any extra fields requested by modules
$this->processDbRow( $row );
}
- $db->freeResult( $res );
if ( isset( $remaining ) ) {
// Any items left in the $remaining list are added as missing
$pageids[$pageid] = '';
unset( $remaining[$revid] );
}
- $db->freeResult( $res );
$this->profileDBOut();
$this->mMissingRevIDs = array_keys( $remaining );
}
$this->mRedirectTitles[$from] = $to;
}
- $db->freeResult( $res );
+
if ( $this->mPendingRedirectIDs ) {
// We found pages that aren't in the redirect table
// Add them
}
}
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'c' );
$pageids[] = $row->pl_from;
}
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'l' );
}
}
- $db->freeResult( $res );
-
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'u' );
}
$titles[] = Title::makeTitle( NS_IMAGE, $row->img_name );
}
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'img' );
$resultPageSet->processDbRow( $row );
}
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'p' );
$resultPageSet->processDbRow( $row );
}
}
- $db->freeResult( $res );
if ( $this->redirect && count( $this->redirTitles ) ) {
$this->resetQueryParams();
$resultPageSet->processDbRow( $row );
}
}
- $db->freeResult( $res );
}
if ( is_null( $resultPageSet ) ) {
// Try to add the result data in one go and pray that it fits
}
$resultPageSet->populateFromTitles( $titles );
}
-
- $db->freeResult( $res );
}
public function getAllowedParams() {
break;
}
}
- $db->freeResult( $res );
}
public function getAllowedParams() {
}
$lastSortKey = $row->cl_sortkey; // detect duplicate sortkeys
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$this->getResult()->setIndexedTagName_internal(
break;
}
}
- $db->freeResult( $res );
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'page' );
}
if ( !is_null( $resultPageSet ) ) {
$resultPageSet->populateFromTitles( $titles );
}
- $db->freeResult( $res );
}
public function getAllowedParams() {
$resultPageSet->processDbRow( $row );
}
}
- $db->freeResult( $res );
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ),
break;
}
}
- $db->freeResult( $res );
}
public function getAllowedParams() {
break;
}
}
- $db->freeResult( $res );
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'fa' );
}
break;
}
}
- $db->freeResult( $res );
$this->getResult()->setIndexedTagName_internal(
array( 'query', $this->getModuleName() ),
break;
}
}
- $db->freeResult( $res );
}
public function getAllowedParams() {
}
$resultPageSet->populateFromTitles( $titles );
}
-
- $db->freeResult( $res );
}
public function getAllowedParams() {
}
}
}
- $db->freeResult( $res );
}
// Get protections for missing titles
'expiry' => Block::decodeExpiry( $row->pt_expiry, TS_ISO_8601 )
);
}
- $db->freeResult( $res );
}
// Cascading protections
'source' => $source->getPrefixedText()
);
}
- $db->freeResult( $res );
}
if ( count( $images ) ) {
'source' => $source->getPrefixedText()
);
}
- $db->freeResult( $res );
}
}
break;
}
}
- $db->freeResult( $res );
}
public function getAllowedParams() {
}
$resultPageSet->populateFromTitles( $titles );
}
-
- $db->freeResult( $res );
}
public function getAllowedParams() {
break;
}
}
- $db->freeResult( $res );
-
$this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'item' );
}
$titles[] = $title;
}
}
- $db->freeResult( $res );
+
if ( is_null( $resultPageSet ) ) {
$result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), $this->getModulePrefix() );
} else {
$resultPageSet->processDbRow( $row );
}
}
- $db->freeResult( $res );
+
return $count;
}
}
}
- $db->freeResult( $res );
-
/* Format the result */
$this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'rc' );
}
break;
}
}
- $db->freeResult( $res );
}
private function extractRowInfo( $row ) {
$data[] = $val;
}
- $db->freeResult( $res );
$this->getResult()->setIndexedTagName( $data, 'iw' );
return $this->getResult()->addValue( 'query', $property, $data );
}
}
- // Free the database record so the connection can get on with other stuff
- $db->freeResult( $res );
-
$this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'item' );
}
}
}
- $db->freeResult( $res );
-
if ( is_null( $resultPageSet ) ) {
$this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'item' );
} elseif ( $params['allrev'] ) {