Page MenuHomePhabricator

using filemtime on a non-existant file results in errors
Closed, ResolvedPublic

Description

If someone has a typo in their wfLoadExtensions() line, then several warnings are emitted before an exception is thrown. The problem should be caught before filemtime() is used.

Event Timeline

MarkAHershberger raised the priority of this task from to Needs Triage.
MarkAHershberger updated the task description. (Show Details)
MarkAHershberger added a subscriber: MarkAHershberger.

Change 212466 had a related patch set uploaded (by MarkAHershberger):
Notify of problems before filemtime, not after

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

Change 212466 merged by jenkins-bot:
registration: Notify of problems before filemtime, not after

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

Change 212484 had a related patch set uploaded (by Legoktm):
registration: Notify of problems before filemtime, not after

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

Legoktm assigned this task to MarkAHershberger.
Legoktm added a project: MW-1.25-release.

Change 212484 merged by jenkins-bot:
registration: Notify of problems before filemtime, not after

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