Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\MediaWikiLanguageDirectionalityLookup Class Reference

Service for looking up language directionalities based on MediaWiki's Language class. More...

+ Inheritance diagram for Wikibase\Repo\MediaWikiLanguageDirectionalityLookup:
+ Collaboration diagram for Wikibase\Repo\MediaWikiLanguageDirectionalityLookup:

Public Member Functions

 getDirectionality ( $languageCode)
 

Detailed Description

Service for looking up language directionalities based on MediaWiki's Language class.

Author
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Member Function Documentation

◆ getDirectionality()

Wikibase\Repo\MediaWikiLanguageDirectionalityLookup::getDirectionality (   $languageCode)
See also
LanguageDirectionalityLookup::getDirectionality
Parameters
string$languageCode
Returns
string|null 'ltr', 'rtl' or null if unknown

Implements Wikibase\View\LanguageDirectionalityLookup.


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