Skip to content

Github mirror of "mediawiki/extensions/ContainerFilter" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

License

Notifications You must be signed in to change notification settings

wikimedia/mediawiki-extensions-ContainerFilter

Repository files navigation

ContainerFilter

Installation

Execute

composer require mediawiki/container-filter ~1

within MediaWiki root or add mediawiki/container-filter to the composer.json file of your project

Activation

Add

wfLoadExtension( 'ContainerFilter' );

to your LocalSettings.php or the appropriate settings.d/ file.

Usage

Within the page content use e.g.

<containerfilter selector=".wikitable tr:not(:has(th))"/>

To filter the content of the container with the given selector. In this case all rows of the table that do not contain a header cell are filtered.

About

Github mirror of "mediawiki/extensions/ContainerFilter" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •