Jump to content

Topic on Extension talk:Replace Text

Enlargement of the displayed reference context

2
185.44.6.26 (talkcontribs)

I would like the preview page with the found text passages (after hitting "Continue") to display a longer context before and after the reference, e.g. the whole line of text or the whole paragraph.

Which areas in the Replace Text scripts need to be adapted for this?

Yaron Koren (talkcontribs)

The context length is determined in this line. It looks like this code needs updating, because there is no longer a "contextchars" user preference, so the length is simply always 40. Perhaps there should be a setting for this, but for now, to increase the length, you would simply have to edit that line.

Reply to "Enlargement of the displayed reference context"