Merge "Add config for serving main Page from the domain root"
[lhc/web/wiklou.git] / includes / Revision / RevisionStoreRecord.php
index 955cc82..dabf62b 100644 (file)
@@ -51,8 +51,7 @@ class RevisionStoreRecord extends RevisionRecord {
         * @param object $row A row from the revision table. Use RevisionStore::getQueryInfo() to build
         *        a query that yields the required fields.
         * @param RevisionSlots $slots The slots of this revision.
-        * @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.
         */
        function __construct(
                Title $title,
@@ -60,9 +59,9 @@ class RevisionStoreRecord extends RevisionRecord {
                CommentStoreComment $comment,
                $row,
                RevisionSlots $slots,
-               $wikiId = false
+               $dbDomain = false
        ) {
-               parent::__construct( $title, $slots, $wikiId );
+               parent::__construct( $title, $slots, $dbDomain );
                Assert::parameterType( 'object', $row, '$row' );
 
                $this->mId = intval( $row->rev_id );
@@ -152,7 +151,7 @@ class RevisionStoreRecord extends RevisionRecord {
 
        /**
         * @throws RevisionAccessException if the size was unknown and could not be calculated.
-        * @return string The nominal revision size, never null. May be computed on the fly.
+        * @return int The nominal revision size, never null. May be computed on the fly.
         */
        public function getSize() {
                // If length is null, calculate and remember it (potentially SLOW!).