Extension:NewUserActions/pl

The extension is still a work in progress.
Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
NewUserActions
Status wydania: eksperymentalneCategory:Experimental extensions/pl
Realizacja Aktywność użytkownika Category:User activity extensions/pl, Hak Category:Hook extensions/pl
Opis Run actions when a user is newly created.
Autor(zy) Sébastien Santoro (Derecksondyskusja)
MediaWiki 1.23+Category:Extensions with manual MediaWiki version/pl
PHP 5.4+
Zmiany w bazie danych Nie
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgNewUserActionsSuppressRC
  • $wgNewUserActionsCreateUserPage
  • $wgNewUserActionsOnAutoCreate
  • $wgNewUserActionsMinorEdit
Przetłumacz rozszerzenie NewUserActions jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

The NewUserActions extension executes configurable actions when a new wiki account is created. It has been inspired by Rozszerzenie:NewUserMessage.

Actions available

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.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie NewUserActions w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NewUserActions
    
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'NewUserActions' );
    
  • Configure as required
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

Global variables

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

VariableDefault valueMeaning
$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 configuration

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.

Page titleDefault valueMeaning
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. Always in content language.
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.
Category:AddNewAccount extensions/pl Category:All extensions/pl Category:Experimental extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions with manual MediaWiki version/pl Category:GPL licensed extensions/pl Category:Hook extensions/pl Category:LocalUserCreated extensions/pl Category:UserGetReservedNames extensions/pl Category:User activity extensions/pl