Mobile app version of vmapp.org
Login or Join
Lee4591628

: Hiding redirect pages from MediaWiki search I'm running a wiki using MediaWiki, and when I search for a page the results are clogged with redirects from various capitalization redirects to a

@Lee4591628

Posted in: #Mediawiki #Search

I'm running a wiki using MediaWiki, and when I search for a page the results are clogged with redirects from various capitalization redirects to a page when I only want the result page to appear in search.

Although I want the redirects, is there a way to prevent them from appearing in the search results?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

MediaWiki used to have an option for suppressing redirects pages from search, but it was removed in version 1.23. From their search API documentation:


srredirects: Include redirect pages in the search. From 1.23 onwards, redirects are always included. (Default: false) (removed in 1.23)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme