Creates a new instance.
The title
property of this class is not validated as a Title instance.
The class is to construct a wikilink object whose title has to include invalid
characters, e.g., '[[{{{1}}}]]'
. When objectifying a wikilink with a valid title,
use Wikilink or FileWikilink instead.
Usage:
const rawlink = new mwbot.RawWikilink('{{{1}}}');
The title of the page that the wikilink links to.
Optional
display: stringAn optional display text for the wikilink.
This interface defines the static members of the
RawWikilink
class. For instance members, see RawWikilink (defined separately due to TypeScript limitations).RawWikilink
is a class that serves to parse[[wikilink]]
markups with an invalid title into an object structure, which is accessible via Mwbot.RawWikilink. Note that wikilinks with a valid non-file title are treated differently by the Wikilink class, and those with a valid file title by the FileWikilink class.