RCFilters: Move aggregation of highlight classes to the backend
authorRoan Kattouw <roan.kattouw@gmail.com>
Tue, 26 Jun 2018 23:52:59 +0000 (16:52 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 27 Jun 2018 00:55:50 +0000 (17:55 -0700)
commit39163edd17e0cc3ec7d87f9e3ac942e995d56326
treed8ec9aa2bfdec272a7ff5a226dd65d1224e24af7
parent86775668774111a000795eeea4a168bf988d0d56
RCFilters: Move aggregation of highlight classes to the backend

Construction of the highlight containers was moved to the backend, but
setupHighlightContainers() also aggregates the CSS classes used for
highlights for grouped entries in enhanced mode.

Move that to the backend too, and get rid of setupHighlightContainers().

Also move the namespace classes to getHTMLClassesForFilters() so that
they get picked up too, and pick up classes for tags separately because
the way they're handled is weird.

Bug: T197168
Change-Id: I4c374f82e7d128025f4e2b2f39b0adba14b76ef3
includes/changes/ChangesList.php
includes/changes/EnhancedChangesList.php
includes/templates/EnhancedChangesListGroup.mustache
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.ChangesListWrapperWidget.js