Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SiteConfig

Site configuration for Twinkle. These are usually MediaWiki configurations that are wiki-specific, but that either can't be retrieved by Twinkle automatically, or are too expensive to fetch.

Index

Variables

Let botUsernameRegex

botUsernameRegex: RegExp = ...

Regex expression to check if a username is likely to be a bot.

Let flaggedRevsNamespaces

flaggedRevsNamespaces: number[] = ...

Namespaces where FlaggedRevs (pending changes protection) is enabled. Needs to put in unless phab:T218479 happens. Copy the $wgFlaggedRevsNamespaces value for your wiki which you can find on https://noc.wikimedia.org/conf/highlight.php?file=flaggedrevs.php Used in protect module.

Let permalinkSpecialPageName

permalinkSpecialPageName: string = 'Special:PermanentLink'

Local alias for Special:PermanentLink. Check using /w/api.php?action=query&meta=siteinfo&formatversion=2&siprop=specialpagealiases Include the namespace prefix. If there are multiple aliases, enter any one - preferably the one that's shorter

Let redirectTagAliases

redirectTagAliases: string[] = ...

Aliases for #REDIRECT tag. These are always case-insensitive. Please copy as-is from API output (name: "redirect") /w/api.php?action=query&format=json&meta=siteinfo&formatversion=2&siprop=magicwords

Generated using TypeDoc