|
Previous Page |
Solar_Markdown_Wiki_Link |
Next Page |
setInterwiki()
public
void
setInterwiki (
string|array $spec,
string $val default 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.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _cleanup()
- _encode()
- _escape()
- _exception()
- _getTabWidth()
- _interwiki()
- _isHtmlToken()
- _normalize()
- _outdent()
- _parse()
- _processBlocks()
- _processSpans()
- _toHtmlToken()
- _unHtmlToken()
- apiVersion()
- cleanup()
- dump()
- getChars()
- getInterwiki()
- getPages()
- isBlock()
- isCleanup()
- isPrepare()
- isSpan()
- locale()
- parse()
- prepare()
- reset()
- setAttrib()
- setAttribs()
- setCheckPagesCallback()
- setInterwiki()
- setMarkdown()