Jump to content

Module:Mass notification/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by WOSlinker (talk | contribs) at 16:27, 7 July 2020 (change source to syntaxhighlight). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This module implements the {{mass notification}} template. It is used to send notifications to a WikiProject or other group of users.

Usage from wikitext

[edit]

Usually you should use {{mass notification}} rather than calling this module directly from #invoke. However, if you want you can use the syntax {{#invoke:Mass notification|main|group name}}. See the template documentation for details about group names.

Usage from Lua modules

[edit]

To use this module from other Lua modules, first load the module.

local mMassNotification = require('Module:Mass notification')

You can then generate the notification links by using the _main function.

mMassNotification._main(groupName)

groupName is the group name, as a string, as explained in the template documentation.