Open main menu

Extension:WarnDeletion

MediaWiki extensions manual
OOjs UI icon advanced.svg
WarnDeletion
Release status: beta
Implementation Hook, User interface
Description Allows you to earmark pages by putting up a tag at the top which will result in a warning saying that the page will be deleted. Such pages on Wiki are then listed on a Special Page.
Author(s) Apoorvatalk
Latest version 0.1
MediaWiki 1.16.1
PHP 5.2.14
License MIT License
Download http://svn.sdrclabs.in/hg/warndeletion_mediawiki
Example http://wiki.sdrclabs.in/wiki/Special:Delete
Hooks used
ParserFirstCallInit
Translate the WarnDeletion extension if it is available at translatewiki.net
Check usage and version matrix.

Contents

What can this extension do?Edit

This extension allows you to mark pages with a deletion warning. All then such pages are listed on a Special Page.

UsageEdit

On the pages that you want to put warning, put the tag {{#Del:}}.To remove the warning, add {{#Del:Remove}} A warning will appear there instead of the tag when you save and view the page. Then you can go to the special page Special:Delete and list of all such pages which have been warned of deletion.

Download instructionsEdit

Download the tar.gz or tar.bz2 from the left side link at [1]

InstallationEdit

Extract the tar.gz or tar.bz2 and put both -- the Delete directory and the warn.php inside extensions/ directory in your MediaWiki isntallation.

To install this extension completely, now add the following to LocalSettings.php:

#add configuration parameters here
#setup user rights here
require_once("$IP/extensions/Delete/Delete.php");
require_once("$IP/extensions/warn.php");

A word about this extensionEdit

This extension was developed as a special contribution towards the Mission GWAWS :)