Last modified: 2007-04-24 20:39:46 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 T11593, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9593 - wikibits/insertTags + <charinsert> should work with all text input elements
wikibits/insertTags + <charinsert> should work with all text input elements
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-04-16 18:00 UTC by Andrew Dunbar
Modified: 2007-04-24 20:39 UTC (History)
0 users

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


Description Andrew Dunbar 2007-04-16 18:00:06 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" designed
especially as an extension to the keyboard. It may be impossible to edit the
browser URL bar with javascript but it should be possible to edit all text input
elements in all forms. It would be particularly useful for entering search terms.

Wikis that use a lot of <charinsert> (like the English Wiktionary) will also
become slightly less bloated with a dedicated function that takes fewer
parameters than insertTags.
Comment 1 Andrew Dunbar 2007-04-16 18:00:42 UTC
See also bug 9592
Comment 2 Brion Vibber 2007-04-24 20:39:46 UTC
Doesn't really sound feasible. Used where applicable for edittools as is, but
you're limited in what you can support.

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