dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Special:Newpages feed now shows first revision instead of latest revision"
[lhc/web/wiklou.git]
/
includes
/
cache
/
LinkBatch.php
diff --git
a/includes/cache/LinkBatch.php
b/includes/cache/LinkBatch.php
index
77ab2d5
..
38cb6be
100644
(file)
--- a/
includes/cache/LinkBatch.php
+++ b/
includes/cache/LinkBatch.php
@@
-23,6
+23,7
@@
use MediaWiki\Linker\LinkTarget;
use MediaWiki\MediaWikiServices;
use Wikimedia\Rdbms\ResultWrapper;
use MediaWiki\Linker\LinkTarget;
use MediaWiki\MediaWikiServices;
use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\IDatabase;
/**
* Class representing a list of titles
/**
* Class representing a list of titles
@@
-42,7
+43,6
@@
class LinkBatch {
protected $caller;
/**
protected $caller;
/**
- * LinkBatch constructor.
* @param LinkTarget[] $arr Initial items to be added to the batch
*/
public function __construct( $arr = [] ) {
* @param LinkTarget[] $arr Initial items to be added to the batch
*/
public function __construct( $arr = [] ) {
@@
-131,7
+131,7
@@
class LinkBatch {
* Do the query and add the results to a given LinkCache object
* Return an array mapping PDBK to ID
*
* Do the query and add the results to a given LinkCache object
* Return an array mapping PDBK to ID
*
- * @param LinkCache $cache
+ * @param LinkCache
&
$cache
* @return array Remaining IDs
*/
protected function executeInto( &$cache ) {
* @return array Remaining IDs
*/
protected function executeInto( &$cache ) {