Extension:My list

What can this extension do?
This extention can be used to draw a memory list. You can add some priority tags.

!!! This extension DO NOT use any DB.

Usage
Tags are : (contents...).

Parameters :
 * "title=name_of_title" is used to set a title to the list. Default : "My Checklist";

Contents : of the list with red background.
 * Every elements of the list have to be inserted between '[' and ']'.
 * You can add a priority tag (1#) just after the '['. The priority tag will insert the element on the top

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

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

Code
(contents...).

Parameters :
 * "title=name_of_title" is used to set a title to the list. Default : "My Checklist";

Contents : of the list with red background.
 * Every elements of the list have to be inserted between '[' and ']'.
 * You can add a priority tag (1#) just after the '['. The priority tag will insert the element on the top

EXAMPLE

 [1#one] [two] [1#three] [four] 

$wgExtensionFunctions[] = "my_List";

function my_List { global $wgParser; $wgParser->setHook( "my_list", "build_list" ); $wgParser->disableCache; }

function build_list ( $input, $argv['title'];	else		$title = 'My check list :';	$temp =