On 11/16/07, raymond(a)svn.wikimedia.org <raymond(a)svn.wikimedia.org> wrote:
Revision: 27539
Author: raymond
Date: 2007-11-16 08:02:24 +0000 (Fri, 16 Nov 2007)
- $this->message = wfMsgForContent( "expr_$msg",
htmlspecialchars( $parameter ) );
+ $this->message = '<span class="error">' .
wfMsgForContent( "pfunc_expr_$msg", htmlspecialchars( $parameter ) ) .
'</span>';
- return
wfMsgForContent( 'pfunc_rel2abs_invalid_depth', $fullPath );
+ return '<span
class="error">' . wfMsgForContent( 'pfunc_rel2abs_invalid_depth',
$fullPath ) . '</span>';
- $result = wfMsgForContent(
'pfunc_time_error' );
+ $result = '<span class="error">' .
wfMsgForContent( 'pfunc_time_error' ) . '</span>';
- return
wfMsgForContent( 'pfunc_time_too_long' );
+ return '<span class="error">' .
wfMsgForContent(
We usually use <strong class="error">, not <span>.