Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Specials\SpecialUnconnectedPages Class Reference

List client pages that are not connected to repository items. More...

+ Inheritance diagram for Wikibase\Client\Specials\SpecialUnconnectedPages:
+ Collaboration diagram for Wikibase\Client\Specials\SpecialUnconnectedPages:

Public Member Functions

 __construct (IConnectionProvider $dbProvider, NamespaceInfo $namespaceInfo, TitleFactory $titleFactory, ClientDomainDbFactory $db, NamespaceChecker $namespaceChecker)
 
 isSyndicated ()
 
 isCacheable ()
 
 buildNamespaceConditionals ()
 Build conditionals for namespace.
 
 getQueryInfo ()
 
 reallyDoQuery ( $limit, $offset=false)
 
 formatResult ( $skin, $result)
 
 getPageHeader ()
 
 linkParameters ()
 

Protected Member Functions

 getOrderFields ()
 
 sortDescending ()
 
 getGroupName ()
 

Private Attributes

const MAX_OFFSET = 10000
 
 $namespaceInfo
 
 $titleFactory
 
 $namespaceChecker
 
 $db
 

Detailed Description

List client pages that are not connected to repository items.

Author
John Erling Blad < jebla.nosp@m.d@gm.nosp@m.ail.c.nosp@m.om >
Amir Sarabadani < ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Specials\SpecialUnconnectedPages::__construct ( IConnectionProvider $dbProvider,
NamespaceInfo $namespaceInfo,
TitleFactory $titleFactory,
ClientDomainDbFactory $db,
NamespaceChecker $namespaceChecker )

Member Function Documentation

◆ buildNamespaceConditionals()

Wikibase\Client\Specials\SpecialUnconnectedPages::buildNamespaceConditionals ( )

Build conditionals for namespace.

◆ formatResult()

Wikibase\Client\Specials\SpecialUnconnectedPages::formatResult ( $skin,
$result )
See also
QueryPage::formatResult
Parameters
Skin$skin
\stdClass$result
Returns
string|bool

◆ getGroupName()

Wikibase\Client\Specials\SpecialUnconnectedPages::getGroupName ( )
protected
See also
SpecialPage::getGroupName
Returns
string

◆ getOrderFields()

Wikibase\Client\Specials\SpecialUnconnectedPages::getOrderFields ( )
protected
Returns
string[]

◆ getPageHeader()

Wikibase\Client\Specials\SpecialUnconnectedPages::getPageHeader ( )
See also
QueryPage::getPageHeader
Returns
string

◆ getQueryInfo()

Wikibase\Client\Specials\SpecialUnconnectedPages::getQueryInfo ( )
See also
QueryPage::getQueryInfo
Returns
array[]

◆ isCacheable()

Wikibase\Client\Specials\SpecialUnconnectedPages::isCacheable ( )
See also
QueryPage::isCacheable
Returns
bool Always false as our query can be parameterized (by namespace), and QueryPage doesn't support that.

◆ isSyndicated()

Wikibase\Client\Specials\SpecialUnconnectedPages::isSyndicated ( )
See also
QueryPage::isSyndicated
Returns
bool Always false because we do not want to build RSS/Atom feeds for this page.

◆ linkParameters()

Wikibase\Client\Specials\SpecialUnconnectedPages::linkParameters ( )
See also
QueryPage::linkParameters
Returns
array

◆ reallyDoQuery()

Wikibase\Client\Specials\SpecialUnconnectedPages::reallyDoQuery ( $limit,
$offset = false )
See also
QueryPage::reallyDoQuery
Parameters
int | bool$limit
int | bool$offset
Returns
IResultWrapper

◆ sortDescending()

Wikibase\Client\Specials\SpecialUnconnectedPages::sortDescending ( )
protected

Member Data Documentation

◆ $db

Wikibase\Client\Specials\SpecialUnconnectedPages::$db
private

◆ $namespaceChecker

Wikibase\Client\Specials\SpecialUnconnectedPages::$namespaceChecker
private

◆ $namespaceInfo

Wikibase\Client\Specials\SpecialUnconnectedPages::$namespaceInfo
private

◆ $titleFactory

Wikibase\Client\Specials\SpecialUnconnectedPages::$titleFactory
private

◆ MAX_OFFSET

const Wikibase\Client\Specials\SpecialUnconnectedPages::MAX_OFFSET = 10000
private

The documentation for this class was generated from the following file: