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 "http: Support HTTP Basic Authentication"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryRevisions.php
diff --git
a/includes/api/ApiQueryRevisions.php
b/includes/api/ApiQueryRevisions.php
index
b816f43
..
3259927
100644
(file)
--- a/
includes/api/ApiQueryRevisions.php
+++ b/
includes/api/ApiQueryRevisions.php
@@
-313,7
+313,8
@@
class ApiQueryRevisions extends ApiQueryRevisionsBase {
$count = 0;
$generated = [];
$count = 0;
$generated = [];
- $res = $this->select( __METHOD__ );
+ $hookData = [];
+ $res = $this->select( __METHOD__, [], $hookData );
foreach ( $res as $row ) {
if ( ++$count > $this->limit ) {
foreach ( $res as $row ) {
if ( ++$count > $this->limit ) {
@@
-350,7
+351,8
@@
class ApiQueryRevisions extends ApiQueryRevisionsBase {
}
}
}
}
- $fit = $this->addPageSubItem( $row->rev_page, $rev, 'rev' );
+ $fit = $this->processRow( $row, $rev, $hookData ) &&
+ $this->addPageSubItem( $row->rev_page, $rev, 'rev' );
if ( !$fit ) {
if ( $enumRevMode ) {
$this->setContinueEnumParameter( 'continue',
if ( !$fit ) {
if ( $enumRevMode ) {
$this->setContinueEnumParameter( 'continue',