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:
1949b1c
)
Downgrading this error because it happens sometimes due to user input
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 6 May 2008 02:01:24 +0000
(
02:01
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 6 May 2008 02:01:24 +0000
(
02:01
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
a5162d6
..
3e309be
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-3249,7
+3249,8
@@
class Parser
$output = call_user_func_array( $this->mTagHooks[$name],
array( $content, $attributes, $this ) );
} else {
- throw new MWException( "Invalid call hook $name" );
+ $output = '<span class="error">Invalid tag extension name: ' .
+ htmlspecialchars( $name ) . '</span>';
}
}
} else {