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

Page for listing all available badges. More...

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

Public Member Functions

 __construct (EntityTitleLookup $entityTitleLookup, LanguageFallbackChainFactory $languageFallbackChainFactory, PrefetchingTermLookup $prefetchingTermLookup, SettingsArray $repoSettings)
 
 execute ( $subPage)
 
- Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage
 __construct ( $name='', $restriction='', $listed=true)
 
 getDescription ()
 
 setHeaders ()
 

Private Member Functions

 makeBadgeHtml (ItemId $badgeId, string $badgeClass, string $languageCode)
 

Private Attributes

 $prefetchingTermLookup
 
 $entityTitleLookup
 
 $badgeItems
 
 $languageFallbackChainFactory
 

Additional Inherited Members

- Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage
 getGroupName ()
 
 checkBlocked ()
 Checks if user is blocked, and if blocked throws a UserBlocked.
 
 showErrorHTML ( $error)
 
- Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage
 $stringNormalizer
 

Detailed Description

Page for listing all available badges.

Author
Victor Barbu < victo.nosp@m.rbar.nosp@m.bu08@.nosp@m.gmai.nosp@m.l.com >
Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Specials\SpecialAvailableBadges::__construct ( EntityTitleLookup $entityTitleLookup,
LanguageFallbackChainFactory $languageFallbackChainFactory,
PrefetchingTermLookup $prefetchingTermLookup,
SettingsArray $repoSettings )

Member Function Documentation

◆ execute()

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

Reimplemented from Wikibase\Repo\Specials\SpecialWikibasePage.

◆ makeBadgeHtml()

Wikibase\Repo\Specials\SpecialAvailableBadges::makeBadgeHtml ( ItemId $badgeId,
string $badgeClass,
string $languageCode )
private
Parameters
ItemId$badgeId
string$badgeClass
Returns
string HTML

Member Data Documentation

◆ $badgeItems

Wikibase\Repo\Specials\SpecialAvailableBadges::$badgeItems
private

◆ $entityTitleLookup

Wikibase\Repo\Specials\SpecialAvailableBadges::$entityTitleLookup
private

◆ $languageFallbackChainFactory

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

◆ $prefetchingTermLookup

Wikibase\Repo\Specials\SpecialAvailableBadges::$prefetchingTermLookup
private

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