Page MenuHomePhabricator

Search suggestions container not working well for skins placing search box in the footer
Closed, DeclinedPublic

Description

Author: nsk

Description:
In T17902, which is now replaced by this bug, we found that the Ajax MWSuggest search suggestions container does not work well with the Nostalgia skin, which has its search box at the bottom of the page (and it is desirable to let it as it is because it emulated usemodwiki which also has its search box in that position).

This can be a problem with any skin that has its search box at the bottom of the page, not just Nostalgia. Therefore it can be considered a bug of the MWSuggest functionality because it assumes that the search box position will always have sufficient spacing under it.

I think the bug could be fixed by taking care of lines 201-202 of the mwsuggest.js file: /skins/common/mwsuggest.js


Version: unspecified
Severity: minor

Details

Reference
bz16235

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:21 PM
bzimport added a project: CologneBlue.
bzimport set Reference to bz16235.
bzimport added a subscriber: Unknown Object (MLST).

This is an ancient report, the code mentioned above no longer exists, and I'm not sure what was it about initially, but it's still valid: the AJAX search suggestions show below the search field, forcing the user to scroll the page down to click them.

They could probably be displayed above the search box in these cases.

(Adding 27411 tracker.)

Rather than mwsuggest it's simple search now.

That said, I don't consider this a priority. Placing search inside the footer is known to be bad for site usability. Any skin actually affected by this bug is already broken as far as I'm concerned.

The skins that implement this sort of functionality were removed in Ia6d73c2d. Marking this WONTFIX.

Not really, there's still Cologne Blue left. It has a second search box in the sidebar, though, so maybe the footer one could be removed. But until it is, reopening.

I tested out the search box in MonoBook, Modern, and CologneBlue skins in every web browser. The autocomplete feature now works in those skins.

It works, but you have to scroll down to actually click the autocompleted titles.

image.png (980×1 px, 265 KB)

Oh... didn't know the footer search box. So I tested the CologneBlue's footer search box as well. The autocomplete feature also works for the footer box, but you're right about scrolling the page down.

Jdlrobson subscribed.

Autocomplete has been disabled on the footer search box.
We should probably remove the search from the footer.