55 parent::__construct(
'Mostinterwikis' );
56 $this->namespaceInfo = $namespaceInfo;
75 'namespace' =>
'page_namespace',
76 'title' =>
'page_title',
79 'page_namespace' => $this->namespaceInfo->getContentNamespaces()
81 'HAVING' =>
'COUNT(*) > 1',
111 $title = Title::makeTitleSafe( $result->namespace, $result->title );
115 [
'class' =>
'mw-invalidtitle' ],
116 Linker::getInvalidTitleDescription(
126 $link = $linkRenderer->makeLink( $title );
128 $link = $linkRenderer->makeKnownLink( $title );
131 $count = $this->
msg(
'ninterwikis' )->numParams( $result->value )->escaped();
133 return $this->
getLanguage()->specialList( $link, $count );
145class_alias( SpecialMostInterwikis::class,
'SpecialMostInterwikis' );
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)
isCached()
Whether or not the output of the page in question is retrieved from the database cache.
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)
getContext()
Gets the context this SpecialPage is executed in.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getLanguage()
Shortcut to get user's language.
The base class for all skins.