Expand all

mediawiki.watchstar.widgets

A special widget that displays a message that a page is being watched/unwatched with a selection widget that can determine how long the page will be watched. If a page is being watched then a dropdown with expiry options is included.

Extends

Parameters:

Name Type Description
action string

One of 'watch', 'unwatch'

pageTitle string

Title of page that this widget will watch or unwatch

updateWatchLink function
config Object

Configuration object

Source:

Methods

addTabKeyListener()inner #

Allows user to tab into the expiry dropdown from the watch link. Valid only for the initial keystroke after the popup appears, so as to avoid listening to every keystroke for the entire session.

Source:
Allows user to tab into the expiry dropdown from the watch link.