52 parent::__construct(
'Wantedtemplates' );
55 $this->linksMigration = $linksMigration;
59 $queryInfo = $this->linksMigration->getQueryInfo(
'templatelinks' );
60 [ $ns, $title ] = $this->linksMigration->getTitleFields(
'templatelinks' );
62 'tables' => array_merge( $queryInfo[
'tables'], [
'page' ] ),
72 'options' => [
'GROUP BY' => [ $ns, $title ] ],
73 'join_conds' => array_merge(
74 [
'page' => [
'LEFT JOIN',
75 [
"page_namespace = $ns",
"page_title = $title" ] ] ],
90class_alias( SpecialWantedTemplates::class,
'SpecialWantedTemplates' );
setDatabaseProvider(IConnectionProvider $databaseProvider)
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
Base class for a "wanted" query page like WantedPages, WantedTemplates, etc.