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 "Make DBAccessBase use DBConnRef, rename $wiki, and hide getLoadBalancer()"
[lhc/web/wiklou.git]
/
includes
/
revisiondelete
/
RevDelList.php
diff --git
a/includes/revisiondelete/RevDelList.php
b/includes/revisiondelete/RevDelList.php
index
680ae8e
..
74dd7bc
100644
(file)
--- a/
includes/revisiondelete/RevDelList.php
+++ b/
includes/revisiondelete/RevDelList.php
@@
-27,6
+27,12
@@
use MediaWiki\Storage\RevisionRecord;
* needs to be able to make a query from a set of identifiers to pull
* relevant rows, to return RevDelItem subclasses wrapping them, and
* to wrap bulk update operations.
* needs to be able to make a query from a set of identifiers to pull
* relevant rows, to return RevDelItem subclasses wrapping them, and
* to wrap bulk update operations.
+ *
+ * @property RevDelItem $current
+ * @method RevDelItem next()
+ * @method RevDelItem reset()
+ * @method RevDelItem current()
+ * @phan-file-suppress PhanParamSignatureMismatch
*/
abstract class RevDelList extends RevisionListBase {
function __construct( IContextSource $context, Title $title, array $ids ) {
*/
abstract class RevDelList extends RevisionListBase {
function __construct( IContextSource $context, Title $title, array $ids ) {
@@
-394,7
+400,7
@@
abstract class RevDelList extends RevisionListBase {
}
$logEntry->setRelations( $relations );
// Apply change tags to the log entry
}
$logEntry->setRelations( $relations );
// Apply change tags to the log entry
- $logEntry->
set
Tags( $params['tags'] );
+ $logEntry->
add
Tags( $params['tags'] );
$logId = $logEntry->insert();
$logEntry->publish( $logId );
}
$logId = $logEntry->insert();
$logEntry->publish( $logId );
}