Page MenuHomePhabricator

allow placeholder for inputbox
Closed, ResolvedPublic

Description

It is nice to get a placeholder for the inputbox in the same way, as the search field of the vector skin.

Maybe the placeholder for the inputbox should work for all skins.

Thanks.


Version: unspecified
Severity: normal

Details

Reference
bz29580

Event Timeline

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

I don't understand. Do you mean in the sidebar? Could you please clarify the feature request?

Do you mean the text that appears in the box but disappears once you start typing stuff?

(In reply to comment #2)

Do you mean the text that appears in the box but disappears once you start
typing stuff?

Yes. But not in the sidebar, but in the inputbox from the Extension:InputBox inside the WikiText.

(In reply to comment #3)

(In reply to comment #2)

Do you mean the text that appears in the box but disappears once you start
typing stuff?

Yes. But not in the sidebar, but in the inputbox from the Extension:InputBox
inside the WikiText.

ok, I understand now. I had a bit of a d'oh moment earleir ;)

Originally I thought you meant you can specify SEARCH in [[mediawiki:sidebar]] to specify where the search box goes on MonoBook, but looking back it now seems obvious thats not what you meant :)

Created attachment 9280
Placeholder option for InputBox extension

Made a quick patch for this that someone can apply. :)

Attached: