Extension:Create User Page

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
CreateUserPage
Release status: stable
Implementation User activity
Description The Create User Page extension checks on login whether the user has a user page and, if not, creates it.
Author(s) Cindy Cicalese (cindy.cicalesetalk)
Latest version 1.2 (2017-10-29)
Compatibility policy master
MediaWiki 1.27+
PHP 5.5+
Database changes No
License MIT License
Download
Parameters
  • $wgCreateUserPage_PageContent
  • $wgCreateUserPage_OnLogin
Hooks used
UserLoginComplete
OutputPageParserOutput
Translate the Create User Page extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

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.

Installation[edit]

  • Download and place the file(s) in a directory called CreateUserPage in your extensions/ folder.

Configuration parameters[edit]

Flag Default Description
$wgCreateUserPage_PageContent {{User}} The content to put on the user page when it is created.
$wgCreateUserPage_OnLogin true Check for the existence of the user page whenever the user logs in if true. If false, check on every page load.

Version History[edit]

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