Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XfdCore

Hierarchy

Index

Constructors

constructor

Properties

Window

Window: Dialog

fieldset

fieldset: element

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

mode

mode: XfdMode

moduleName

moduleName: string = 'XFD'

portletId

portletId: string = 'twinkle-xfd'

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

portletName

portletName: string = 'XFD'

Name displayed on the portlet

portletTooltip

portletTooltip: string

Tooltip shown when hovering on the portlet

result

result: HTMLFormElement

windowTitle

windowTitle: string = 'Start a deletion discussion (XfD)'

Static modeList

modeList: typeof XfdMode[]

Static moduleName

moduleName: string = 'XFD'

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

Methods

addMenu

  • addMenu(): void

addPreference

  • addPreference(pref: any): void

getMenuTooltip

  • getMenuTooltip(): string

makeForm

  • makeForm(Window: any): quickForm

makeWindow

  • makeWindow(): void

onCategoryChange

  • onCategoryChange(evt: any): void

Static userPreferences

  • userPreferences(): void | { preferences: Preference[]; title: string }

Generated using TypeDoc