Last modified: 2006-02-08 23:38:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4921 - Inappropriate UA sniffing in edit toolbar code.
Inappropriate UA sniffing in edit toolbar code.
Status: RESOLVED DUPLICATE of bug 4663
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
Other Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-08 23:36 UTC by Maksim Orlovich
Modified: 2006-02-08 23:38 UTC (History)
0 users

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


Attachments

Description Maksim Orlovich 2006-02-08 23:36:44 UTC
Hi...

Currently, the editing toolbar on WikiPedia is guarded by the following:
if (!document.selection && !is_gecko) {  

which disables the functionality on browsers other than IE and Mozilla family. However, 
the functionality it relies on, textarea.selectionStart/.selectionEnd is supported in 
other browsers families as well. I've implemented it in konqueror for 3.5.2, there is an 
independent implementation in development builds of Safari, and Opera 9 preview 1 appears
to support it too.  It would be appreciated if this test used object-detection insread, so 
non-mozilla/non-IE users weren't locked out of this functionality.

Thanks.
Comment 1 Brion Vibber 2006-02-08 23:38:14 UTC

*** This bug has been marked as a duplicate of 4663 ***

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


Navigation
Links