Solar_Markdown_Wiki_Link::setInterwiki()
public
void
Solar_Markdown_Wiki_Link::setInterwiki
( string|array $spec
, string $val = NULL
)
Sets one or more interwiki name and href mapping.
Parameters
(string|array)
$spec
: If a string, the interwiki site name; if an array, an array of name => href mappings to merge with current interwiki list.(string)
$val
: If $spec is a string, this is the sprintf() format string for the href to the interwiki.
Returns
(void)
Description
Sets one or more interwiki name and href mapping.
Interwiki href values are actually sprintf() strings, where %s will be replaced with the page requested at the interwiki site.