MediaWiki hook handlers for the Wikibase Lexeme extension.
More...
MediaWiki hook handlers for the Wikibase Lexeme extension.
- Copyright
- GPL-2.0-or-later
- Author
- Amir Sarabadani ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
◆ getLexemeViewLanguages()
| static Wikibase\Lexeme\WikibaseLexemeHooks::getLexemeViewLanguages |
( |
| ) |
|
|
static |
◆ onCanonicalNamespaces()
| Wikibase\Lexeme\WikibaseLexemeHooks::onCanonicalNamespaces |
( |
& | $namespaces | ) |
|
◆ onInfoAction()
| Wikibase\Lexeme\WikibaseLexemeHooks::onInfoAction |
( |
| $context, |
|
|
& | $pageInfo ) |
Adds the Wikis using the entity in action=info.
- Parameters
-
| IContextSource | $context | |
| array[] | &$pageInfo | |
◆ onLoadExtensionSchemaUpdates()
| Wikibase\Lexeme\WikibaseLexemeHooks::onLoadExtensionSchemaUpdates |
( |
| $updater | ) |
|
◆ onScribuntoExternalLibraries()
| static Wikibase\Lexeme\WikibaseLexemeHooks::onScribuntoExternalLibraries |
( |
| $engine, |
|
|
array & | $extraLibraries ) |
|
static |
- Parameters
-
| string | $engine | |
| array | &$extraLibraries | |
◆ registerNamespace()
| static Wikibase\Lexeme\WikibaseLexemeHooks::registerNamespace |
( |
array | $namespaces, |
|
|
| $namespaceId, |
|
|
| $namespaceName ) |
|
staticprivate |
- Parameters
-
| string[] | $namespaces | |
| int | $namespaceId | |
| string | $namespaceName | |
- Returns
- string[]
- Exceptions
-
RuntimeException If namespace ID is already registered with another name
The documentation for this class was generated from the following file: