Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BatchUndeleteCore

Module for batch page undeletions. Can undelete all non-existing pages linked from the current page. Optionally their respective talk pages can also be undeleted.

Localisation: Should work without any configuration.

Hierarchy

Index

Constructors

constructor

Properties

footerlinks

footerlinks: {}

Set of links shown in the bottom right of the module dialog. Object keys are labels and values are the wiki page names.

Type declaration

  • [label: string]: string

moduleName

moduleName: string = 'batchundelete'

portletId

portletId: string = 'twinkle-batchundelete'

Optional ID for the portlet. This defaults to twinkle-${portletName.toLowerCase()} if unspecified

portletName

portletName: string = 'Und-batch'

Name displayed on the portlet

portletTooltip

portletTooltip: string = "Undelete 'em all"

Tooltip shown when hovering on the portlet

windowTitle

windowTitle: string = 'Batch undelete'

Static moduleName

moduleName: string = 'batchundelete'

The name of the module, used to check if the user has the module disabled

Methods

addMenu

  • addMenu(): void

addPreference

  • addPreference(pref: any): void

doExtras

  • doExtras(thingWithParameters: any): void

evaluate

  • evaluate(event: any): void

makeWindow

  • makeWindow(): void

undeleteTalk

  • undeleteTalk(apiobj: Api): void

Static userPreferences

Generated using TypeDoc