Last modified: 2013-04-10 06:55:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49039, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47039 - [TUX] [IE9] Placeholder is used as instant filter
[TUX] [IE9] Placeholder is used as instant filter
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Highest critical (vote)
: ---
Assigned To: Amir E. Aharoni
https://translatewiki.net/w/i.php?tit...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-09 12:33 UTC by Siebrand Mazeland
Modified: 2013-04-10 06:55 UTC (History)
6 users (show)

See Also:
Web browser: Internet Explorer
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot of initial view with filtered list (48.39 KB, image/png)
2013-04-09 12:33 UTC, Siebrand Mazeland
Details

Description Siebrand Mazeland 2013-04-09 12:33:39 UTC
Created attachment 12058 [details]
Screenshot of initial view with filtered list

In IE9, the "Filter list" text that is in the field as a placeholder, is immediately used as a filter (also in earlier versions of IE).

Steps to reproduce:
1. Go to URL.

Observed:
I. List appears to be filtered. See screenshot.

Expected:
II. List should only be filtered if a user adds text to filter on.
Comment 1 Nemo 2013-04-09 13:27:47 UTC
Other screenshot in earlier feedback: https://translatewiki.net/wiki/File:New_interface_bugs,_German,_1.png
Comment 2 Gerrit Notification Bot 2013-04-09 13:53:57 UTC
Related URL: https://gerrit.wikimedia.org/r/58301 (Gerrit Change Ib483b4d15034eaf726a7a0d42ab4f5170fc5abde)
Comment 3 Amir E. Aharoni 2013-04-09 20:15:35 UTC
My understanding is that it happens because in IE jquery.placeholder is applied to all the fields on the page in resources/mediawiki.page/mediawiki.page.ready.js and causes .val() to return the placeholder text.

As an experiment, I tried replacing the core jquery.placeholder.js with the plugin of the same name from here:
https://github.com/mathiasbynens/jquery-placeholder 

Everything just worked, including the placeholder in the search box.
Comment 4 Gerrit Notification Bot 2013-04-09 21:28:46 UTC
Related URL: https://gerrit.wikimedia.org/r/58423 (Gerrit Change If3a035c3f07723c6e25eac1b2d829a85dc9b481f)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links