Extension:TableMod
From MediaWiki.org
![]() |
The author of this extension is no longer maintaining it! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extensions}} infobox. |
TableMod Release status: unstable |
|||
---|---|---|---|
Implementation | Parser extension, Tag | ||
Description | in-page table modifications | ||
Last version | 0.1.0 (08.12.2009) | ||
MediaWiki | 1.15+ | ||
License | GPL | ||
Download | No link | ||
|
|||
|
|||
Check usage (experimental) |
Contents |
[edit] What can this extension do?
Surrounding allows a user with edit permissions on the page to perform some simple in-page modifications to a wiki-table.
[edit] WARNING
This extension MODIFIES the content of the wiki-table. The changed state is saved and not only displayed.
[edit] Usage
User can surround a wiki-table with tag. While page is parsed this extension adds links to the table which users with edit permissions to the table can use to modify the table. For now this tag supports sorting of the table (table must contain column headers) and removing of rows (identified by an index column specified in tag attributes).
[edit] Tag attributes
- ident - unique table id on this page
- index - index column used for remove action (values 1..n), specifying 0 as index column displays an additional column for single row removal
- actions - comma separated values with allowed actions and without spaces. Currently supported actions are:
- remove - remove all rows that have value in index column equal to the value of selected row
- sort - sort rows by selected column in selected direction. If all rows contain numerical data, the data is sorted as numbers otherwise it is sorted as strings.