}
/**
- * Add a ResultWrapper containing IDs and titles to a LinkCache object.
+ * Add a result wrapper containing IDs and titles to a LinkCache object.
* As normal, titles will go into the static Title cache field.
* This function *also* stores extra fields of the title used for link
* parsing to avoid extra DB queries.
}
/**
- * Perform the existence test query, return a ResultWrapper with page_id fields
+ * Perform the existence test query, return a result wrapper with page_id fields
* @return bool|IResultWrapper
*/
public function doQuery() {
* @defgroup Dump Dump
*/
-use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\IResultWrapper;
use Wikimedia\Rdbms\IDatabase;
/**
* The result set should be sorted/grouped by page to avoid duplicate
* page records in the output.
*
- * @param ResultWrapper $results
+ * @param IResultWrapper $results
* @param object $lastRow the last row output from the previous call (or null if none)
* @return object the last row processed
*/
}
/**
- * @param ResultWrapper $resultset
+ * @param IResultWrapper $resultset
* @return int the log_id value of the last item output, or null if none
*/
protected function outputLogStream( $resultset ) {
# an OutputPage, and let them get on with it
$this->outputResults( $out,
$this->getSkin(),
- $dbr, # Should use a ResultWrapper for this
+ $dbr, # Should use IResultWrapper for this
$res,
min( $this->numRows, $this->limit ), # do not format the one extra row, if exist
$this->offset );
}
/**
- * Creates a new LinkBatch object, adds all pages from the passed ResultWrapper (MUST include
+ * Creates a new LinkBatch object, adds all pages from the passed result wrapper (MUST include
* title and optional the namespace field) and executes the batch. This operation will pre-cache
* LinkCache information like page existence and information for stub color and redirect hints.
*
- * @param IResultWrapper $res The ResultWrapper object to process. Needs to include the title
+ * @param IResultWrapper $res The result wrapper to process. Needs to include the title
* field and namespace field, if the $ns parameter isn't set.
- * @param null $ns Use this namespace for the given titles in the ResultWrapper object,
+ * @param null $ns Use this namespace for the given titles in the result wrapper,
* instead of the namespace value of $res.
*/
protected function executeLBFromResultWrapper( IResultWrapper $res, $ns = null ) {