Last modified: 2007-04-24 20:39:46 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 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.