Last modified: 2014-09-20 19:39:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25959, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23959 - add tracking category for expression errors
add tracking category for expression errors
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 33033
  Show dependency treegraph
 
Reported: 2010-06-14 18:27 UTC by Umherirrender
Modified: 2014-09-20 19:39 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2010-06-14 18:27:01 UTC
It is hard to find pages with expression errors. Please add a tracking category. Thanks.
Comment 1 Umherirrender 2011-09-03 18:47:40 UTC
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.
Comment 3 Umherirrender 2012-01-11 20:37:54 UTC
(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
Comment 4 Umherirrender 2012-04-21 11:38:04 UTC
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.
Comment 5 Jackmcbarn 2014-09-20 19:39:20 UTC
You can already do this by adding the category to [[MediaWiki:Pfunc expr unexpected number]] (and the other expression error messages).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links