@license MIT
More...
|
|
static | onRegistration (array $extInfo, SettingsBuilder $settings) |
| | Sets $wgKartographerMapServer in integration test/CI setup This is needed by parserTests that define articles containing Kartographer content - parsing them when inserting them in the test DB requires $wgKartographerMapServer to be defined early.
|
| |
◆ onParserAfterParse()
| Kartographer\Hooks::onParserAfterParse |
( |
| $parser, |
|
|
& | $text, |
|
|
| $stripState ) |
◆ onParserFirstCallInit()
| Kartographer\Hooks::onParserFirstCallInit |
( |
| $parser | ) |
|
◆ onParserTestGlobals()
| Kartographer\Hooks::onParserTestGlobals |
( |
& | $globals | ) |
|
- See also
- https://www.mediawiki.org/wiki/Manual:Hooks/ParserTestGlobals
- Parameters
-
| array | &$globals | Array with all the globals which should be set for parser tests. The arrays keys serve as the globals' names, its values are the globals' values. |
- Returns
- bool|void True or no return value to continue or false to abort
The documentation for this class was generated from the following file: