Jump to content

Topic on Extension talk:TitleKey/Archive 2

Page text search broken after MediaWiki 1.42.3 upgrade

5
Bkell (talkcontribs)

I just upgraded MediaWiki from 1.37.1 to 1.42.3 and reinstalled the TitleKey extension, version 1.0 (3acd981). I added $wgSearchType = MediaWiki\Extension\TitleKey\SearchEngine::class; after wfLoadExtension( 'TitleKey' ); in LocalSettings.php as instructed in Extension:TitleKey#Installation. I ran the update script as part of the MediaWiki upgrade.

Unfortunately TitleKey seems to break page text search now. Case-insensitive page title search works correctly, but if I try to search for a word in the contents of a page, I get no results. I have run both RebuildTitleKeys and rebuildtextindex, but neither of them fixed the problem. If I comment out the two TitleKey lines in LocalSettings.php, then page text search works again. (Of course, page title search becomes case-sensitive.)

Is there something else I can try to get TitleKey working with page text search?

Paladox (talkcontribs)
Samwilson (talkcontribs)

I added mention to the docs here about the other DB types as well.

Bkell (talkcontribs)

Ah, that was it! Thank you for your help!

Samwilson (talkcontribs)

We could probably get rid of the requirement to set that at all: T377286

Reply to "Page text search broken after MediaWiki 1.42.3 upgrade"