https://bugzilla.wikimedia.org/show_bug.cgi?id=46661
Web browser: ---
Bug ID: 46661
Summary: loadRequest() is called twice
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: MultiUpload
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
The MultipleUpload class provides its own version of SpecialUpload's
loadRequest() function, and calls it from MultipleUpload::__construct(). But
SpecialUpload also calls loadRequest() from its execute() function, so when the
MultipleUpload page runs, the function gets called twice. It looks like it
does redundant work, including allocating a bunch of UploadBase objects twice,
and it might have other unintended effects.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l