|
Parsoid
A bidirectional parser between wikitext and HTML5
|
Base class for Language objects. More...
Inheritance diagram for Wikimedia\Parsoid\Language\Language:Public Member Functions | |
| getConverter () | |
| setConverter (LanguageConverter $converter) | |
Static Public Member Functions | |
| static | isValidInternalCode (string $code) |
| Returns true if a language code string is of a valid form, whether or not it exists. | |
Base class for Language objects.
|
static |
Returns true if a language code string is of a valid form, whether or not it exists.
This includes codes which are used solely for customisation via the MediaWiki namespace.
| string | $code | a MediaWiki-internal code |