Page MenuHomePhabricator

PHP Fatal Error: Call to undefined method ImagePage::getFile()
Closed, ResolvedPublic

Event Timeline

thcipriani raised the priority of this task from to Needs Triage.
thcipriani updated the task description. (Show Details)
thcipriani added subscribers: thcipriani, MarkTraceur, greg.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
matmarex set Security to None.
matmarex removed a subscriber: matmarex.
Krenair claimed this task.

I continue to disagree - I have reset to master, and beta has updated, and this bug persists.

There are instances of getFile in ImagePage.php, and there is no method by that name in the class, so this isn't going away without touching that file.

greg raised the priority of this task from High to Unbreak Now!.Feb 2 2016, 12:54 AM

@Krenair any other ideas after you closed this?

Change 267817 had a related patch set uploaded (by Thcipriani):
Revert "Unroll Article::__call"

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

Change 267817 merged by jenkins-bot:
Revert "Unroll Article::__call"

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

<MarkTraceur> OK, so it looks like the trouble is that ImagePage overrides mPage, and still relies on __call to forward to an instance of WikiFilePage.
<MarkTraceur> But it is 19:00 here so I say revert

And so we did.

Is the fix for ImagePage tracked anywhere or even planned?