"Context per line" preference doesn't seem to do anything useful
Closed, ResolvedPublic


In the search preferences i can put a number in "Context per line". I tried changing it and no matter what i put there, nothing seems to change on the results page.

It it supposed to do anything at all? If it doesn't do anything on Wikipedia, then why is the preference still there?

Version: unspecified
Severity: normal

bzimport set Reference to bz28343.
Amire80 created this task.Via LegacyMar 31 2011, 6:43 AM
Nikerabbit added a comment.Via ConduitMar 31 2011, 5:35 PM

Need to check if it is used in the default search engine or some of the search extensions like sphinx.

brion added a comment.Via ConduitApr 6 2011, 10:27 PM

If I'm reading this correctly, the contextchars option basically got disabled in r34210 (and contextlines earlier), when Robert was rewriting a lot of the highlighting code in 2008.

It seems to have been hardcoded at 2 lines and 75 chars, replacing the user preferences... probably we should just drop the prefs, if they've been broken for a couple years and nobody noticed!

(contextchars is also used in the ReplaceText extension, but could be dropped from there.)

MarkAHershberger added a comment.Via ConduitApr 6 2011, 11:10 PM

(In reply to comment #2)

probably we should just drop the prefs


Now, where is Chad...

demon added a comment.Via ConduitMay 1 2011, 9:14 PM

Done in r87215 :D

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.