Page MenuHomePhabricator

add tracking category for expression errors
Open, LowPublicFeature

Description

It is hard to find pages with expression errors. Please add a tracking category. Thanks.


Version: unspecified
Severity: enhancement
See Also:
T63425

Details

Reference
bz23959

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:05 PM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz23959.
bzimport added a subscriber: Unknown Object (MLST).

It is not possible to fix this at the moment, because Parser::addTrackingCategory is "protected" and cannot called from the ParserFunctions extension to add the tracking category.

It is possible to copy all the checks and adding it manuell, but that sounds not so good.

(In reply to comment #1)

It is not possible to fix this at the moment, because
Parser::addTrackingCategory is "protected" and cannot called from the
ParserFunctions extension to add the tracking category.

public since r108628

Only for documentation: When using #iferror around a #expr a tracking category should not be added, because that is a known error case, which also has a way to handle with ('then' of iferror)

But when having a #iferror and at another place a #expr with error on one page, the tracking category should be there.

You can already do this by adding the category to [[MediaWiki:Pfunc expr unexpected number]] (and the other expression error messages).

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM