https://bugzilla.wikimedia.org/show_bug.cgi?id=52098
Web browser: ---
Bug ID: 52098
Summary: Input box for page protection expiry time strange
behaviour: key up and down (Safari/Chrome)
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Page protection
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.)
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l