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
This is all getting really real, really fast!
Depends on:
* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0
Change-Id: I203852358fc6f7592832e48c562b24c5d9f046f5
The previous commits had a flawed process for creating the lightbox
interface. We now have some nice tweaks that should make it loads
easier to modify in later commits.
Change-Id: Ie56da2384c993279af0db2dee82e488e02783114
None of this PDF handler business.
Whitelist may be a little incomplete, but I think it comprises most of
the images on Commons at least. We can revisit later.
Change-Id: I33a44f8de8b0e93818f7cc950d8cae11bd73b929