Page MenuHomePhabricator

Dupe argument in case of "Failed to parse" error
Closed, ResolvedPublic

Description

If <math> failed to parse due to an unknown/invalid argument, e.g.
<math>\abcdef</math> the errormessage contains the wrong argument twice:

"Failed to parse (unknown error\abcdef): \abcdef"

[[MediaWiki:math_failure]] ([[MediaWiki:math_unknown_error]] argument): argument

Please delete the first output of the argument.


Version: unspecified
Severity: normal

Details

Reference
bz7531

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:23 PM
bzimport added a project: Math.
bzimport set Reference to bz7531.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

It's only the same if the formula has only one function. The second "argument" in the error message is the entire formula.

The real bug is that it says "unkown error" instead of "unkown function".

nmichalo wrote:

Not sure when the change occured, but the error message now produced is "unknown function" and as commented in comment 1 the output argument is not really duplicate.