Page MenuHomePhabricator

Phonos has no error category for missing files
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Save a page with e.g. <phonos file="This file does not exist"/>

What happens?:
The only tracking category it adds is "Pages that use Phonos".

What should have happened instead?:
It adds an error category, preferably one specific to this situation (e.g. "Pages using Phonos with missing files").

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 954398 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Phonos@master] Always use exceptions for wrong user input

https://gerrit.wikimedia.org/r/954398

Nikerabbit removed a project: Language-Team.

Change 954398 merged by jenkins-bot:

[mediawiki/extensions/Phonos@master] Add tracking category for all errors

https://gerrit.wikimedia.org/r/954398

Umherirrender claimed this task.