Extension:Nominations

Category:Unmaintained extensions#Nominations Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Nominations
Release status: unmaintainedCategory:Unmaintained extensions
Implementation NotifyCategory:Notification extensions, Parser function Category:Parser function extensions
Description Helps in the process of approving or rejecting nominations
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 (2014-06-02)
MediaWiki 1.19+Category:Extensions with manual MediaWiki version
PHP 5.3+
Database changes No
License GNU General Public License 3.0 or later
Download Category:Extensions in GitHub version control
README
  • $nominationsSenderEmailAddress
Category:All extensionsCategory:Extensions not in ExtensionJson

The Nominations extension enables you to approve or reject nominations by providing buttons that can create a new page and delete the existing page, as well send out mails to specific people or groups notifying them of this action.

A special permission "approve-nomination" is needed to perform these actions.

Installation

Configuration

  • By default the e-mail address of the sender of nominations defaults to sender@example.com
$nominationsSenderEmailAddress = 'sender@example.com';
The e-mail provided will have to be set to a valid e-mail.
  • By default the right approve-nominations is assigned to the "sysop" user group. You can set it to another user group, preferably for a new user group:
$wgGroupPermissions['approve-nominations']['approve-nominations'] = true;

Usage

The following example text creates a button to reject a nomination:

{{#NominateAndNotify:action=reject|subject1={{{Title|}}} has been rejected|recipients1={{{Email Address|}}}|message1=Dear {{{EmailAddress|}}}, Your nomination has been approved
|create_title=Declined Nominations:{{PAGENAME}}
|create_text={{Declined Nominations|pagename={{PAGENAME}}|email={{{Email Address|}}}}}}}

On clicking the existing page will be deleted and the new page will be created with the title create_title and the content create_text. A few mails can also be sent by using the parameters subject#, message#, recipients# Where # is a number 1-6 to send up to 6 mails. Similarly one can also use action=approve, which will create a button to approve a nomination.

Authors

Nominations was originally written by Nischay Nahata, as WikiWorks consultant.

Category:All extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions which add rights Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Notification extensions Category:ParserFirstCallInit extensions Category:Parser function extensions Category:Unmaintained extensions