Extension:NewDuplicateUserMessage/fi

From Linux Web Expert

Revision as of 03:03, 14 April 2024 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MediaWikin laajennukset-ohje
NewDuplicateUserMessage
Julkaisustatus: ei ylläpidetty
Toteutus Käyttäjän toiminta , Kytköspiste
Kuvaus Adds a message to the talk pages of newly created duplicate user accounts, which are determined by email address.
Tekijä(t)
Viimeisin versio 3.6.0 (2016-10-31)
MediaWiki 1.26+
PHP 5.4+
Tietokantamuutokset Ei
Lisenssi GNU General Public License 2.0 tai myöhempi
Lataa
  • $wgNewDuplicateUserSuppressRC
  • $wgNewDuplicateUserMinorEdit
  • $wgNewDuplicateUserMessageOnAutoCreate
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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.

Asennus

  • <translate> Download and place the file(s) in a directory called <tvar name=name>NewDuplicateUserMessage/fi</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'NewDuplicateUserMessage/fi' );
    
  • Configure as required.
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Kokoonpano

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

Katso myös