Jump to content

How to show more text in MediaWiki search results?

From michaelbeijer.co.uk

Go to file:

/includes/search/SearchHighlighter.php

Change:

DEFAULT_CONTEXT_LINES (number of lines shown in search results)
DEFAULT_CONTEXT_CHARS (number of characters of search results)