dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd8639c
)
CoreTagHooks: Use parse() for output to HTML rather than text()
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Tue, 28 Oct 2014 19:57:47 +0000
(20:57 +0100)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Tue, 28 Oct 2014 19:57:47 +0000
(20:57 +0100)
Change-Id: I9f28afe185a24883fb575dd6df8a23c4ab233b64
includes/parser/CoreTagHooks.php
patch
|
blob
|
history
diff --git
a/includes/parser/CoreTagHooks.php
b/includes/parser/CoreTagHooks.php
index
3ffa16c
..
df868ea
100644
(file)
--- a/
includes/parser/CoreTagHooks.php
+++ b/
includes/parser/CoreTagHooks.php
@@
-135,7
+135,7
@@
class CoreTagHooks {
public static function indicator( $content, array $attributes, Parser $parser, PPFrame $frame ) {
if ( !isset( $attributes['name'] ) || trim( $attributes['name'] ) === '' ) {
return '<span class="error">' .
- wfMessage( 'invalid-indicator-name' )->inContentLanguage()->
text
() .
+ wfMessage( 'invalid-indicator-name' )->inContentLanguage()->
parse
() .
'</span>';
}