Last modified: 2013-07-29 15:32:26 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 T54098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52098 - Input box for page protection expiry time strange behaviour: key up and down (Safari/Chrome)
Input box for page protection expiry time strange behaviour: key up and down ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-26 15:56 UTC by PiRSquared17
Modified: 2013-07-29 15:32 UTC (History)
1 user (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description PiRSquared17 2013-07-26 15:56:48 UTC
Hello. When I go to a page with action=protect, the "other time" box does not work correctly. I have been able to reproduce this behaviour on Safari and Chrome, but not Firefox, leading me to suspect that this is some kind of event handling problem with the various "key" events. I have been able to reproduce this both as a local admin (metawiki) and as a global sysop (zuwiki), so this probably isn't due to local JS. My global JS may be to blame, however.

Steps to reproduce:
1. Open Safari or Chrome with JS enabled.
2. Log into an admin account.
3. Go to protect a page (e.g., https://meta.wikimedia.org/wiki/User:PiRSquared17/Sandbox2?action=protect )
4. Enter something in the "Other time" box.
5. Try using the arrow keys to move the cursor left, or clicking to move it to a point. Also try selecting all content.

Expected result:
Works like the block "other time" input (i.e., the default behaviour of input fields).
Actual result:
Cursor moves to end of input box whenever a key is unpressed.

(My guess: probably something to do with the script that updates the expiry for "Edit" to the "Move" box, or some weird event handling problem.)
Comment 1 Marius Hoch 2013-07-26 16:08:03 UTC
Was able to verify this with midori 0.4.7, Firefox is fine.

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


Navigation
Links