* (bug 4663) Edit toolbar enabled in compatible versions of Safari
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 17 Apr 2006 10:36:21 +0000 (10:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 17 Apr 2006 10:36:21 +0000 (10:36 +0000)
commita6fc8f799b26e65648c7027ce2bb804d37893890
tree902f5aa015c84efa71f528a4303a9902027a68ac
parent796b81b84d9d751615be6d4472209a58096b4e58
* (bug 4663) Edit toolbar enabled in compatible versions of Safari
* (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
* (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
* Edit toolbar now works in pure XHTML mode (application/xhtml+xml)

The edit toolbar buttons are now created with DOM functions rather than
document.writeln(). This makes it compatible with viewing in XML mode in
strict browsers like Firefox, and additionally allows testing if the
textarea supports the 'selectionStart' property so recent versions of
Safari and Konqueror can get the toolbar automatically enabled.

Information for the toolbar items is stored in globals mwEditButtons and
mwCustomEditButtons; this latter allows MediaWiki:Common.js or similar
to quickly and easily add custom items such as the redirect button currently
on en.wikipedia.org.

Switching from a javascript: link to a straight image with an onclick
handler removes the unsightly javascript url gunk from Opera's tooltip.
RELEASE-NOTES
includes/EditPage.php
skins/MonoBook.php
skins/common/wikibits.js