Last modified: 2014-03-05 18:34:57 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 T12526, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10526 - Improve insertTags() for IE and Opera
Improve insertTags() for IE and Opera
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-07-10 16:27 UTC by AlexSm
Modified: 2014-03-05 18:34 UTC (History)
1 user (show)

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

Suggested code for insertTags() (2.40 KB, text/plain)
2007-07-10 16:27 UTC, AlexSm

Description AlexSm 2007-07-10 16:27:29 UTC
Created attachment 3884 [details]
Suggested code for insertTags()

The current implementation of insertTags() (used to insert characters/tags while editing) in wikibits.js is inadequate for Internet Explorer and Opera: the resulting text selection is very inconvenient. 

The proposed insertTags() prototype is attached. Please see my en.wp linked page for examples and more info.
Comment 1 Brion Vibber 2007-07-12 17:40:52 UTC
Applied in r24042

Tested and confirmed expected behavior:
* Firefox 2.0 / Mac
* Opera 9.20 / Mac
* Opera 8.0 / Mac
* Opera 7.5 / Mac (no toolbar)
* Opera 6 / Mac (no toolbar)
* Safari 2.0 / Mac
* Safari 3.0.2 / Win XP
* IE 7.0 / Win XP
* IE 6.0 / Win XP

Tested with oddities:
* iCab 3 / Mac (toolbar displays but nonfunctional; seems to have HTML parsing errors unrelated to the JS work)

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