Expand all

ve.ui.MWMagicLinkNodeInspector

Extends

Constructor

new ve.ui.MWMagicLinkNodeInspector([config]) #

Inspector for editing MediaWiki magic links (RFC/ISBN/PMID).

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Inspector for editing MediaWiki magic links (RFC/ISBN/PMID).

Methods

validate(str) → {boolean}private #

Return true if the given string is a valid magic link of the appropriate type.

Parameters:

Name Type Description
str string

String to validate

Source:

Returns:

String is valid

Type
boolean

Return true if the given string is a valid magic link of the appropriate type.