Last modified: 2011-04-14 15:10:28 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 9592 - wikibits/insertTags + <charinsert> should replace highlited text
wikibits/insertTags + <charinsert> should replace highlited text
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-04-16 17:54 UTC by Andrew Dunbar
Modified: 2011-04-14 15:10 UTC (History)
0 users

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


Description Andrew Dunbar 2007-04-16 17:54:16 UTC
wikibits.js / insertTags was originally designed for wrapping selected text with
start and end tags.

Later it was used as a cheap way to enter arbitrary characters not on the
keyboard since it already handled various browsers etc.

Later again the charinsert extension gave us a new tag to make it easier to
create sections of useful but hard to type characters.

Now insertTags is probably used a lot more for charinsert than for inserting tags.

We probably need a new function "insertChar" or "insertSpecial" that doesn't
care about tags but can replace the selection with the clicked special character.
Comment 1 Andrew Dunbar 2007-04-16 18:00:21 UTC
See also bug 9593
Comment 2 Brion Vibber 2007-04-24 20:38:18 UTC
Do you mean for single-item inserts, rather than for paired inserts?
Comment 3 Andrew Dunbar 2007-04-26 19:45:58 UTC
Yes I do mean for single-item inserts, these seem to be far more common these 
days. Think of the accented characters and foreign alphabets used in large 
numbers on quite a few wikis now. Look how many are used on the English 
Wiktionary for example.

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