dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Type hint against LinkTarget in WatchedItemStore"
[lhc/web/wiklou.git]
/
includes
/
Revision
/
RevisionArchiveRecord.php
diff --git
a/includes/Revision/RevisionArchiveRecord.php
b/includes/Revision/RevisionArchiveRecord.php
index
67dc9b2
..
6e8db7f
100644
(file)
--- a/
includes/Revision/RevisionArchiveRecord.php
+++ b/
includes/Revision/RevisionArchiveRecord.php
@@
-54,8
+54,7
@@
class RevisionArchiveRecord extends RevisionRecord {
* @param object $row An archive table row. Use RevisionStore::getArchiveQueryInfo() to build
* a query that yields the required fields.
* @param RevisionSlots $slots The slots of this revision.
* @param object $row An archive table row. Use RevisionStore::getArchiveQueryInfo() 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,
*/
function __construct(
Title $title,
@@
-63,9
+62,9
@@
class RevisionArchiveRecord extends RevisionRecord {
CommentStoreComment $comment,
$row,
RevisionSlots $slots,
CommentStoreComment $comment,
$row,
RevisionSlots $slots,
- $
wikiId
= false
+ $
dbDomain
= false
) {
) {
- parent::__construct( $title, $slots, $
wikiId
);
+ parent::__construct( $title, $slots, $
dbDomain
);
Assert::parameterType( 'object', $row, '$row' );
$timestamp = wfTimestamp( TS_MW, $row->ar_timestamp );
Assert::parameterType( 'object', $row, '$row' );
$timestamp = wfTimestamp( TS_MW, $row->ar_timestamp );