Page MenuHomePhabricator

Improve performance of file pages by checking redirect state in "file usage" section in batches
Open, Needs TriagePublic

Description

On a file page there is a section "file usage" which can show up to 100 images.
The check for mw-redirect is done per file and not in one batch with all files.

Changing this could improve the performance of the file page

Event Timeline

Change 632314 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/core@master] Add LinkBatch to ImagePage::imageLinks

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

Change 632314 abandoned by Umherirrender:
[mediawiki/core@master] Add LinkBatch to ImagePage::imageLinks

Reason:

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