$this->mRevision = $revision;
}
+ /**
+ * @since 1.28
+ * @return null|Revision
+ */
+ public function getRevision() {
+ return $this->mRevision;
+ }
+
/**
* Set the User who triggered this LinksUpdate
*
// Needed by things like Echo notifications which need
// to know which user caused the links update
if ( $update instanceof LinksUpdate ) {
+ $update->setRevision( $revision );
if ( !empty( $this->params['triggeringUser'] ) ) {
$userInfo = $this->params['triggeringUser'];
if ( $userInfo['userId'] ) {