Commit graph

1995 commits

Author SHA1 Message Date
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
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