Jump to content

Extension:DeleteUserPages

From mediawiki.org
MediaWiki extensions manual
DeleteUserPages
Release status: stable
Implementation User rights
Description Lets users delete their own user pages
Author(s) Ryan Schmidt (Skizzerztalk)
Latest version 1.0.0 (2018-01-29)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.27+
Database changes No
License MIT License
Download Download latest version

  • delete-rootuserpages
  • delete-usersubpages
Quarterly downloads 0
Translate the DeleteUserPages extension if it is available at translatewiki.net

This extension lets users delete their own user pages and user talk pages. Two permissions are added (by default not granted to anyone) which control whether or not one can delete their own user page or their own subpages. This extension does not allow users to delete pages that are not their user page or subpages of their user page. The user does not need to be the author of the page to delete it, and can only delete if they would otherwise be allowed to edit that page.

Installation

[edit]
  • Download and place the file(s) in a directory called DeleteUserPages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DeleteUserPages' );
    $wgGroupPermissions['user']['delete-rootuserpages'] = true; // Let users delete their own user page and user talk page
    $wgGroupPermissions['user']['delete-usersubpages'] = true; // Let users delete their own user subpages and associated talk pages
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Support

[edit]

Extension support is handled via the MediaWiki Users forum. Requests on the talk page here are likely to be overlooked. Commercial support plans are available for purchase.