From 88f99bafc8b04a2b966e4fddc84f2b5a5b0d9142 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 26 Nov 2024 08:33:19 +1100 Subject: [PATCH] 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 --- templates/PortableInfoboxWrapper.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/PortableInfoboxWrapper.hbs b/templates/PortableInfoboxWrapper.hbs index 56b1ee7..29b6e05 100644 --- a/templates/PortableInfoboxWrapper.hbs +++ b/templates/PortableInfoboxWrapper.hbs @@ -1 +1 @@ - \ No newline at end of file +