Extension:WarnDeletion

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
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
Last 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

Check usage (experimental)

Contents

[edit] What can this extension do?

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

[edit] Usage

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.

[edit] Download instructions

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

[edit] Installation

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");

[edit] A word about this extension

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

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox