|
static | addToAdminLinks (ALTree &$admin_links_tree) |
|
static | onMakeGlobalVariablesScript (array &$vars) |
|
static | onSkinTemplateNavigation (SkinTemplate $skinTemplate, array &$links) |
|
static | onBeforeDisplayNoArticleText (\Article $article) |
|
static | onShowMissingArticle (\Article $article) |
|
static | onRegisterTags (array &$tags) |
|
static | onChangeTagsAllowedAdd (array &$allowedTags, array $tags, \User $user=null) |
|
static | onResourceLoaderTestModules (array &$modules, $resourceLoader) |
|
static | addGeoCoordsDefaultFormat (&$format, array $printRequests) |
|
static | addSmwSettings (array &$settings) |
|
Static class for hooks handled by the Maps extension.
- Since
- 0.7
GNU GPL v2+
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ addGeoCoordsDefaultFormat()
static Maps\MediaWiki\MapsHooks::addGeoCoordsDefaultFormat |
( |
& |
$format, |
|
|
array |
$printRequests |
|
) |
| |
|
static |
Set the default format to 'map' when the requested properties are of type geographic coordinates.
TODO: have a setting to turn this off and have it off by default for #show
- Since
- 1.0
- Parameters
-
$format | Mixed: The format (string), or false when not set yet |
SMWPrintRequest[] | $printRequests The print requests made |
- Returns
- boolean
◆ addToAdminLinks()
static Maps\MediaWiki\MapsHooks::addToAdminLinks |
( |
ALTree & |
$admin_links_tree | ) |
|
|
static |
Adds a link to Admin Links page.
- Since
- 0.7
- Parameters
-
- Returns
- boolean
◆ onMakeGlobalVariablesScript()
static Maps\MediaWiki\MapsHooks::onMakeGlobalVariablesScript |
( |
array & |
$vars | ) |
|
|
static |
The documentation for this class was generated from the following file: