'patch-change_tag-change_tag_rc_tag_id.sql' ],
[ 'addField', 'ipblocks', 'ipb_sitewide', 'patch-ipb_sitewide.sql' ],
[ 'addTable', 'ipblocks_restrictions', 'patch-ipblocks_restrictions-table.sql' ],
+ [ 'migrateImageCommentTemp' ],
];
}
foreach ( $rows as $row ) {
if ( $prev_title == $row->cur_title && $prev_namespace == $row->cur_namespace ) {
- $deleteId[] = $row->cur_id;
+ $deleteId[] = (int)$row->cur_id;
}
$prev_title = $row->cur_title;
$prev_namespace = $row->cur_namespace;
if ( $count == 0 ) {
$lbFactory = $services->getDBLoadBalancerFactory();
$lbFactory->waitForReplication( [
- 'wiki' => wfWikiID(), 'timeout' => self::REPLICATION_WAIT_TIMEOUT ] );
+ 'domain' => $lbFactory->getLocalDomainID(),
+ 'timeout' => self::REPLICATION_WAIT_TIMEOUT
+ ] );
}
$this->db->insert( 'templatelinks',
[