45 parent::__construct(
'Unusedcategories' );
55 return $this->
msg(
'unusedcategoriestext' )->parseAsBlock();
64 'tables' => [
'page',
'categorylinks',
'page_props' ],
66 'namespace' =>
'page_namespace',
67 'title' =>
'page_title',
72 'page_is_redirect' => 0,
76 'categorylinks' => [
'LEFT JOIN',
'cl_to = page_title' ],
77 'page_props' => [
'LEFT JOIN', [
79 'pp_propname' =>
'expectunusedcategory'
99 $title = Title::makeTitle(
NS_CATEGORY, $result->title );
101 return $this->
getLinkRenderer()->makeLink( $title, $title->getText() );
105 return 'maintenance';
117class_alias( SpecialUnusedCategories::class,
'SpecialUnusedCategories' );
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
setDatabaseProvider(IConnectionProvider $databaseProvider)
executeLBFromResultWrapper(IResultWrapper $res, $ns=null)
Creates a new LinkBatch object, adds all pages from the passed result wrapper (MUST include title and...
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
The base class for all skins.