https://bugzilla.wikimedia.org/show_bug.cgi?id=54033
Web browser: ---
Bug ID: 54033
Summary: Files/images should be fetched in batch by parser, not
one at a time
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
File objects are looked up in the Parser one at a time as they're encountered.
This isn't too bad on Wikimedia sites because all the file repositories are on
the local network, but for third-party sites running with InstantCommons on,
pages with lots of images can take a *long* time to render.
Parser::fetchFileNoRegister() does an individual wfFindFile() call. It could be
*much* more efficient to call RepoGroup::findFiles() in batches; for
InstantCommons images this would allow for batching the API requests, reducing
the round-trip time significantly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l