Commit graph

717 commits

Author SHA1 Message Date
Translation updater bot c28c8a9641 Localisation updates from http://translatewiki.net.
Change-Id: I41e3386107a57bf55757eebe57c420286e3c635c
2013-10-31 20:22:05 +00:00
jenkins-bot bd0ae60a68 Merge "Icon changes" 2013-10-31 17:33:26 +00:00
Mark Holmquist 45f0820ec1 Icon changes
Removed unused circle.svg, added use.svg for "use this file", added
new SVG versions for most icons from Vibha.

Change-Id: Ice2db8fdaf785dae9d3018f78db35c6cbd15f774
2013-10-31 10:16:41 -07:00
Mark Holmquist dd2e2d153f Add info links for Media Viewer
Bug: 56332
Change-Id: I2d229481693735a4662f1d898bd0f19c200e39bc
2013-10-31 17:15:43 +00:00
jenkins-bot 9411057591 Merge "Clear entire interface" 2013-10-30 20:34:41 +00:00
Mark Holmquist 9ded203080 Clear entire interface
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
2013-10-30 13:22:25 -07:00
Mark Holmquist ca46c13d13 Add "use this file" link and dialog
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
2013-10-30 13:06:18 -07:00
Translation updater bot 9cbdc69fa4 Localisation updates from http://translatewiki.net.
Change-Id: Ie994b4419e62ac96ee23e2dfef44cf17a7e2255e
2013-10-30 19:35:22 +00:00
jenkins-bot df2f60080b Merge "Add image's license to the lightbox header" 2013-10-30 18:57:55 +00:00
Mark Holmquist e40d993227 Add image's license to the lightbox header
Depends on…

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0 (merged)
:* If3cf6a0ee444d1613d0caf14045b92fad6afa2ab (merged)

Change-Id: I60180f7ca3a16a04a0adee8af8482fa0940ac555
2013-10-30 11:53:26 -07:00
jenkins-bot c8d3d6f2d1 Merge "Increase title font size, bold it" 2013-10-30 18:24:13 +00:00
jenkins-bot 8161af183b Merge "Take down the font size in lis, tweak colour" 2013-10-30 18:23:16 +00:00
Mark Holmquist fe2141e488 Fix up whitelistHtml
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
2013-10-30 10:37:21 -07:00
jenkins-bot 00e76b4a5d Merge "position: fixed for multilightbox" 2013-10-30 16:18:21 +00:00
jenkins-bot db55298d77 Merge "Load thumbnails, use loading image in core" 2013-10-30 16:14:54 +00:00
Mark Holmquist 9ecc3d7f70 Take down the font size in lis, tweak colour
Bug: 56265
Change-Id: Id017deb474ee621c3c2ae8cf5fb9512abfeabffe
2013-10-28 16:25:20 -07:00
Mark Holmquist 29d7283a92 Increase title font size, bold it
Bug: 56112
Change-Id: I4f5dd4af99a313d250cc3dedf2d0d93789404cc0
2013-10-28 16:20:17 -07:00
Mark Holmquist 71e87c64e6 Load thumbnails, use loading image in core
This makes the loading experience _way_ nicer, and hopefully faster.

Bug: 56266
Change-Id: Ided64b0e15af84d9fe65517db2adb291c174c4bf
2013-10-28 15:34:57 -07:00
Translation updater bot e09056850b Localisation updates from http://translatewiki.net.
Change-Id: I2ddf566344400c63cab53c47818ccaebad72ef8a
2013-10-28 20:11:34 +00:00
Mark Holmquist a7d2685a9c position: fixed for multilightbox
Also moved something out of the ml.css file that shouldn't have been
there.

Bug: 55476
Change-Id: I94020b138a71683e2407a78ef480057692967eaf
2013-10-28 11:40:10 -07:00
jenkins-bot fba5671ccd Merge "Fix EL dependency loading" 2013-10-28 14:13:29 +00:00
jenkins-bot 183cf920d3 Merge "Capitalize "Lightbox"" 2013-10-27 17:40:43 +00:00
Translation updater bot 8c0ffcd8fc Localisation updates from http://translatewiki.net.
Change-Id: I09497223c7594cbf59c5990c445bd679b433dbac
2013-10-26 19:33:59 +00:00
Yuki Shira 84aab8c108 Capitalize "Lightbox"
Change-Id: Iac7e33ac9b15e68b5d302f2321a1126622b55631
2013-10-26 10:07:19 +09:00
Mark Holmquist 476846813e Fix EL dependency loading
Do it in an extension function. Cool feature.

Change-Id: I4a11d13d8c0742106ce4dda15b6b3caaa6489421
2013-10-25 16:42:57 -07:00
Kunal Mehta bac235e10d Remove dependency upon BetaFeatures extension
Change-Id: I21bb7d015c74784bb41e1a0402e74ec9458662aa
2013-10-25 16:27:25 -07:00
jenkins-bot 3b57311a23 Merge "Improve date display" 2013-10-25 23:01:52 +00:00
Translation updater bot b4ccd51718 Localisation updates from http://translatewiki.net.
Change-Id: I88d4bf871d38900ffaaba9fbec51f417df37e418
2013-10-25 18:58:44 +00:00
tgr 467a697d55 Improve date display
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
2013-10-25 20:57:10 +04:00
Mark Holmquist 0719e17a6b Add source and authour to the title div
Strips out complex formatting, which should be useful later on as well.

Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: Id835fd8133b9762e7bec10783f4fa4b983177aed
2013-10-24 15:59:24 -07:00
jenkins-bot a0c1e950c4 Merge "Put the username into the info list" 2013-10-24 22:58:08 +00:00
jenkins-bot ed7d36622c Merge "EventLogging support for MultimediaViewer" 2013-10-24 22:56:15 +00:00
Mark Holmquist 47c7fc1be8 Put the username into the info list
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
2013-10-24 15:55:38 -07:00
jenkins-bot cf4c9ef4f4 Merge "Add creation time to list" 2013-10-24 22:46:43 +00:00
Mark Holmquist f26d8b06f5 EventLogging support for MultimediaViewer
Capture clicky events for most buttons and things.

Change-Id: I7d7ed21512df5cda19a0e5b7b7e1a32fd1ccfd2b
2013-10-24 15:33:55 -07:00
Mark Holmquist a66be06ae9 Add creation time to list
Fallback to upload time for now.

Helps to have:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: I822b48cebbace51cd8f68adc45a68a1c93ec29db
2013-10-24 15:21:17 -07:00
Mark Holmquist ab2949e95f Clear interface before opening again
Bug: 56055
Change-Id: I1a36617ea7b141e0d695ff44ef3b05a2e327b4c4
2013-10-24 22:19:30 +00:00
Mark Holmquist 4dd724838d Fixes from MLB upstream
Bug: 56054
Bug: 56059
Change-Id: I549ba702c3b9bf9adec9fab692664eec1ff90005
2013-10-24 22:19:22 +00:00
Mark Holmquist ea778e990f Fix a few fullscreen bugs
Also pull in a change to multilightbox that will make things easier for
fullscreen handling.

Bug: 55489
Change-Id: I2eda8f82df8602a02dcf1c878c5232a8e6490e6a
2013-10-24 15:18:34 -07:00
Mark Holmquist bfc58e4533 Add description to the DOM
This is all getting really real, really fast!

Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec
* CommonsMetadata
:* I5e6bc45f9751641e16426231dabcc8277b86fee0

Change-Id: I203852358fc6f7592832e48c562b24c5d9f046f5
2013-10-24 14:06:56 -07:00
Mark Holmquist c9bd8416ec Add whitelistHtml method
Used in source/authour and description patches

Change-Id: Iff17ee74f7a1bcee1c099053a2b15be7fc8bab77
2013-10-24 14:04:51 -07:00
Mark Holmquist 084cbfe7e4 Fetch extended metadata from the API
Depends on:

* core
:* I77303d8e535fc1c42e14cfb853814e5c434a81ec

Change-Id: Ic4700d33e4104783e034903f25a72b8fac2d89b2
2013-10-24 13:41:12 -07:00
jenkins-bot 822018c418 Merge "Only add handlers on image thumbnails" 2013-10-24 20:31:14 +00:00
jenkins-bot 8e82c32b16 Merge "Add remote image repository information to list" 2013-10-24 20:07:32 +00:00
jenkins-bot 69a60f2a4a Merge "Fix interface creation" 2013-10-24 19:44:24 +00:00
Mark Holmquist 509416ce8d Add remote image repository information to list
Change-Id: Icfab093a44530949d1672a683fb8d4c0e7b901fc
2013-10-24 09:43:11 -07:00
Mark Holmquist f279c17112 Fix interface creation
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
2013-10-24 09:31:08 -07:00
Mark Holmquist 62f6235f54 Only add handlers on image thumbnails
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
2013-10-22 13:42:57 -07:00
Translation updater bot ceace8f89c Localisation updates from http://translatewiki.net.
Change-Id: I0c9dde5ed24eba2d587957618fde6f7233975fd9
2013-10-22 19:20:05 +00:00
Translation updater bot 0ac421d6aa Localisation updates from http://translatewiki.net.
Change-Id: I87fcff9f1d9bf98fc7398977a0773cf6e8781894
2013-10-21 19:38:53 +00:00