On Apr 26, 2009, at 8:30 PM, sdumitriu (SVN) wrote:
  Author: sdumitriu
 Date: 2009-04-26 20:30:08 +0200 (Sun, 26 Apr 2009)
 New Revision: 19116
 Modified:
   platform/web/trunk/standard/src/main/webapp/templates/exception.vm
 Log:
 XWIKI-3677: The "XWiki has a default limit of around 10Mb for
 attached files." error message is not enclosed in a
 #startmessagebox() macro
 Done. Patch submitted by Chathura Prabuddha Ganegoda applied without
 changes.
 Modified: platform/web/trunk/standard/src/main/webapp/templates/
 exception.vm
 ===================================================================
 --- platform/web/trunk/standard/src/main/webapp/templates/
 exception.vm   2009-04-26 15:27:14 UTC (rev 19115)
 +++ platform/web/trunk/standard/src/main/webapp/templates/
 exception.vm   2009-04-26 18:30:08 UTC (rev 19116)
 @@ -2,12 +2,11 @@
 <div class="main layoutsubsection">
     #set($message = $xwiki.parseMessage())
     #if($message)
 -    <center>
 -        <h2>$message</h2>
 -        <br/><br/>
 -    </center>
 +    #xwikimessageboxstart($msg.get('notice') $message)
 +    #xwikimessageboxend()
     #else
 -    $msg.get("problemoccured")
 +    #xwikimessageboxstart($msg.get('notice')
 $msg.get('problemoccured'))
 +    #xwikimessageboxend() 
 [snip]
 btw, it's "occurred" and not "occured"... For whoever wants to
fix
 this (always tricky to ensure all places are modified)... ;) 
There was an issue about this, and the values are changed already;
changing the keys is dangerous (for backwards compatibility), so this
will be fixed when introducing new keys according to the current best
practice.
--
Sergiu Dumitriu