Creates a new instance.
Usage:
const filelink = new mwbot.FileWikilink('File:Foo');
The title of the file that the wikilink transcludes.
Optionalparams: string[]Optional parameters for the file link (e.g., ['thumb', '300px', ...]).
[[wikilink]],
use Wikilink instead.
This interface defines the static members of the
FileWikilinkclass. For instance members, see FileWikilink (defined separately due to TypeScript limitations).FileWikilinkis a class that serves to parse[[File:...]]markups into an object structure, which is accessible via Mwbot.FileWikilink. Note that wikilinks with a non-file title are treated differently by the Wikilink class, and those with an invalid title by the RawWikilink class.Example