Open bertrandgorge opened 1 year ago
Actually there's also the class navigation-not-searchable which is not clear weither it has an impact or not...? https://linuxreviews.org/HTML_Rules_For_Preventing_Search_Engines_From_Indexing_Parts_Off_Web_Pages
Thanks. I have merged your pull request. I think it would also be useful to add an exclusion for navigation-not-searchable
, but then the list of exclusions would get rather large. It might be better to generalise this into a configuration parameter that allows the user to specify which classes to exclude from the index.
Hello, since a good number of setups might work in conjunction with CirrusSearch, it could be a good thing to honor the searchaux class that removes bits from the CirrusSearch index: https://www.mediawiki.org/wiki/Help:CirrusSearch#Full_text_search