use MediaWiki\Permissions\PermissionManager;
use MovePage;
use NamespaceInfo;
+use RepoGroup;
use Title;
use WatchedItemStore;
use Wikimedia\Rdbms\LoadBalancer;
/** @var PermissionManager */
private $permMgr;
+ /** @var RepoGroup */
+ private $repoGroup;
+
/**
* @todo Make this a const when we drop HHVM support (T192166)
* @var array
LoadBalancer $loadBalancer,
NamespaceInfo $nsInfo,
WatchedItemStore $watchedItems,
- PermissionManager $permMgr
+ PermissionManager $permMgr,
+ RepoGroup $repoGroup
) {
$options->assertRequiredOptions( self::$constructorOptions );
$this->nsInfo = $nsInfo;
$this->watchedItems = $watchedItems;
$this->permMgr = $permMgr;
+ $this->repoGroup = $repoGroup;
}
/**
*/
public function newMovePage( Title $from, Title $to ) : MovePage {
return new MovePage( $from, $to, $this->options, $this->loadBalancer, $this->nsInfo,
- $this->watchedItems, $this->permMgr );
+ $this->watchedItems, $this->permMgr, $this->repoGroup );
}
}