X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Frevisiondelete%2FRevDelList.php;h=74dd7bc58ef8a0c182ce52ae1410dc970016c8e3;hb=cb5acb42ce62b2d600dfb4e11a2982602b670a2f;hp=680ae8e52f88443066b868a22b64e1384c19efc1;hpb=16b53c9085a1b46e28f799c67596909b47a3d30f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/revisiondelete/RevDelList.php b/includes/revisiondelete/RevDelList.php index 680ae8e52f..74dd7bc58e 100644 --- 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. + * + * @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 ) { @@ -394,7 +400,7 @@ abstract class RevDelList extends RevisionListBase { } $logEntry->setRelations( $relations ); // Apply change tags to the log entry - $logEntry->setTags( $params['tags'] ); + $logEntry->addTags( $params['tags'] ); $logId = $logEntry->insert(); $logEntry->publish( $logId ); }