Page MenuHomePhabricator

Suggestion search drop-down with skin "modern"
Closed, ResolvedPublic

Description

Author: londenp

Description:
Great tool, but I like working with the new skin modern. The suggestion search dropdown/OpenSearch does not seem to work with this skin modern, whereas it works well with the Monobook skin.


Version: unspecified
Severity: enhancement
URL: http://nl.wikipedia.org

Details

Reference
bz13824

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:10 PM
bzimport set Reference to bz13824.

Fixed in r33759.

The setup code was using a MonoBook-specific div ID to insert the results container into. Swapped that for the plain ol' document.body and fixed the styles for MonoBook and Modern so it gets the scale-up fix for the font size (they both use a weird system where they shrink the font size on the body, then scale it back up inside.... very wtf territory!)

Added setup for form and input IDs used for the second search box on Cologne Blue, and copied those IDs over to Nostalgia and Classic skins.

Note that the drop-down is a bit unsatisfactory on the page-bottom search boxes in Nostalgia, Classic, and Cologne Blue, as it tries to squish in at the bottom of the page, and you only get two lines of data. The sidebar search boxes are also not very wide, which makes results pretty cramped.