Jump to content

Extension:ToDoList

From mediawiki.org
MediaWiki extensions manual
ToDoList
Release status: experimental
Implementation Tag
Description The ToDoList extension provides a simple checklist functionality.
Author(s) Urfiner (Nikolai Kochkin)
Latest version 0.1.0
MediaWiki 1.43
License MIT License
Download

The ToDoList extension provides a simple checklist functionality. Checklists are stored on wikipages, so each check/uncheck produces a page edit.

Checklists can form a list using standard MediaWiki functionality:

Installation

[edit]

To install the extension:

  1. Clone the repository to your extensions/ subfolder: git clone https://github.com/Griboedow/ToDoList.git
  2. Load the extension in your LocalSettings.php: wfLoadExtension( 'ToDoList' );

Usage

[edit]

To create a checklist:

  1. Insert checkboxes via "<todo/>" parser function or via "Insert->Checkbox" in Visual editor:
  2. Save the page
  3. In "read" mode you can check and uncheck your checkboxes. Each state change produces a page edit:

Known issues

[edit]

It is an experimental extension, so it has many serious limitations:

  1. The extension parses wikitext in JS to modify corresponding checkbox state. That means it does not work well with transclusion or <nowiki> tag.
  2. The extension does not detect edits done by another user. For example, if someone else modifies a page, you will override their changes with your own. For that reason, it is highly recommended to update your wiki page after you've checked/unchecked everything you wanted to verify the actual state of a page.

See also

[edit]

The extension idea comes from these two extensions:

But the goal was to get rid of any BlueSpice dependency and make it simple.