Jump to content

Topic on Extension talk:Replace Text

Search using Replace Text not returning results

6
Tiggleshorts (talkcontribs)

Running the search for words that should return are returning empty results, from both the web interface and CLI.


Everything else on the wiki appears to be working fine, when doing regular word searches it appears content on the pages are returned. Are the results generated from some other process? Oddly searches for words in templates appears to work. Also odd, for testing a search for 'the' one page does return and from the results it appears that page is just seeing that one word, not displaying any surrounding text, even though there are many other words on that page.


I recently upgraded from 1.35 to 1.39.1. Anyone else see similar issues?

Tiggleshorts (talkcontribs)

After doing a small edit on a page, now that page does show up when I search for text using Replace Text. There have been many edits previously so I'm looking to see why those aren't showing up. Further edited pages now show also.

Perhaps some database needed to be initialized by running Replace Text?

Tiggleshorts (talkcontribs)

I had $wgCompressRevisions set to true, now I see that in the 'known issues' section. Will set that to false and test further.

Ciencia Al Poder (talkcontribs)

Setting it to false won't make it work, unless you edit all your pages to add a new uncompressed revision.

Tiggleshorts (talkcontribs)

Using the suggested alternative MassEditRegex extension worked in my case. If Replace Text could issue a warning of some sort if $wgCompressRevisions set to true that would have been helpful, I likely set that following some optimization guide years ago but forgot about it.

ArchATempAcct (talkcontribs)

Same exact bug since upgrading to 1.39, text replace not seeing pages (and some matching text) until I edit the page. Thank you for the alternative tool.

Reply to "Search using Replace Text not returning results"