https://bugzilla.wikimedia.org/show_bug.cgi?id=28782

             Bug #: 28782
           Summary: UploadWizard: thumbnails on live Commons often
                    missing; duplicate fetches of same thumbnail
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: UploadWizard
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Live Commons often is slow to generate thumbnails due to thumbnail server
overloading, or because the generation occurs in a shelled-out process.

Our stashImageInfo calls only return the URLs of where the thumbnails are
*supposed* to be. It doesn't mean these URLs won't return errors for some
amount of time.

The result is that thumbnails are not ready when they are asked for, resulting
in 404 errors. These errors are then cached within UploadWizard.

Related: we also fetch the same thumbnail (same specifications) too many times.
If we want the same thumbnail on two different pages it gets fetched twice.

The solution is to use a mini publish-and-subscribe system within the
UploadWizard, that checks for the availability of thumbnails and then updates
the interface when they are ready.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to