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
◆ __construct()
Wikibase\Lib\Formatters\WikiLinkWikitextFormatter::__construct |
( |
|
$namespace | ) |
|
- Parameters
-
int | $namespace | namespace to be used to format the link |
◆ format()
Wikibase\Lib\Formatters\WikiLinkWikitextFormatter::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
◆ $namespace
Wikibase\Lib\Formatters\WikiLinkWikitextFormatter::$namespace |
|
private |
The documentation for this class was generated from the following file: