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
SpecialNewpages: add $attribs['class'] immediately before creating <li>
[lhc/web/wiklou.git]
/
includes
/
RevisionList.php
diff --git
a/includes/RevisionList.php
b/includes/RevisionList.php
index
53cf699
..
b0bc60a
100644
(file)
--- a/
includes/RevisionList.php
+++ b/
includes/RevisionList.php
@@
-21,6
+21,8
@@
*/
use MediaWiki\MediaWikiServices;
*/
use MediaWiki\MediaWikiServices;
+use Wikimedia\Rdbms\ResultWrapper;
+use Wikimedia\Rdbms\IDatabase;
/**
* List for revision table items for a single page
/**
* List for revision table items for a single page
@@
-35,7
+37,7
@@
abstract class RevisionListBase extends ContextSource implements Iterator {
/** @var ResultWrapper|bool */
protected $res;
/** @var ResultWrapper|bool */
protected $res;
- /** @var bool|
object
*/
+ /** @var bool|
Revision
*/
protected $current;
/**
protected $current;
/**
@@
-114,7
+116,7
@@
abstract class RevisionListBase extends ContextSource implements Iterator {
}
public function key() {
}
public function key() {
- return $this->res ? $this->res->key(): 0;
+ return $this->res ? $this->res->key()
: 0;
}
public function valid() {
}
public function valid() {