Extension:PureWikiDeletion

This is the Pure Wiki Deletion extension.

What can this extension do?
Pure wiki deletion will work as follows:

A former version of this article was blanked by [USER NAME/IP] on [DATE]. The reason given for blanking was: [EDIT SUMMARY]. You may view the article's history, edit the last version, or type new article into the white space below.
 * A link to a blank page will show up as a red link. (or orange, or whatever color you want)
 * When a user follows a link to a blank page, the page will behave the same way that deleted pages do now, except there will be an additional message, reading:
 * Blank pages will not show up in searches using Special:Search, random pages using Special:RandomExcludeBlank, or the list of all pages using Special:Allpages. [Note: The functionality relating to Special:Search and Special:Allpages has not yet been implemented.]
 * The URL prefix to a blank page should be listed in robots.txt, and the page will emit "noarchive" and "noindex" and "nofollow" tags, to prevent caching in search engines. [Note: This functionality has not yet been implemented.]

Usage
There are two parser functions, #ifblank and #ifnotblank. Their syntax is as follows: returns true. returns false.

Installation
Add this line to LocalSettings.php:

Edit MediaWiki:Sidebar. There should be a line pertaining to the random page. Delete that line and replace it with:

Go to Special:PopulateBlankedPagesTable. It will automatically populate your blanked pages table with any blanked pages that may exist on your wiki.

Configuration parameters
You can change the style of broken, blank and known links. By default, broken links are a cherry red that is a bit brighter than the shade of red we are accustomed to seeing in broken links. These parameters should be placed in LocalSettings.php:

$wgPureWikiDeletionBlankLinkStyle="color: #FF4500";

Development notes
See Extension talk:PureWikiDeletion.