Commit graph

6 commits

Author SHA1 Message Date
Claire 88f99bafc8
Add searchaux class to infobox output (#126)
In CirrusSearch, content can be wrapped in class="searchaux" to deprioritize it
from search results.[1] There isn't much use I can think of for infoboxes to be
directly displayed in search results.

Additionally, commit f558c16 adds the noexcerpt class to the infobox, hiding
the infobox from Extension:TextExtracts,[2] an extension that extracts texts
from pages.

[1]: https://www.mediawiki.org/wiki/Help:CirrusSearch#Exclude_content_from_the_search_index
[2]: https://www.mediawiki.org/wiki/Extension:TextExtracts#Configuration_settings

Co-authored-by: BlankEclair <blankeclair@waifu.club>
2024-11-25 14:33:19 -07:00
lkucharczyk 15f3b9e777 Port new data and infobox attributes (#16) 2019-02-03 17:53:34 +01:00
lkucharczyk e84e5c1e6c Add support for name attribute 2019-02-02 23:34:48 +01:00
lkucharczyk f558c16a3d
Add noexcerpt class to infobox wrapper #17 2018-12-25 19:01:56 +01:00
Luqgreg 1fec9e640c Add infobox type attribute 2018-12-23 01:04:50 +01:00
Luqgreg 7fe3a39d1d Mustache -> Handlebars 2018-08-08 11:31:33 +02:00