Jump to content

Extension:TableTools

From mediawiki.org
MediaWiki extensions manual
TableTools
Release status: stable
Description Add extension TableTools to BlueSpice 4.5 and create visual editor integration for sticky table header
Author(s) Hallo Welt! GmbH
Maintainer(s) Hallo Welt! GmbH
Latest version 4.5
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.43 (LTS)
Licence GNU General Public License 3.0 only
Download
Translate the TableTools extension if it is available at translatewiki.net
 Community Forum


The TableTools extension provides visual editor integration for sticky table headers.

Usage / features

  • provides a sticky table header
  • VisualEditor integration

It is possible to add the css-class mw-sticky-header in source edit mode to achieve a table header that stays visible during page scrolling. It works with all table styles.

The below example sets a sticky header for the default table style wikitable:

{| class="wikitable mw-sticky-header"


Installation

.git) as a "vcs repository" and the package name (mediawiki/TableTools) and version to the require section of your composer.local.json. Example:

{
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/wikimedia/mediawiki-extensions-TableTools
.git"
		}
	],
	"require": {
		"mediawiki/TableTools": "TableTools"
	}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'TableTools' );
  • Yes Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Bluespice icon

This extension was originally made for BlueSpice . BlueSpice is a MediaWiki distribution for enterprises and organizations. It enhances MediaWiki, in particular in the areas of quality management, process support, administration, editing and security. This extension is bundled with BlueSpice pro.

BlueSpice: