An OOUI WindowManager. Automatically instantiated when needed. See the
windowManager
getter for instantiation.
CopiedTemplateEditor instance.
-The current page as an mw.Title.
-The current page ID.
-Readonly
modelsReadonly
modulesReadonly
utilApplies configuration overrides. This takes two objects, A and B. +
CopiedTemplateEditor instance.
+The current page as an mw.Title.
+The current page ID.
+Readonly
DeputyReadonly
DeputyReadonly
DeputyReadonly
DeputyReadonly
DeputyReadonly
DeputyReadonly
modelsReadonly
modulesReadonly
utilApplies configuration overrides. This takes two objects, A and B. A's keys will be respected and will remain unchanged. Object values of A that also exist in B will be overwritten with its values in B.
-Mixes values together into a string for the class
attribute.
Mixes values together into a string for the class
attribute.
Rest
...classes: ArrayOrNot<string | false>[]string
Cleans a parameter list. By default, this performs the following:
condition
)
and returns another array, containing an element where true
was returned,
and every subsequent element where the check returns false
.
-Sleep for an specified amount of time.
+If pull
is true,
any value that isn't explicitly a negative value will return true
. Otherwise,
any value that isn't explicitly a positive value will return false
.
Readonly
versionThis version of Deputy.
-Readonly
wikiAppends extra information to an edit summary (also known as the "advert").
+Readonly
versionThis version of Deputy.
+Readonly
wikiAppends extra information to an edit summary (also known as the "advert").
The edit summary
Optional
config: UserConfigurationThe user's configuration. Used to get the "danger mode" setting.
The decorated edit summary (in wikitext)
@@ -148,7 +148,7 @@Get the n
th error. Defaults to 0 (first error).
A Range object.
Get the content of a page on-wiki.
The page to get
Extra options to pass to the request
@@ -285,12 +285,12 @@Transforms the redirects
object returned by MediaWiki's query
action into an
object instead of an array.
Optional
normalized: { Redirects as an object
-An OOUI window manager
-Gets the wiki-specific configuration for Deputy.
+An OOUI window manager
+Gets the wiki-specific configuration for Deputy.
A promise resolving to the loaded configuration
-
The main class for Deputy. Entry point for execution.
This class is not exported to avoid circular references and extraneous export code in the Rollup bundle (unnecessary for a userscript).
-