Optional
editable: booleanWhether the configuration is editable by the current user or not.
Readonly
all$1 - Page to include
$1 - Title of the batch $2 - List of pages (newlines should be added in batchListingPageWikitext). $3 - User comment
Readonly
anteReadonly
cciReadonly
coreOptional
Readonly
editableWhether the configuration is editable by the current user or not.
Readonly
ia$1 - Page to include
$1 - Title of the batch $2 - List of pages (newlines should be added in batchListingPageWikitext). $3 - User comment
Set to true when this configuration is outdated based on latest data. Usually adds banners to UI interfaces saying a new version of the configuration is available, and that it should be used whenever possible.
TODO: This doesn't do what the documentations says yet.
Readonly
serializedReadonly
sourceReadonly
typeStatic
Readonly
configStatic
Readonly
configStatic
Readonly
optionCheck for local updates, and update the local configuration as needed.
Optional
sourceConfig: WikiPageConfigurationA serialized version of the configuration based on a wiki page configuration load.
Static
isStatic
loadLoads the configuration from a set of possible sources.
Optional
sourcePage: TitleThe specific page to load from
A WikiConfiguration object
Static
loadLoads the wiki-wide configuration from a set of predefined locations. See WikiConfiguration#configLocations for a full list.
The string text of the raw configuration, or null
if a configuration was not found.
Static
loadLoads the wiki configuration from localStorage and/or MediaWiki settings. This allows for faster loads at the expense of a (small) chance of outdated configuration.
The localStorage layer allows fast browser-based caching. If a user is logging in again on another device, the user configuration will automatically be sent to the client, lessening turnaround time. If all else fails, the configuration will be loaded from the wiki.
A WikiConfiguration object.
Static
loadLoads the configuration from the current wiki.
Optional
sourcePage: TitleThe specific page to load from
A WikiConfiguration object
Wiki-wide configuration. This is applied to all users of the wiki, and has the potential to break things for EVERYONE if not set to proper values.
As much as possible, the correct configuration location should be protected to avoid vandalism or bad-faith changes.
This configuration works if specific settings are set. In other words, some features of Deputy are disabled unless Deputy has been configured. This is to avoid messing with existing on-wiki processes.