|
Kartographer
Extension that adds maps to wiki pages
|
@license MIT More...
Static Public Member Functions | |
| static | createLangFragment (string $msgKey, array $params, ParsoidExtensionAPI $extApi, ?string $language) |
| Creates an internationalized Parsoid fragment. | |
| static | createLangAttribute (Element $element, string $name, string $msgKey, array $params, ParsoidExtensionAPI $extApi, ?string $language) |
| Creates an internationalized Parsoid attribute on the provided element. | |
| static | addAttributesToNode (array $attrs, Element $node) |
@license MIT
|
static |
Creates an internationalized Parsoid attribute on the provided element.
If $language is not provided, the created attribute is generated in the page language.
|
static |
Creates an internationalized Parsoid fragment.
If $language is not provided, the returned fragment is generated in the page language.