Extension:Safe Delete

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  link provided by the skin will be replaced with a link to , where 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.

Configuration parameters
is an array of namespace numbers that will be protected by this extension. Only pages in one of those namespaces will be routed through the  page. If you want this extension to function for all content namespaces, you can set  equal to.

By default, this extension uses the  and   database tables to find links to the current page. In that default case, only links from pages in one of the namespaces included in  will prevent the deletion of the page. However, when the  Boolean flag is present and set to  , the extension instead looks for any Semantic MediaWiki properties pointing to the page. Those semantic properties are not restricted to those on pages specified in.