Formats the StringValue from a snak as an Wikitext link.
More...
Formats the StringValue from a snak as an Wikitext link.
- Copyright
- GPL-2.0-or-later
- Author
- Jonas Kress
◆ __construct()
Wikibase\Lib\Formatters\InterWikiLinkWikitextFormatter::__construct |
( |
| $baseUrl | ) |
|
- Parameters
-
string | $baseUrl | Base URL, used to build links to the geo shape storage. |
◆ encodeSpaces()
Wikibase\Lib\Formatters\InterWikiLinkWikitextFormatter::encodeSpaces |
( |
| $pageName | ) |
|
|
private |
◆ format()
Wikibase\Lib\Formatters\InterWikiLinkWikitextFormatter::format |
( |
| $value | ) |
|
- See also
- ValueFormatter::format
Formats the given page title as an Wikitext link
- Parameters
-
StringValue | $value | The page title to be turned into a link |
- Exceptions
-
- Returns
- string Wikitext external link
◆ $baseUrl
Wikibase\Lib\Formatters\InterWikiLinkWikitextFormatter::$baseUrl |
|
private |
The documentation for this class was generated from the following file: