Page MenuHomePhabricator

Add id tag to div box nested inside p-search
Closed, ResolvedPublic

Description

Author: kmf164

Description:
I'm working on the Main page redesign project and one of the issues is whether
or not to include a second, more prominent search box at the top of the main
page. Some consider it redundant and prefer putting browse/portal links in that
spot. And with the German Wikipedia usability testing (openusability.org), the
users eventually did notice the search box, though not immediately.

As an alternative, I have been testing ideas for modifying the monobook skin, to
make the left search box slightly more noticable to new users. One idea is to
slightly modify the background color for the pBody div box, which is nested
inside the "p-search" div box. However, this pBody div tag lacks an id, so I
can't make any changes just to this div box in my monobook.

I'm not sure who has access to the MonoBook.php file, but it would be a big help
if someone could add an id to this div box (see proposed change below):

<nowiki><div id="p-search" class="portlet"></nowiki>
<nowiki><h5><label for="searchInput"><?php $this->msg('search')
?></label></h5></nowiki>
<nowiki><div class="pBody"></nowiki>

<nowiki><div id="p-search" class="portlet"></nowiki>
<nowiki><h5><label for="searchInput"><?php $this->msg('search')
?></label></h5></nowiki>
<nowiki><div </nowiki>'''id="searchBody"'''<nowiki> class="pBody"></nowiki>

Let me know if it's possible to change this? or if I'm asking in the wrong place?

Thanks. -Kmf164


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/skins/MonoBook.php

Details

Reference
bz4892

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:05 PM
bzimport set Reference to bz4892.
bzimport added a subscriber: Unknown Object (MLST).

kmf164 wrote:

This request is for the English Wikipedia.

robchur wrote:

Added in CVS HEAD. Div now has ID "searchBody", class "pBody".

What's the point? It'll be '#p-search .pBody' already.