| Safe Delete
Release status: beta
|Description||Adds a user friendly special page that is displayed when a user attempts to delete a page in a given set of namespaces if there are any links to that page from other pages in that set of namespaces.|
|Author(s)||Cindy Cicalese (cindy.cicalesetalk)|
|Latest version||1.2 (2015-09-25)|
|Compatibility policy||Master maintains backward compatibility.|
|Translate the Safe Delete extension if it is available at translatewiki.net|
The Safe Delete extension adds a user friendly special page that is displayed when a user attempts to delete a page in a given set of namespaces if there are any links to that page from other pages in that set of namespaces. This helps to prevent a user from deleting a page when there are links to it. The
Delete link provided by the skin will be replaced with a link to
Special:SafeDelete/<pagename>, where <pagename> is the name of the page to be deleted. If there are no links to the page in the given set of namespaces, there will be an immediate redirect to the real deletion page. Otherwise, the user will be presented with a list of pages that contain links to the given page.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
|$SafeDeleteNamespaces||no default (mandatory)|
Note: When neither
$SafeDeleteCargo are set, this extension uses the
redirect database tables to find links to the current page.
$SafeDeleteCargo may both be specified to search both semantic properties and Cargo tables.
- Added support for Cargo.