List of names of modules disabled by user. Populated in init() before modules are initialised.
Load messages into the message store.
Add namespace name to page title if not already given CAUTION: namespace name won't be added if a namespace (not necessarily the same as the one given) already is there in the title
Builds a portlet menu if it doesn't exist yet, and add the portlet link.
Shim for Array.prototype.find
Shim for Array.prototype.flatMap
Shim for Array.prototype.includes
Used in batch listings to link to the page in question with >
Used in deprod and unlink listings to link the page title
Initialise Twinkle. This must be called AFTER all configurations in Twinkle.* and SiteConfig.* have been defined.
Check if page is a redirect given the page text.
Load messages from MediaWiki, in addition to what twinkle-core loads. Deprecated: Instead of using this, set extra messages in Twinkle.extraMwMessages array, and init() would fetch those too.
Make template wikitext from the template name and parameters
name of the template. Include "subst:" if necessary
object with keys and values being the template param names and values. Use numbers as keys for unnamed parameters. If a value is falsy (undefined or null or empty string), the param doesn't appear in output.
Get parsed message.
the message name
the parameters for $1, $2, ... substitutions
Get ordinal number figure
Shim for Object.entries
Shim for Object.fromEntries
Shim for Object.values
Extends the defaultConfig
Set portlet configurations, which are skin-specific XXX: move to Config.ts and avoid the function
Used in batch, unlink, and deprod to sort pages by namespace, as json formatversion=2 sorts by pageid instead (#1251)
Shim for String.prototype.endsWith
Shim for String.prototype.includes
Shim for String.prototype.startsWith
Remove namespace name from title if present Exception-safe wrapper around mw.Title
Get URL parameter. Alias for mw.util.getParamValue
Generated using TypeDoc
Type representing a log event from ApiQueryLogEvents (action=query&list=logevents)