Extension:RestrictUserPageCreation

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:MIT licensed extensions
MediaWiki extensions manual
RestrictUserPageCreation
Release status: stableCategory:Stable extensions
Implementation User interfaceCategory:User interface extensions, Skin Category:Skin extensions
Description A MediaWiki extension that prevents users from creating user pages unless they have a specified number of edits.
Author(s) Derf Jaggedtalk
Latest version 1.0 (2025-6-1)
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
PHP 5.5+
Database changes No
License MIT License
Download Category:Extensions in GitHub version control
Category:All extensionsCategory:Extensions not in ExtensionJson

RestrictUserPageCreation is a MediaWiki extension that prevents users from creating user pages unless they have a specified number of edits. If Moderation is installed, only approved edits are counted.

For reporting an issue or a bug, please open a GitHub issue.

Installation

Requires Mediawiki 1.35 or higher.

  • Download and place the file(s) in a directory called RestrictUserPageCreation in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'RestrictUserPageCreation' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

Add the following setting to LocalSettings.php with the desired threshold. By default, the threshold is set to 2.

$wgRestrictUserPageCreationEditThreshold = 2;

Example

The following message is displayed if a user tries to create a User page but does not meet the threshold.

See also

Category:All extensions Category:EditFilterMergedContent extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:MIT licensed extensions Category:Skin extensions Category:Stable extensions Category:User interface extensions