[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 Rainer Rillke @commons.wikimedia rainerril...@hotmail.com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Rainer Rillke @commons.wikimedia rainerril...@hotmail.com --- (In reply to comment #8) please close I thought it was. can't calculate the info for the thumbnail without actually resizing it When images are used in the usual UI, it's beneficial to know whether resizing works (or OOM occurs, it's over the max-size), ... but if this information is not forwarded to the API, there is no reason to scale all files. Also I doubt all were scaled because these queries usually took (and take) less than 1 s to complete while when requesting URIs of unusual image sizes, the server usually takes at least 1 s to respond per file. And I thought files are scaled on dedicated image scalers... so you really send requests out to these scalers and wait for them to complete and then send out the API response? Either I am under a misconception or this sounds really dubious... -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 --- Comment #8 from Umherirrender umherirrender_de...@web.de --- (In reply to comment #4) I updated the docs with Gerrit change #57268 successfully merged If you think, that is enough for this bug, please close. Thanks. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 Umherirrender umherirrender_de...@web.de changed: What|Removed |Added CC||umherirrender_de...@web.de --- Comment #2 from Umherirrender umherirrender_de...@web.de --- iilimit is per image and not per request, so using iilimit = 1 (which is the default) will give you one imageinfo per image. Due to the default of the dir, this is always the latest version. This can be mentioned better on the auto doc page, that is right. This query will give you 200 files from a category and the corrosponding url for a thumb to build the img: http://commons.wikimedia.org/w/api.php?action=querygenerator=categorymembersgcmtitle=Category:Commons%20statisticsgcmlimit=200gcmtype=fileprop=imageinfoiiprop=urliiurlwidth=120 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 Rainer Rillke @commons.wikimedia rainerril...@hotmail.com changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever confirmed|1 |0 --- Comment #3 from Rainer Rillke @commons.wikimedia rainerril...@hotmail.com --- (In reply to comment #2) iilimit is per image and not per request Thank you and I am sorry that I did not look at it more carefully. This query will give you 200 files from a category and the corrosponding url for a thumb to build the img: It will only give you 50 imageinfos max. Try this query (a category that has more than 50 images): http://commons.wikimedia.org/w/api.php?action=querygenerator=categorymembersgcmtitle=Category:Flowersgcmlimit=200gcmtype=fileprop=imageinfoiiprop=urliiurlwidth=120format=jsonfm -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 --- Comment #4 from Umherirrender umherirrender_de...@web.de --- Yes, that is right, because since gerrit 47189 you can do only 50 file transforms with the api (for normal and sysop) A transform is needed to create the thumb/provide the url for the thumb. Without the iiurlwidth parameter, you will get more imageinfos, but you need the url/thumb, so that does not help. I updated the docs with gerrit 57268 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 --- Comment #5 from Rainer Rillke @commons.wikimedia rainerril...@hotmail.com --- (In reply to comment #4) A transform is needed to create the thumb/provide the url for the thumb. Do you know the reason why it's performance is bad? I updated the docs with Gerrit change #57268 This indeed, clarifies things. Thanks. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 Umherirrender umherirrender_de...@web.de changed: What|Removed |Added CC||aschulz4...@gmail.com --- Comment #6 from Umherirrender umherirrender_de...@web.de --- (In reply to comment #5) (In reply to comment #4) A transform is needed to create the thumb/provide the url for the thumb. Do you know the reason why it's performance is bad? No, you can read only some comments on the gerrit change set for that. Maybe it halps in understanding (not for me) Maybe Aaron or Anomie can give a better explanation here. Brian Wolff asked on the change set, too. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 --- Comment #7 from Brad Jorsch bjor...@wikimedia.org --- (In reply to comment #5) (In reply to comment #4) A transform is needed to create the thumb/provide the url for the thumb. Do you know the reason why it's performance is bad? Because it has to actually resize the image, which can involve a good deal of image processing. I don't know why exactly it can't calculate the info for the thumbnail without actually resizing it, but that's how it works. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 46782] API imageinfo per-title-limit
https://bugzilla.wikimedia.org/show_bug.cgi?id=46782 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Low Summary|FEATURE REQUEST: API|API imageinfo |imageinfo per-title-limit |per-title-limit -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l