Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.32 KB

File metadata and controls

26 lines (16 loc) · 1.32 KB

The ToDoList MediaWiki extension provides an ability to add checkboxes to wiki pages. The checkboxes states are stored in wikitext, and they can be checked or unchecked in "read" mode.

MediaWiki page: https://www.mediawiki.org/wiki/Extension:ToDoList

Installation

  1. Download extension to the extensions folder of your MediaWiki: git clone https://github.com/Griboedow/ToDoList.git
  2. Load the extension in LocalSettings.php wfLoadExtension( 'ToDoList' );

Usage

To insert a checkbox, you can either insert <todo/> tag or go to Visual Editor, Insert->Checkbox:

ToDoListADdCheckbox

After that you can even copy-paste (Ctr+C & Ctrl+V) to speedup inserting checkboxes.

To change checkbox state, save page and in "read" mode check on a checkbox.

ToDoListHistory2

It will create a page edit event, you can later see it in history:

image

Notes

  • Transclusion is not supported. Checkboxes from transclusion will not be correctly checked-unchecked.
  • If page is modified by another user, then checkbox click would cause a page refresh (with a wanring note about that)