Page MenuHomePhabricator

Cannot choose "Unknown value" or "No value" for a statement with Monobook skin
Closed, ResolvedPublic


Author: rsocol

When using the default skin (Vector), one can choose "Unknown value" or "No value" for a statement, by clicking the small blue gear icon next on the left of the second text box. With the Monobook skin the icon appears black and nothing happens when you click on it.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:28 AM
bzimport set Reference to bz47942.
bzimport added a subscriber: Unknown Object (MLST).

This is caused by the self.repositionMenu(); call inside the 'click' event handler apparently not doing anything on Monobook - so the menu appears, but it's offscreen.

It probably depends on some brittle Vector functionality :(

Actually, it's even simpler: it just needs a z-index of 3 (because div#content has a z-index of 2 in Monobook).

Just add this CSS snippet somewhere to fix it: .wb-snaktypeselector-menu { z-index: 3; } (I'm not doing that since I have no idea where would it go :) ).

Actually z-index: 2; is sufficient.

Change 72516 had a related patch set uploaded by Michał Łazowik:
(bug 47942) Make .wb-snaktypeselector-menu visible on MonoBook

Change 72516 merged by jenkins-bot:
Make .wb-snaktypeselector-menu visible on MonoBook

Verified in Wikidata demo time July 17th