Topic on Extension talk:GoogleSiteSearch

Display Google Search Results Below MediaWiki Search Results

3
50.251.57.77 (talkcontribs)

Hello,

I'm using MediaWiki v1.26, is there any way to have the Google search results display below the MediaWiki search results?

Fo0bar (talkcontribs)

Technically it could be done, but is not feasible because the results would not be reliable because there are times when the SpecialSearchResultsAppend hook does not run, while SpecialSearchResultsPrepend is always guaranteed to run before the MediaWiki results. See Manual:Hooks/SpecialSearchResultsAppend for details.

Sophivorus (talkcontribs)

Hi! I just sent a patch-for-review that adds the option to display the Google search results below the MediaWiki search results. I understand that sometimes this may cause the Google search results to not show, but this can always be documented next to the relevant config option and the choice left to the user. Please check it out! PS, if there's no reply, I may request ownership of the repo to merge this and other improvements, cheers!

Reply to "Display Google Search Results Below MediaWiki Search Results"