From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png

Release status:Extension status stable

ImplementationTemplate:Extension#type User rights
DescriptionTemplate:Extension#description Allows only privileged users to create userpages for non-existent users.
Author(s)Template:Extension#username Daniel Friesen (Dantmantalk)
Latest versionTemplate:Extension#version 1.1.0 (2015-11-16)
MediaWikiTemplate:Extension#mediawiki 1.23+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Added rightsTemplate:Extension#rights


Hooks usedTemplate:Extension#hook

Translate the NoBogusUserpages extension if it is available at translatewiki.net

Check usage and version matrix.

The NoBogusUserpages extension implements a restriction that allows only privileged users to create userpages for non-existent users. With this extension installed, new page creation at the root level of the User: namespace is blocked unless the creator's username is the same as the desired page name or the user has been assigned the createbogususerpage right (see user rights below for how to do that). Without this extension, anyone with the right to create pages in the user namespace can create bogus pages for users who do not exist on the wiki.


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

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'NoBogusUserpages' );, you need to use:

require_once "$IP/extensions/NoBogusUserpages/NoBogusUserpages.php";

User rights[edit]


Allows users to create bogus userpages. By default this is given just to sysops.

$wgGroupPermissions['*'    ]['createbogususerpage'] = false;
$wgGroupPermissions['sysop']['createbogususerpage'] = true;