MediaWiki:Gadget-highlightTable-core.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "/** * highlightTable.js * * Description: * Adds highlighting to tables * * History: * - 1.0: Row highlighting - Quarenon * - 1.1: Update from pengLocations.js v1.0 - Quarenon * - 2.0: pengLocations v2.1, Granular cookie - Saftzie * - 2.1: Made compatible with jquery.tablesorter - Cqm * - 2.2: Switch to localStorage - Cqm * - 3.0: Allow cell highlighting - mejrs * - 4.0: Labelled highligh...")
 
No edit summary
Tag: Reverted
Line 17:
* @todo Allow the stored data to be coupled to the table in question. Currently the data is stored
* on the page itself, so if any tables are shuffled, the highlighting doesn't follow. For
* the same reason tables hosted on other mw.pages are not synchronized.
*/
 
Line 348:
 
/*
* Merge the updated data for the current page into the data for other mw.pages into local storage.
*
* @param hashedPageName A hash of the current page name.
Line 565:
* Save highlighted rows for named tables, using the data-tableid attribute.
* Does not override values that are not present in the current table. This allows usethe use of a single
* table ID on mw.pages like [[Music]]
*
* @param tblid The table id for the table to initialise

Navigation menu