Right now, typing a <translate> tag on a script page (as in, a page ending with .js in userspace or Mediawiki-space) makes the translate extension kick in, which means it's impossible to save the page with unbalanced tags.
It'd be good to implement some kind of disabling technique to prevent having to use ugly workarounds like groups and such (e.g., /(<)(translate>)/ or "<tran" + "slate>".