Multiply target dimensions by $.devicePixelRatio() when fetching
image for the viewer lightbox.
Bug: 55477
Change-Id: I5d64d21ecc563486a6f7d4709cebc129ef77f930
Needed to use $.createSpinner instead of hacking in the image directly,
else bits.wikimedia.org won't work as expected. Will test on beta.
Change-Id: I0eba356f7910fd6a3173ed66c601fd42264ff336
Removed unused circle.svg, added use.svg for "use this file", added
new SVG versions for most icons from Vibha.
Change-Id: Ice2db8fdaf785dae9d3018f78db35c6cbd15f774
In the future, I'll have a nicer UI creation helper method that will
mark these as clearable and empty them for me. Until then...
Change-Id: I8a03040a294a4fec19cd7714d4219f5d571b0c48
Little bit hacky, maybe, but it's working nicely and it's a very useful
tool for the lightbox.
Selection, it turns out, is really really difficult.
Bug: 56141
Change-Id: Ifd3e2f771010190c9f401fd4219342aff48f4be8
There were a few nasty things going on here, but it looks fixed up, and
probably a mite faster too!
Thanks so much for the review, Krinkle.
Thanks to Gergo also for the better algo.
Change-Id: I630a1ad625abb803e31c7e7dd2cb4f4386d52607
Strip any non-text content from the creation/upload date string,
and, if possible, parse and format (according to browser locale)
the result.
Bug: 56146
Change-Id: I214e53c5219335b7a9fc852dc029b2992ca56435
Strips out complex formatting, which should be useful later on as well.
Depends on:
* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0
Change-Id: Id835fd8133b9762e7bec10783f4fa4b983177aed
Link to the user page of the uploader.
Fetches the gender from the API - falls back to "unknown" especially in
cases of cross-domain requests.
Change-Id: I38940782dc5d2d56c8aea608b1fe72e04f397c00
Fallback to upload time for now.
Helps to have:
* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0
Change-Id: I822b48cebbace51cd8f68adc45a68a1c93ec29db
Also pull in a change to multilightbox that will make things easier for
fullscreen handling.
Bug: 55489
Change-Id: I2eda8f82df8602a02dcf1c878c5232a8e6490e6a