Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain Class Reference

Page for displaying the current language fallback chain for debugging. More...

+ Inheritance diagram for Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain:
+ Collaboration diagram for Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain:

Public Member Functions

 __construct (LanguageFallbackChainFactory $languageFallbackChainFactory)
 
 getDescription ()
 
 setContext ( $context)
 Set the context.
 
 getLanguageFallbackChain ()
 Get the chain stored for display.
 
 setLanguageFallbackChain (LanguageFallbackChain $chain)
 Set a new chain for display and return the original one.
 
 execute ( $subPage)
 

Static Public Member Functions

static newFromGlobalState ()
 

Protected Member Functions

 getGroupName ()
 

Private Attributes

 $chain
 
 $languageFallbackChainFactory
 

Detailed Description

Page for displaying the current language fallback chain for debugging.

Author
Liangent < liang.nosp@m.ent@.nosp@m.gmail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::__construct ( LanguageFallbackChainFactory  $languageFallbackChainFactory)

Member Function Documentation

◆ execute()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::execute (   $subPage)
See also
SpecialPage::execute
Parameters
string | null$subPage

◆ getDescription()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::getDescription ( )
See also
SpecialPage::getDescription
Returns
string

◆ getGroupName()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::getGroupName ( )
protected
See also
SpecialPage::getGroupName
Returns
string

◆ getLanguageFallbackChain()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::getLanguageFallbackChain ( )

Get the chain stored for display.

Returns
LanguageFallbackChain

◆ newFromGlobalState()

static Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::newFromGlobalState ( )
static

◆ setContext()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::setContext (   $context)

Set the context.

Parameters
IContextSource$context

◆ setLanguageFallbackChain()

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::setLanguageFallbackChain ( LanguageFallbackChain  $chain)

Set a new chain for display and return the original one.

Parameters
LanguageFallbackChain$chain
Returns
LanguageFallbackChain

Member Data Documentation

◆ $chain

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::$chain
private

◆ $languageFallbackChainFactory

Wikibase\Repo\Specials\SpecialMyLanguageFallbackChain::$languageFallbackChainFactory
private

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