Gergő Tisza
05d803e17a
Text changes for better handling of PD and nonfree licenses
...
Bug: T70687
Change-Id: I84e0094559e5b438fcb33b8511dc0184435c1a37
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1004
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/631
2014-11-26 02:21:50 +00:00
Gilles Dubuc
00d345f8b4
Rename Performance to PerformanceLogger
...
Change-Id: Iacfde35851cf8f617c4672d3ea466d4f0e2e448f
2014-11-21 11:07:40 +01:00
Gilles Dubuc
0e01796a3c
Track how long users are viewing images for
...
This is complete, but it would be better if the HEAD request
was actually aborted by Varnish when the viewDuration parameter is
present, or if the hit pointed to a script that does that.
Change-Id: I66cafd97427756411e967de1901324af2215e3ae
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1001
2014-11-21 00:39:29 +01:00
Gilles Dubuc
c98a243639
Track image "unviews"
...
Change-Id: I4441b6df511f99b73bfafea0d804171435e129d2
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/998
2014-11-21 00:37:11 +01:00
jenkins-bot
7638a878f9
Merge "Add marker parameter to image requests coming from MediaViewer"
2014-11-20 21:24:19 +00:00
Gilles Dubuc
ad5040a140
Add marker parameter to image requests coming from MediaViewer
...
This will be needed by Erik Zachte for compiling per-file image view data.
Since Media Viewer does preloading, it skews the HTTP request-based
statistics. By marking image requests coming from Media Viewer,
it allows us to remove that bias.
Change-Id: Iac8e7770c1a379691547de4b6d47b7d54467f54d
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/1002
2014-11-20 15:57:27 +01:00
jenkins-bot
4dc8ec2669
Merge "Track the most recent upload time for duration events"
2014-11-20 00:04:14 +00:00
jenkins-bot
8a8b3b0208
Merge "Add the ability to apply a different duration sampling factor to loggedin users"
2014-11-12 08:21:33 +00:00
Gilles Dubuc
6eb64f39ba
Track the most recent upload time for duration events
...
This will allow us to see if images uploaded recently, which have been
subjected to thumbnail prerendering, load faster.
Change-Id: I4ce358ff54e4ca4e290349aa3ff4810ad4714d24
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/975
2014-11-11 18:14:24 +01:00
Gergő Tisza
3a18515163
Replace filename with caption/description
...
* when the caption is available, use it as the image title
* otherwise, fall back to description if available
* otherwise, fall back to filename
* if both caption and description are available, show caption as
title and show description below the fold; otherwise don't show anything
below the fold.
Change-Id: I9738ca46620d7cf3b30f6e46790a37966d4b9eaf
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/589
2014-11-11 15:33:15 +00:00
Gilles Dubuc
0e782adf7d
Add the ability to apply a different duration sampling factor to loggedin users
...
Change-Id: I10fc042ddf50f02e1a86711621b66c14fc981311
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/978
2014-11-06 18:51:08 +01:00
Gergő Tisza
b0bac10627
Display a placeholder text when author and source are missing
...
Change-Id: I38478956c5a0b5f204e5caa43e54db651f297887
2014-10-29 15:38:56 +00:00
jenkins-bot
fb7a04f5a2
Merge "Change above-the-fold layout - step 1"
2014-10-28 21:18:48 +00:00
Gergő Tisza
a6adad35ed
Change above-the-fold layout - step 1
...
* remove chevron
* adjust colors
Change-Id: I443fd757f5df18d099e42a81f1f323fadea77987
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/833
2014-10-28 20:02:22 +00:00
Mark Holmquist
ff7a8b23c2
Add about link to disable/enable dialog
...
This was the last issue with the dialogs. Tests included.
Change-Id: Ic08af400893950a04489af4b166827d059561974
2014-10-24 13:51:32 -05:00
Mark Holmquist
a7693d2fcd
Add new version of actionlogging schema
...
Adds in option dialog events.
Change-Id: I3e58fc86f00f276c3ff6c0efb8eb813f81d82198
2014-10-21 16:22:49 -05:00
Gergő Tisza
2c578e6dc3
Show popup when the user visits a file page the first time after disabling MMV
...
Change-Id: Id2b121c930115373a8a81dc1091c4124807db053
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 14:28:20 +00:00
Gilles Dubuc
90042a5a02
Cog icon & mw.ui styling for expand button
...
Includes some small refactoring of the bootstrap code to open
MediaViewer so it can be used in a more controller-like fashion, and
removing the .mw-mmv-filepage-menu class which was added in the parent
commit but had no effect since the module was not loaded by default.
Change-Id: I2e7405e694af96e8eca4fcc839b60306232ead01
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/719
2014-10-21 15:16:33 +02:00
Mark Holmquist
1853540cd3
Add viewing options panel
...
Enable, disable, and get confirmations.
Lots of UI work on this one.
Change-Id: I1f731992bd240e7ea403592872f7c7e270158753
2014-10-19 00:27:15 +02:00
Kunal Mehta
e57efd8ae6
Use EventLoggingRegisterSchemas hook
...
Change-Id: If4039e7412e7516f062089150d679d840d5bcbe3
2014-10-11 16:00:05 -07:00
jenkins-bot
6b8d5c3f05
Merge "Merge two $wgExtensionFunctions"
2014-09-30 16:04:44 +00:00
Kunal Mehta
268584a99e
Merge two $wgExtensionFunctions
...
Change-Id: I8695446ae9f8aea56dcda4a0d6d5787e97d77217
2014-09-30 15:42:09 +00:00
jenkins-bot
2203f89236
Merge "Log image dimensions"
2014-09-30 15:15:54 +00:00
Gergő Tisza
ff76011032
Log image dimensions
...
Also add a sanity test to attribution logging which I forgot at the time.
Change-Id: I3010e57eb74a76fee4078c415182a033375ea890
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/898
2014-09-30 14:55:47 +00:00
Mark Holmquist
9187148b01
Remove duplicate details link in metadata panel
...
Change-Id: I2eaa221fa505e9f106fa8611adfe99677a24009b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/909
2014-09-28 21:45:55 +00:00
Mark Holmquist
0d4863dd91
Make the download pane into its own dialog
...
Change-Id: Ia92545ed1ef7f2e4ba7934c682eef684a22ca17f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/841
2014-09-24 17:05:50 +02:00
Mark Holmquist
59d8c5d892
Make the reuse button part of the canvas
...
Moves it out of stripeButtons and into canvasButtons.
Will move download to its own thing later.
Change-Id: Iaf18914b29a6283c3bade954f1adb3f206c9c911
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/834
2014-09-18 12:43:45 -07:00
Mark Holmquist
a82dfd6eb0
Remove tooltip for view-file
...
Change-Id: I89b2dfd43ea18a2e1fe9d2214b76218b24ce88cb
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/886
2014-09-11 10:41:45 -07:00
Gilles Dubuc
2ef45b3058
Remove categories
...
Change-Id: I309b01592e874579d50bf5fc0810c238d47748f5
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/835
2014-09-09 13:23:50 +00:00
jenkins-bot
23c7258b31
Merge "Remove file usage"
2014-09-09 13:10:37 +00:00
Gilles Dubuc
d4666c5715
Track more metrics
...
- About page
- Discuss page
- Help page
- Location page
- Uploader page
- Download, share and embed tabs in detail (each clickable element)
- "Use this file" closed (previous was counted as open event)
Change-Id: I1ebcb39049ad9b521968eb2024be9b86a49e5b0c
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/851
2014-09-08 10:26:55 +02:00
jenkins-bot
79f1ee4a09
Merge "Go to the original image on image clicks"
2014-09-08 06:33:54 +00:00
Mark Holmquist
f94d3362d9
Go to the original image on image clicks
...
Also removes original file button.
Change-Id: I6e73e46e910313fe6c5efb3087ecb693e499e064
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/831
2014-09-05 10:19:00 -07:00
Gergő Tisza
e5de2a5415
Log whether attribution could be presented by MediaViewer
...
Change-Id: Ib4e8fbafa16c86ff902c838cc93b1710a7ca87af
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/858
2014-09-05 14:35:35 +00:00
Gilles Dubuc
caa624d711
Remove file usage
...
Change-Id: I538f7734e1c06a179ee98a5cd843ccee4d91349f
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/835
2014-09-05 08:14:52 +02:00
Gergő Tisza
c4c262bf44
Move logging-related code to its own directory
...
Also make sure class and file names have the same case.
Change-Id: I21042e40030051326f8c55fd62a86a54e9011a4a
2014-09-04 23:34:45 +00:00
jenkins-bot
32812a974f
Merge "Add an option to disable by default for logged-in users"
2014-08-20 21:26:21 +00:00
Gergő Tisza
7081184535
Disable thumbnail URL guessing by default
...
Config change to keep it on on WMF sites:
Iba41a37a1d4b7957cd05516ae9466652dadcf28a
Bug: 64554
Change-Id: I25f52611f6f2a6db7f33d52a2fbae48c729f7686
2014-08-18 13:07:15 +00:00
Gergő Tisza
e71bcefcdc
Add an option to disable by default for logged-in users
...
Soft-depends on I90f6ab5b44fbcde0b89f56e795f69472c4940854
Bug: 69363
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/822
Change-Id: Ief0df5b4f4285d99208f007b0510a396f6c272e0
2014-08-16 12:16:34 +00:00
Gergő Tisza
53e965b469
Feature detect OOJS compatibility
...
OOJS uses es5-shim but does not use es5-sham so the following ES5
functions are not polyfilled:
Object.getPrototypeOf
Object.defineProperty
Object.getOwnPropertyDescriptor
Object.getOwnPropertyNames
Object.create
Object.defineProperties
Object.seal
Object.freeze
Object.preventExtensions
Object.isSealed
Object.isFrozen
Object.isExtensible
Grepping on them shows that Object.create is the only one in use in
OOJS, so checking for its existence should be enough to ensure that
OOJS works in the given browser.
Change-Id: Icf54a9c35b3599dd1831c10ffcd9f15573dc8b00
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/813
2014-07-28 23:54:47 +00:00
Gergő Tisza
f14d08fd75
Reveal full text when user clicks on title or credit
...
Reveal the full title + author + source when the user clicks one
of these, and make some related changes:
* expand the above-the-fold part of the metadata panel so they fit
* make the stripe buttons smaller and hide their text
* scroll the panel up if necessary
* modify tooltip texts when there is more text to show
Change-Id: I304297bc5e7be7b16e2fc4bde66ac19641b00029
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/396
2014-07-17 09:42:12 -04:00
Gilles Dubuc
b0d885e4dc
Remove all survey-related code
...
Change-Id: I67285260c13a1e8d3c37365bb80a7156c0fecd4e
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/794
2014-07-16 21:27:53 +00:00
Gergő Tisza
4adde1685a
Show help tooltip for "view original file" button on image click
...
Change-Id: Ia9e20f55bcdd0482e78a6e9aa5a0625ec2717e78
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/712
2014-06-30 21:12:29 +00:00
jenkins-bot
02216b5ed3
Merge "Add section for attribution of downloads"
2014-06-30 18:36:07 +00:00
jenkins-bot
39e3cdaed0
Merge "Remove next/prev tooltips"
2014-06-30 18:29:21 +00:00
Mark Holmquist
532819b5a0
Remove next/prev tooltips
...
Change-Id: I978914bd57d7fdc260dbc0422915e6b766c35a66
2014-06-30 14:20:41 -04:00
Mark Holmquist
a4e6bc22d9
Add section for attribution of downloads
...
Click on the button to expand, click the X to collapse again.
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/598
Change-Id: I6d2512cca0184437273329e6553c6524d6953404
2014-06-30 10:38:11 -04:00
jenkins-bot
5abf15890e
Merge "Fix URL handling for global usage list"
2014-06-27 17:41:17 +00:00
Gergő Tisza
deafff7046
Fix URL handling for global usage list
...
Also add integration tests to make sure URL generation works OK
Bug: 63908
Bug: 64910
Bug: 66147
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/570
Change-Id: I448f42e294102a633f74c305dd0a226e7dbe955d
2014-06-25 21:41:04 +00:00
Gilles Dubuc
4e752dd08d
Track optin/optout events
...
Change-Id: I07eeef7a2304df4b70be252929737dad84522afb
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/558
2014-06-19 11:23:03 +02:00