hookContainer = $hookContainer; $this->revisionStore = $revisionStore; $this->titleParser = $titleParser; $this->commentStore = $commentStore; } /** * @param IReadableDatabase $db * @param int|array $history * @param int $text * @param null|array $limitNamespaces * * @return WikiExporter */ public function getWikiExporter( IReadableDatabase $db, $history = WikiExporter::CURRENT, $text = WikiExporter::TEXT, $limitNamespaces = null ): WikiExporter { return new WikiExporter( $db, $this->commentStore, $this->hookContainer, $this->revisionStore, $this->titleParser, $history, $text, $limitNamespaces ); } }