changeset 282:625640dccd66

workaround for Opera 8.5 making <No addition> categories imported from: moin--main--1.5--patch-286
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 04 Dec 2005 11:51:01 +0000
parents 8155e50e94ca
children c4a6c15d176f
files MoinMoin/wikiaction.py docs/CHANGES
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiaction.py	Sun Dec 04 11:40:42 2005 +0000
+++ b/MoinMoin/wikiaction.py	Sun Dec 04 11:51:01 2005 +0000
@@ -589,7 +589,7 @@
     # a full interface for categories (add, delete) or just add them by
     # markup.
     
-    if category:
+    if category and category != _('<No addition>', formatted=False): # opera 8.5 needs this
         # strip trailing whitespace
         savetext = savetext.rstrip()
 
--- a/docs/CHANGES	Sun Dec 04 11:40:42 2005 +0000
+++ b/docs/CHANGES	Sun Dec 04 11:51:01 2005 +0000
@@ -22,6 +22,7 @@
     * Fixed link icons. We now just use a.xxx.before where xxx is the link scheme,
       e.g. a.http.before. See theme's common.css.
     * Hopefully fixed some issue with non-ASCII attachment filenames.
+    * Workaround for Opera 8.5 making silly "No addition" categories.
 
   Other changes:
     * Added irc:// to the builtin supported link schemas. You can remove it