Bubble notifications/ru

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Bubble notifications and the translation is 16% complete.

Other languages:
English • ‎dansk • ‎español • ‎français • ‎polski • ‎português • ‎русский • ‎中文 • ‎日本語
Пример всплывающих уведомлений

Bubble notifications is a JavaScript system developed as part of MediaWiki for displaying notifications on a web page.

Features

  • Multiple notifications: Может одновременно отображать множество уведомлений. Each can be closed independently.
  • Automatic closing: A notification can be configured to automatically close after a short period of time. This is enabled by default, but individual features using this system may choose to disable it for specific notifications where needed.
  • Tagging: A notification can optionally be given a name (or "tag"). When a new notification is created with the same name as an older one that is still active, the older one is replaced with the new one. This enables an improved user experience where one would otherwise cause old, incomplete, or duplicate notifications to be visible (example use cases)

API

The entry point for the bubble notifications is the mw.notify() method part of the mediawiki.notify module.

См. также

Code stewardship