Extension:Create User Page/pl

Category:MIT licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
Create User Page
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Aktywność użytkownika Category:User activity extensions/pl
Opis The Create User Page extension checks on login whether the user has a user page and, if not, creates it.
Autor(zy) Cindy Cicalese (cindy.cicalesedyskusja)
Ostatnia wersja 3.1.0 (2023-06-21)
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
Licencja Licencja MIT
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgCreateUserPage_PageContent
  • $wgCreateUserPage_OnLogin
  • $wgCreateUserPage_CreateRedirect
Przetłumacz rozszerzenie Create User Page jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

The Create User Page extension checks whether the user has a user page and, if not, creates it with the content as specified in $wgCreateUserPage_PageContent. The check is done when the user logs in if $wgCreateUserPage_OnLogin is set to true (the default), otherwise the check is done on every page load. The user account to be used for user page creation can be set with $wgCreateUserPage_AutoCreateUser which is by default the user itself for whom the page is being created.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie CreateUserPage 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/CreateUserPage
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'CreateUserPage' );
    
  • Configure as required.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

$wgCreateUserPage_PageContent
The content to put on the user page when it is created. Defaults to {{User}}.
$wgCreateUserPage_OnLogin
Check for the existence of the user page whenever the user logs in if true. If false, check on every page load. Defaults to true.
$wgCreateUserPage_AutoCreateUser
Defines the user account that should be used to create the user's page. If unset the respective user will be attributed to the edit for whom the page is being created. Defaults to null (unset).
$wgCreateUserPage_CreateRedirect
In addition to creating the user page, if a page of the same name does not yet exist in the main namespace, create it as a redirect to the user page.

Version History

Version 3.1.0
  • add $wgCreateUserPage_CreateRedirect option to create redirect from main namespace to user page (T313132)
Version 3.0
  • Fix bug where user pages were being created for anonymous users
  • Dropped support for MediaWiki 1.34-
Version 2.0
  • Added $wgCreateUserPage_AutoCreateUser
Version 1.2
  • Added $wgCreateUserPage_OnLogin
Version 1.1.1
  • Really corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
Version 1.1
  • Corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
Version 1.0
  • Initial version

Zobacz też

Category:Extensions by MITRE/pl
Category:All extensions/pl Category:Extensions by MITRE/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in BlueSpice/pl Category:Extensions included in MyWikis/pl Category:Extensions included in ProWiki/pl Category:MIT licensed extensions/pl Category:OutputPageParserOutput extensions/pl Category:Stable extensions/pl Category:UserLoginComplete extensions/pl Category:User activity extensions/pl