From 9d187e016fe5dee52d427ba235f139f98dc46798 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 6 May 2008 02:01:24 +0000 Subject: [PATCH] Downgrading this error because it happens sometimes due to user input --- includes/Parser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index a5162d6aa7..3e309bee75 100644 --- 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 = 'Invalid tag extension name: ' . + htmlspecialchars( $name ) . ''; } } } else { -- 2.20.1