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 "Get ConfigFactory & MainConfig from MediaWikiServices"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryUserContributions.php
diff --git
a/includes/api/ApiQueryUserContributions.php
b/includes/api/ApiQueryUserContributions.php
index
f92a916
..
b85bec4
100644
(file)
--- a/
includes/api/ApiQueryUserContributions.php
+++ b/
includes/api/ApiQueryUserContributions.php
@@
-111,8
+111,9
@@
class ApiQueryContributions extends ApiQueryBase {
$this->prepareQuery();
$this->prepareQuery();
+ $hookData = [];
// Do the actual query.
// Do the actual query.
- $res = $this->select( __METHOD__ );
+ $res = $this->select( __METHOD__
, [], $hookData
);
if ( $this->fld_sizediff ) {
$revIds = [];
if ( $this->fld_sizediff ) {
$revIds = [];
@@
-139,7
+140,8
@@
class ApiQueryContributions extends ApiQueryBase {
}
$vals = $this->extractRowInfo( $row );
}
$vals = $this->extractRowInfo( $row );
- $fit = $this->getResult()->addValue( [ 'query', $this->getModuleName() ], null, $vals );
+ $fit = $this->processRow( $row, $vals, $hookData ) &&
+ $this->getResult()->addValue( [ 'query', $this->getModuleName() ], null, $vals );
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', $this->continueStr( $row ) );
break;
if ( !$fit ) {
$this->setContinueEnumParameter( 'continue', $this->continueStr( $row ) );
break;