Hi!
A brief note to talk about the progress and status of the share [0] and
embed [1] features of MultimediaViewer, why they're taking so bloody long,
and what's left to sort out.
I've written out the interfaces, most of the code handling thumbnail URL
fetching, size determinations, and (en|dis)abling various interface things
depending on what the selections are currently. You can currently open
the panel and get HTML that works, Wikitext that works, and a link that
works.
The problems that remain are basically making sure you can get the embed
codes that you want, instead of ones you don't, and making sure the stuff
you select is what actually gets applied to the code.
We also are looking towards having tests available for all of these things
so it's not terribly difficult to maintain, and I also want to split the
code into multiple different files so I don't have to maintain a single,
intractable 800+ line file with all different parts of the panel in it.
Those parts may be split off and merged later in the week, though.
If you're curious about the work currently being done on these features,
you can look at the open WIP patchset on Gerrit [2], ask questions here,
or corner the developers on IRC [3].
[0]
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/147
[1]
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/148
[2]
https://gerrit.wikimedia.org/r/112928
[3] #wikimedia-multimedia on
irc.freenode.net [4]
[4] 'Play "stomp the developers" live on
irc://irc.freenode.net/#mediawiki!' [5]
[5]
https://bugzilla.wikimedia.org/quips.cgi?action=show
--
Mark Holmquist
Software Engineer, Multimedia
Wikimedia Foundation
mtraceur(a)member.fsf.org
https://wikimediafoundation.org/wiki/User:MHolmquist