Last modified: 2006-02-08 23:38:14 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 T6921, the corresponding Phabricator task for complete and up-to-date bug report information.
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