Kartographer
Extension that adds maps to wiki pages
Loading...
Searching...
No Matches
Kartographer\Tag\ParserContext Class Reference

Meant to encapsulate all relevant incoming (!) context that's historically attached to the legacy {. More...

Public Member Functions

 __construct (Parser $parser, TitleFormatter $titleFormatter)
 
 getPrefixedDBkey ()
 
 getRevisionId ()
 
 getTargetLanguage ()
 

Detailed Description

Meant to encapsulate all relevant incoming (!) context that's historically attached to the legacy {.

See also
Parser} class. This is very similar to Parsoid's "view of {@see ParserOptions}", see {
\MediaWiki\Parser\Parsoid\Config\PageConfig}.

@license MIT

Member Function Documentation

◆ getPrefixedDBkey()

Kartographer\Tag\ParserContext::getPrefixedDBkey ( )
See also
\MediaWiki\Parser\Parsoid\Config\PageConfig::getLinkTarget

◆ getRevisionId()

Kartographer\Tag\ParserContext::getRevisionId ( )
See also
\MediaWiki\Parser\Parsoid\Config\PageConfig::getRevisionId
Returns
int|null Can be null during preview

The documentation for this class was generated from the following file: