Expand all

ve.init.mw.Platform

Extends

Constructor

new ve.init.mw.Platform() #

Initialization MediaWiki platform.

Source:
Initialization MediaWiki platform.

Methods

addParsedMessages() #

decodeEntities() #

fetchSpecialCharList() #

formatNumber() #

getExternalLinkUrlProtocolsRegExp() #

getHtmlMessage() #

getLanguageAutonym() #

getLanguageCodes() #

getLanguageDirection() #

getLanguageName() #

getMetadataIdRegExp() #

Regular expression matching RESTBase IDs

This isn't perfect, see T147607

Source:

Regular expression matching RESTBase IDs

This isn't perfect, see T147607

getParsedMessage() #

getUnanchoredExternalLinkUrlProtocolsRegExp() #

getUserConfig() #

All values are JSON-parsed. To get raw values, use mw.user.options.get directly.

Source:
All values are JSON-parsed.

getUserLanguages() #

setUserConfig() #

Options must be registered in onGetPreferences

All values are JSON encoded. To set raw values, use mw.user.options.set directly.

Source:

Options must be registered in onGetPreferences

All values are JSON encoded.