Default generic block template for anonymous user blocks
Default generic block template
Default generic block template for indefinite blocks
Default generic block template for indefinite partial blocks
Default generic block template for partial blocks
Do not allow partial blocking users for these namespaces. Special/Media namespaces don't need to be included here.
Set of links shown in the bottom right of the module dialog. Object keys are labels and values are the wiki page names.
Default expiry for IP blocks. This value must be present in the select menu.
Optional ID for the portlet. This defaults to twinkle-${portletName.toLowerCase()}
if unspecified
Name displayed on the portlet
Tooltip shown when hovering on the portlet
The name of the module, used to check if the user has the module disabled
Add menu portlet
Add a preference to this module's preference group
Called when any of the checkboxes in "type of action" or IPv6 /64 block are toggled.
Returns an array with: 1st element: the block notice wikitext, and 2nd element: edit summary used when posting it.
Saves the values of form entries in a fieldset to this[fieldset_name].
Return a PreferenceGroup with the preferences added by this module
Generated using TypeDoc
Module used for blocking users and/or issuing block templates.
Localisation: This class is abstract – you need to implement getBlockNoticeWikitextAndSummary. Also, the following fields may need to be customised: