Commit graph

382 commits

Author SHA1 Message Date
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
Translation updater bot 4c07a1ed11 Localisation updates from http://translatewiki.net.
Change-Id: I3d05cfa422008f99c5cb8956eb9815004cc216cb
2013-10-20 21:46:25 +00:00
Mark Holmquist 5668f6ed7b Add logo to feature preference, fix copy
Change-Id: Ib809c8dadb509ae37680984b8fb09f249c242032
2013-10-18 15:16:13 -07:00
Translation updater bot 82a3f7e4d1 Localisation updates from http://translatewiki.net.
Change-Id: I4ced935a976b2a088dab3678556d64b94618769e
2013-10-11 19:11:06 +00:00
Translation updater bot d873548cab Localisation updates from http://translatewiki.net.
Change-Id: Ie3bc34607515be4363c553c147bf3c76edeb9654
2013-10-10 19:03:29 +00:00
Translation updater bot 466e155933 Localisation updates from http://translatewiki.net.
Change-Id: I6ffaef00d9c6073b24d44a6f94baac1049d0522e
2013-10-09 19:37:38 +00:00
jenkins-bot 558adf6db8 Merge "Pull data from API, load title" 2013-10-08 19:28:55 +00:00
Translation updater bot 8473e64425 Localisation updates from http://translatewiki.net.
Change-Id: I61ad0ee85eaabc3da238f06c27c4e14484377afe
2013-10-08 19:06:20 +00:00
Mark Holmquist 88b2e6f1a2 Pull data from API, load title
Information is actually getting stuck into the interface now! Woo!

Also added divs for other metadata, when we're ready for them.

Note, requires I1aaed0895d2a0bc224c82e93975ecf6afd8cb6b8 and
Ie31e6df376bda087e92ec889d54df3374ba96b5e to work properly.

Change-Id: Ief96c1b7b7ad54a6bdf0531921a842206a42c823
2013-10-08 11:42:39 -07:00
raymond a21b94abdc Consistency tweaks in preparation for adding extension to translatewiki.net
* Fix description message key
* Initialize messages array for healthy of translatewiki.net scripts
* Remove . from end of description message

Change-Id: Ib51e0f6dd58662a5653949d3c5fe402012425267
2013-10-04 10:55:54 +02:00
Mark Holmquist 5052a345b7 Reverse the colour scheme for MediaWiki's purposes
multilightbox uses white-on-black by default because that's how most
sites roll. We want black-on-white, so I've reversed it now.

Change-Id: I0d7eb36eda5bfdcb5d019cc31a7358bf71e33df0
2013-09-29 18:16:36 +00:00
Brion VIBBER 704aab9d18 Merge "Pull changes from multilightbox" 2013-09-29 18:14:56 +00:00
Brion VIBBER 8b6012f5a0 Merge "Add multilightbox library import/export script" 2013-09-29 17:31:57 +00:00
Mark Holmquist a25d117b43 Pull changes from multilightbox
Fixes for resizing the image - should make things a little nicer

Also fix for bind - should fix the library for IE users.

Change-Id: I52ea4fcf0cb8b4ee3a6e2ca835f846264fffae3b
2013-09-27 14:21:45 -07:00
Mark Holmquist 5345c2cdf0 Play with the information sent back from the hook
Send people to [[:mw:Multimedia/Media Viewer]] which is less technical
maybe, and also remove the screenshot for now - will re-enable when we
have one to put in.

Change-Id: I15b82bd24e611c26e8f412a7134780c632c0e688
2013-09-20 16:38:44 -07:00
Mark Holmquist 46ae057c6f Add multilightbox library import/export script
Nice script for easily sharing changes between the library and the
extension. Tested a few times.

Change-Id: I6de5d95e78113f8f2ac4e0adba1abc7261886890
2013-09-03 16:53:27 -07:00
Mark Holmquist 4898f42e18 Initial commit - working demo
Works with the new multilightbox library from
https://gitorious.org/multilightbox/multilightbox

Also has fullscreen and close. Very fun.

Change-Id: I6d61f6590843e1767bc7492dbd98e6aa3b85fcdc
2013-09-03 16:52:28 -07:00
Christian Aistleitner 9e98d3f9ce Add .gitreview 2013-08-08 11:11:01 +02:00