Khok-tián:NewDuplicateUserMessage

This page is a translated version of the page Extension:NewDuplicateUserMessage and the translation is 100% complete.
Other languages:
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
NewDuplicateUserMessage
Release status: stable
Implementation User activity , Hook
Description Teh sin tshòng-kiàn ê tiōng-ho̍k iōng-tsiá kháu-tsō ê thó-lūn ia̍h-bīn lāi-té thinn-ka tsi̍t-tiâu siau-sit, tsia-ê kháu-tsō sī iû email tē-tsí lâi khak-tīng.
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

Check usage and version matrix.

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.

An-tsong

  • 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 :
    wfLoadExtension( 'NewDuplicateUserMessage' );
    
  • Configure as required.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.26 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.26 and earlier), instead of wfLoadExtension( 'NewDuplicateUserMessage' );, you need to use:

require_once "$IP/extensions/NewDuplicateUserMessage/NewDuplicateUserMessage.php";

Phuè-tī

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".

Tsham-ua̍t