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

       Web browser: ---
             Bug #: 39746
           Summary: UploadWizard needs to quit using funky array magic for
                    upload lists
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: UploadWizard
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


I just fixed bug 39608, which was nasty. It looks like this:

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

The reason I had to jump through hoops, as I explained, is partly because we
play with the structure of our mw.UploadWizard.uploads array in funny ways.

I'd like to either

1. Change it to be an object, not an array, and stop having to worry about it.

2. Use an array, but don't mess with the order beyond making sure the uploads
all appear in the proper sequence (i.e., don't always put them in the same
place)

3. Maybe even use an object *with the filenames as indices* and make it easier
to find the proper files by the filename (maybe not, this seems like a
stretch).

This should happen some other time, because really, it's low-ish priority. But
it's a pretty nasty thing.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to