|
Kartographer
Extension that adds maps to wiki pages
|
Base class for all <map...> tags. More...
Inheritance diagram for Kartographer\Tag\LegacyTagHandler:
Collaboration diagram for Kartographer\Tag\LegacyTagHandler:Public Member Functions | |
| __construct (protected readonly Config $config, private readonly LanguageNameUtils $languageCodeValidator, private readonly TitleFormatter $titleFormatter,) | |
| handle (?string $input, array $args, Parser $parser, PPFrame $frame) | |
| Entry point for all tags. | |
Static Public Member Functions | |
| static | finalParseStep (State $state, ContentMetadataCollector $parserOutput, bool $outputAllLiveData, ParserFunctionTracker $tracker) |
| Handles the last step of parse process. | |
Public Attributes | |
| const | TAG = '' |
| Lower case name of the XML-style parser tag, e.g. | |
Protected Member Functions | |
| render (PartialWikitextParser $parser, bool $serverMayRenderOverlays) | |
| When overridden in a descendant class, returns tag HTML. | |
| updateState (State $state, array $geometries) | |
| getOutput () | |
Protected Attributes | |
| MapTagArgumentValidator | $args |
| ParserContext | $parserContext |
Base class for all <map...> tags.
@license MIT
|
static |
Handles the last step of parse process.
| State | $state | |
| ContentMetadataCollector | $parserOutput | |
| bool | $outputAllLiveData | |
| ParserFunctionTracker | $tracker |
| Kartographer\Tag\LegacyTagHandler::handle | ( | ?string | $input, |
| array | $args, | ||
| Parser | $parser, | ||
| PPFrame | $frame ) |
Entry point for all tags.
| string | null | $input | |
| array<string,string> | $args | |
| Parser | $parser | |
| PPFrame | $frame |
|
abstractprotected |
When overridden in a descendant class, returns tag HTML.
| PartialWikitextParser | $parser | |
| bool | $serverMayRenderOverlays | If the map server should attempt to render GeoJSON overlays via their group id |
Reimplemented in Kartographer\Tag\LegacyMapFrame, and Kartographer\Tag\LegacyMapLink.
| const Kartographer\Tag\LegacyTagHandler::TAG = '' |
Lower case name of the XML-style parser tag, e.g.
"mapframe". Currently expected to start with "map…" by the {