X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fexport%2FWikiExporter.php;h=ec0b344e3cf507022b7885f4de37c02e86d48ef2;hb=e390198c4e4be7632b01173e42050061f1cc346a;hp=fe6dadfe22fbd35360095146f24645e95a70170e;hpb=7af9c25c885aaac732b990fb4b0172f36d77129d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/export/WikiExporter.php b/includes/export/WikiExporter.php index fe6dadfe22..ec0b344e3c 100644 --- a/includes/export/WikiExporter.php +++ b/includes/export/WikiExporter.php @@ -30,7 +30,6 @@ use MediaWiki\MediaWikiServices as MediaWikiServicesAlias; use MediaWiki\Storage\RevisionRecord; use Wikimedia\Rdbms\IResultWrapper; -use Wikimedia\Rdbms\IDatabase; /** * @ingroup SpecialPage Dump @@ -68,7 +67,7 @@ class WikiExporter { /** @var XmlDumpWriter */ private $writer; - /** @var IDatabase */ + /** @var Database */ protected $db; /** @var array|int */ @@ -87,7 +86,7 @@ class WikiExporter { } /** - * @param IDatabase $db + * @param Database $db * @param int|array $history One of WikiExporter::FULL, WikiExporter::CURRENT, * WikiExporter::RANGE or WikiExporter::STABLE, or an associative array: * - offset: non-inclusive offset at which to start the query @@ -125,7 +124,7 @@ class WikiExporter { * various row objects and XML output for filtering. Filters * can be chained or used as callbacks. * - * @param DumpOutput &$sink + * @param DumpOutput|DumpFilter &$sink */ public function setOutputSink( &$sink ) { $this->sink =& $sink; @@ -240,7 +239,7 @@ class WikiExporter { * Not called by default (depends on $this->list_authors) * Can be set by Special:Export when not exporting whole history * - * @param array $cond + * @param string $cond */ protected function do_list_authors( $cond ) { $this->author_list = "";