Optionaleditable: booleanWhether the configuration is editable by the current user or not.
Readonlyall$1 - Page to include
$1 - Title of the batch $2 - List of pages (newlines should be added in batchListingPageWikitext). $3 - User comment
ReadonlyanteReadonlycciReadonlycoreOptional ReadonlyeditableWhether the configuration is editable by the current user or not.
Readonlyia$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.
ReadonlyserializedReadonlysourceReadonlytypeStatic ReadonlyconfigStatic ReadonlyconfigStatic ReadonlyoptionCheck for local updates, and update the local configuration as needed.
OptionalsourceConfig: WikiPageConfigurationA serialized version of the configuration based on a wiki page configuration load.
StaticisStaticloadLoads the configuration from a set of possible sources.
OptionalsourcePage: TitleThe specific page to load from
A WikiConfiguration object
StaticloadLoads 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.
StaticloadLoads 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.
StaticloadLoads the configuration from the current wiki.
OptionalsourcePage: 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.