Similar to getTriggeringUser(). Also propagate it
to subjobs similarly.
Bug: T135959
Change-Id: I3d894acaf3d85b790e5034c7d9f76bf94672f445
$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'] ) {