* Class representing a list of titles
* The execute() method checks them all for existence and adds them to a LinkCache object
*
- * @addtogroup Cache
+ * @ingroup Cache
*/
class LinkBatch {
/**
$sql = "SELECT page_id, page_namespace, page_title, page_len, page_is_redirect FROM $page WHERE $set";
// Do query
- $res = new ResultWrapper( $dbr, $dbr->query( $sql, __METHOD__ ) );
+ $res = $dbr->query( $sql, __METHOD__ );
wfProfileOut( __METHOD__ );
return $res;
}
/**
* Construct a WHERE clause which will match all the given titles.
*
- * @param string $prefix the appropriate table's field name prefix ('page', 'pl', etc)
- * @return string
- * @public
+ * @param $prefix String: the appropriate table's field name prefix ('page', 'pl', etc)
+ * @param $db DatabaseBase object to use
+ * @return String
*/
public function constructSet( $prefix, &$db ) {
$first = true;