Erweiterung:NewUserActions

From mediawiki.org
This page is a translated version of the page Extension:NewUserActions and the translation is 44% complete.

Die Erweiterung ist noch in Arbeit.
MediaWiki-Erweiterungen
NewUserActions
Freigabestatus: experimentell
Einbindung Benutzeraktivität , Hook
Beschreibung Run actions when a user is newly created.
Autor(en) Sébastien Santoro (DerecksonDiskussion)
MediaWiki 1.23+
PHP 5.4+
Datenbankänderungen Nein
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
  • $wgNewUserActionsSuppressRC
  • $wgNewUserActionsCreateUserPage
  • $wgNewUserActionsOnAutoCreate
  • $wgNewUserActionsMinorEdit
Quarterly downloads 1 (Ranked 148th)
Übersetze die NewUserActions-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

The NewUserActions extension executes configurable actions when a new wiki account is created. Sie wurde durch die Erweiterung Erweiterung:NewUserMessage inspiriert.

Verfügbare Aktionen

Create user page

This action allow to create a user page, following a specific template. This can for example be used to offer a generic starting template for user pages.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens NewUserActions im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NewUserActions
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'NewUserActions' );
    
  • Konfiguriere nach Bedarf
  • Yes Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Konfiguration

Globale Variablen

There are some global variables which affect the operation of the extension. These should be set in your LocalSettings.php file.

Variable Standardwert Bedeutung
$wgNewUserActionsSuppressRC false Specify whether or not the new actions should show up in recent changes. If set to true, those edits won't be displayed even if "show bot edits" is selected on RecentChanges or Watchlist.
$wgNewUserActionsMinorEdit true Should the actions edit will be marked as minor.
$wgNewUserActionsOnAutoCreate false Should auto creation (CentralAuth) trigger the actions?
$wgNewUserActionsCreateUserPage false If true, create a new user page.

In-Wiki-Konfiguration

One of the goal of the extension is to improve flexibility. As such, some parameters are configurable on wiki.

Other settings of the extension can be made in the MediaWiki: namespace.

Seitentitel Standardwert Bedeutung
MediaWiki:Newuseractions-userpage-template Template:New user page Specify a template to use as default new user page.
MediaWiki:Newuseractions-userpage-summary Initial content from [[Template:New user page]]. Edit summary for the recent changes entry of a new users message. Immer in der Sprache des Seiteninhalts.
MediaWiki:Newuseractions-editor New user actions Set the username of the user that makes the edits. If this user does not exist, "MediaWiki default" will show up as editing user. The user set here is marked as reserved and won't be able to login.