Last modified: 2014-03-05 18:34:57 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 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.