X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=blobdiff_plain;f=includes%2FRevision%2FMutableRevisionRecord.php;h=8bb2c89893d3f7b19f3e758e61f68e5f68ecc6ef;hb=c659bc63087b10d8765056500a8ed4bce6cfdbf4;hp=f287c05db7b0cb27c780ff0eeb617b454274c234;hpb=69d27cc0b6d779af8d870fd0e8ccb5cd41f887ab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision/MutableRevisionRecord.php b/includes/Revision/MutableRevisionRecord.php index f287c05db7..8bb2c89893 100644 --- a/includes/Revision/MutableRevisionRecord.php +++ b/includes/Revision/MutableRevisionRecord.php @@ -37,6 +37,7 @@ use Wikimedia\Assert\Assert; * * @since 1.31 * @since 1.32 Renamed from MediaWiki\Storage\MutableRevisionRecord + * @property MutableRevisionSlots $mSlots */ class MutableRevisionRecord extends RevisionRecord { @@ -70,17 +71,14 @@ class MutableRevisionRecord extends RevisionRecord { * in RevisionStore instead. * * @param Title $title The title of the page this Revision is associated with. - * @param bool|string $wikiId the wiki ID of the site this Revision belongs to, - * or false for the local site. + * @param bool|string $dbDomain DB domain of the relevant wiki or false for the current one. * * @throws MWException */ - function __construct( Title $title, $wikiId = false ) { + function __construct( Title $title, $dbDomain = false ) { $slots = new MutableRevisionSlots(); - parent::__construct( $title, $slots, $wikiId ); - - $this->mSlots = $slots; // redundant, but nice for static analysis + parent::__construct( $title, $slots, $dbDomain ); } /**