diff -r 5863854a6ccf formatter/text_html.py
--- a/formatter/text_html.py	Sat Sep 05 22:28:08 2009 +0200
+++ b/formatter/text_html.py	Sun Sep 06 00:52:20 2009 +0200
@@ -524,6 +524,7 @@
                           param through wikiutil.escape, but text_html formatter's _open
                           will do it again, so this just leads to double escaping now).
         """
+        _ = self.request.getText
         if do_escape is not None:
             if do_escape:
                 logging.warning("Deprecation warning: MoinMoin.formatter.text_html.url being called with do_escape=1/True parameter, please review caller.")
@@ -543,6 +544,14 @@
             if css:
                 attrs['class'] = css
 
+            # If link opens in a new window, announce it in 'title'
+            if 'target' in kw:
+                if kw['target'] == '_blank':
+                    if 'title' in kw:
+                        kw['title'] = kw['title'] + _(' (Link opens in a new window)')
+                    else:
+                        kw['title'] = _('Link opens in a new window')
+ 
             markup = self._open('a', attr=attrs, **kw)
         else:
             markup = self._close('a')
