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

--- Comment #5 from Brad Jorsch <[email protected]> ---
(In reply to Tisza Gergő from comment #4)
> 1) make iiurlwidth & co. multivalue, use empty values to match up the values:
[...] 
> This is fully BC but extremely hacky.

Extremely. -2.

> Deprecate iiurlwidth/iiurlheight/iiurlparam, come up with a new, multivalued
> parameter which can combine them (maybe use a wikitext-like dimension
> notation: '100', '100x100', 'x100', 'x100-qlow-100px') and a corresponding
> new response element which is also properly multivalued:

In general, yes. I see no reason for this to be not only wikitext-like but
actually be exactly what's used in the image syntax, if at all possible. The
only difficulty might be if any media handler needs multiple image-syntax
parameters to fully characterize the thumbnail.

In specific, see below.

> 3) instead of using imageinfo, make a new prop=thumbnails module. 

We already have too many image-related prop modules, IMO: imageinfo, videoinfo,
and stashimageinfo all do basically the same thing, just for slightly different
cases. 

> Thoughts? I am leaning towards 2) at the moment.

I like option 4: Deprecate prop=imageinfo entirely in favor of something that
isn't so full of warts. Details at
https://www.mediawiki.org/wiki/Requests_for_comment/API_roadmap#Rewrite_prop.3Dimageinfo_from_scratch_as_prop.3Dfileinfo

Although my proposal there includes option 2 when it comes to thumbnails.

Fleshing out that proposal and even help with coding it would be very welcome.

-- 
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