diff options
author | Roan Kattouw <roan.kattouw@gmail.com> | 2018-06-26 16:52:59 -0700 |
---|---|---|
committer | Roan Kattouw <roan.kattouw@gmail.com> | 2018-06-26 17:55:50 -0700 |
commit | 39163edd17e0cc3ec7d87f9e3ac942e995d56326 (patch) | |
tree | d8ec9aa2bfdec272a7ff5a226dd65d1224e24af7 /includes/templates | |
parent | 86775668774111a000795eeea4a168bf988d0d56 (diff) | |
download | mediawikicore-39163edd17e0cc3ec7d87f9e3ac942e995d56326.tar.gz mediawikicore-39163edd17e0cc3ec7d87f9e3ac942e995d56326.zip |
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
Diffstat (limited to 'includes/templates')
-rw-r--r-- | includes/templates/EnhancedChangesListGroup.mustache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/templates/EnhancedChangesListGroup.mustache b/includes/templates/EnhancedChangesListGroup.mustache index 24f06135d11d..e41a98bf1ce3 100644 --- a/includes/templates/EnhancedChangesListGroup.mustache +++ b/includes/templates/EnhancedChangesListGroup.mustache @@ -1,5 +1,5 @@ <table class="{{# tableClasses }}{{ . }} {{/ tableClasses }}" data-mw-ts="{{{ fullTimestamp }}}"> - <tr class="mw-rcfilters-ui-highlights-enhanced-toplevel"> + <tr class="mw-rcfilters-ui-highlights-enhanced-toplevel {{# filterClasses }}{{ . }} {{/ filterClasses }}"> <td> <div class="mw-rcfilters-ui-highlights"> <div class="mw-rcfilters-ui-highlights-color-none" data-color="none"></div> |