Okay, I've updated the code. Changes include:
* On Mozilla-based browsers it now uses the infobox mode (where it has
a box with example text rather than directly changing the main edit box
and hitting the scroll bug, which isn't a problem for Erik but is a big
problem for actual users).
* I've changed the regular expression syntax to avoid causing a "Parse
error!" message to pop up on every page view in old versions of
Netscape (eg, 3.0). It still gives a runtime error when you edit a page
in Netscape 3.0, but if you click 'ok' you can still edit.
* It now does a better job at escaping apostrophe and quote characters
in the tips and sample text. This was causing for instance the French
"Cliquez sur un bouton pour obtenir un texte d'exemple" to cut off at
the "d'".
I haven't yet solved the Safari scrolling problem, but it works ok if
you make the window big enough that there's no room to scroll. :) It
also only seems to trigger on long pages; if the edit box isn't full,
it doesn't do it.
Haven't looked at Netscape 4 yet. I had the impression that it used to
work in earlier testing, but could be wrong.
You may have to force reload the wikibits.js file to get things
properly updated... eg
http://fr.wikipedia.org/style/wikibits.js
-- brion vibber (brion @
pobox.com)