X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision%2FMutableRevisionRecord.php;h=8bb2c89893d3f7b19f3e758e61f68e5f68ecc6ef;hb=11c82a8660fa01f4407c8551b77ec58006b087e8;hp=f287c05db7b0cb27c780ff0eeb617b454274c234;hpb=7c091e68e9e9f8dcc5c09353671566f24719009b;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 ); } /**