Last modified: 2011-04-14 15:10:28 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 T11592, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links