Jump to content

Extension:NewDuplicateUserMessage

From mediawiki.org
MediaWiki extensions manual
NewDuplicateUserMessage
Release status: unmaintained
Implementation User activity , Hook
Description Adds a message to the talk pages of newly created duplicate user accounts, which are determined by email address.
Author(s)
Latest version 3.6.0 (2016-10-31)
MediaWiki 1.26+
PHP 5.4+
Database changes No
License GNU General Public License 2.0 or later
Download
  • $wgNewDuplicateUserSuppressRC
  • $wgNewDuplicateUserMinorEdit
  • $wgNewDuplicateUserMessageOnAutoCreate

The NewDuplicateUserMessage extension adds a message to the talk pages of newly created duplicate user accounts, which are determined by email address.

This extension was forked from the NewUserMessage extension. See the documentation for the original extension NewUserMessage.

Installation

[edit]
  • Download and place the file(s) in a directory called NewDuplicateUserMessage in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NewDuplicateUserMessage' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]

Create the "Template:DuplicateUserWelcome" page on the wiki:

== Duplicate user message ==
You have duplicate accounts: {{{duplicateUsers}}}.

The configuration is the same as the original extension NewUserMessage except instead of "NewUser", use "NewDuplicateUser".

For example:

  • Instead of $wgNewUserSuppressRC = false;, use $wgNewDuplicateUserSuppressRC = false;.
  • Instead of "MediaWiki:Newusermessage-template", use "MediaWiki:Newduplicateusermessage-template".

See also

[edit]