Commit graph

1607 commits

Author SHA1 Message Date
Timo Tijhof b493318125 Fix resourceloader message fetch warnings
Remove references to non-existing message keys.
Triggered on every startup module request:

> [resourceloader] WARNING:
> Failed to find multimediaviewer-option-header-viewer ({lang})

* multimediaviewer-option-header-viewer
  (listed in 1853540cd3, but never created)
* multimediaviewer-option-header-filepage
* multimediaviewer-option-desc-viewer
* multimediaviewer-option-desc-filepage
* multimediaviewer-license-cc-by-sa-3.0-migrated
  (CommonsMetaData has this aliased to "cc-by-sa-3.0")
* multimediaviewer-description-page-popup-text-local

Even if JS tries to use them, the messages do not exist. There
are no matches across all Wikimedia Git repositories for these
strings other than extension.json here (no i18n, JS or PHP files).

Bug: T118820
Change-Id: I3585f4862781799d9ba828bdc4170a68c6c36100
2016-02-20 13:42:38 +00:00
Translation updater bot b7dcadf493 Localisation updates from https://translatewiki.net.
Change-Id: Ibe9af3151909b8b86ced2cdacc68f780252b74cb
2016-02-08 22:14:28 +01:00
Translation updater bot 68f9d02203 Localisation updates from https://translatewiki.net.
Change-Id: I89667bf2042fe033e90b75385fc9f1a7eb82bb96
2016-02-07 22:19:09 +01:00
Translation updater bot fd0687b4b6 Localisation updates from https://translatewiki.net.
Change-Id: I5c4fe689f70172be8892222c92e370f3c774b314
2016-02-05 21:52:35 +01:00
Translation updater bot e62af15998 Localisation updates from https://translatewiki.net.
Change-Id: I39afd29377cbb6b6504db5f3464341ca2b4af032
2016-02-04 22:15:24 +01:00
Translation updater bot d8f35696ca Localisation updates from https://translatewiki.net.
Change-Id: I75967879b303f932d3e4968fa12a67d8e0132719
2016-02-03 23:07:35 +01:00
Translation updater bot c529b8a834 Localisation updates from https://translatewiki.net.
Change-Id: I391e75a0bac03bc91684cf4e8cbd14eedc18f5ad
2016-02-02 21:31:57 +01:00
Translation updater bot d61c4f2a2e Localisation updates from https://translatewiki.net.
Change-Id: I18fa949bb2a8984820e0dcdc1a408699b590cf9c
2016-02-01 21:54:34 +01:00
Translation updater bot 3c3584e2be Localisation updates from https://translatewiki.net.
Change-Id: I67068a672fe825787bc19359b74b4f76fa73b366
2016-01-31 21:40:44 +01:00
Translation updater bot 318c648575 Localisation updates from https://translatewiki.net.
Change-Id: Ia7d45f3acb74df0bb54e44d28e2f91616aaf8f77
2016-01-30 22:48:41 +01:00
Translation updater bot 1a36c6d804 Localisation updates from https://translatewiki.net.
Change-Id: I89d688637360af2cb2fa4fa4d56e192b12b9ef02
2016-01-29 22:42:26 +01:00
IoannisKydonis 45254dac23 Shorten metadata panel link bar in MultimediaViewer
Bug: T77846
Change-Id: Iba55b1a7e5c2d67632fe1c86249ad249bfd20744
2016-01-28 23:11:59 +02:00
Translation updater bot d4ad1307f9 Localisation updates from https://translatewiki.net.
Change-Id: Ic714fd4ee7336d66ec85065b9fe85301c99136b8
2016-01-27 21:42:49 +01:00
jdlrobson 5736f8e0a9 Add integration tests to each commit
Additional changes:
* Add a step to check JS has loaded
* Update selector to work on non-vagrant instances

Bug: T113620
Change-Id: Ib7579a43adc37b6e4add8b0ab75f99b6ab994bb6
2016-01-27 10:12:19 -08:00
Hashar 4f743ba4dd Revert "Bump mediawiki_selenium to 1.6.4"
Causes a proposed change to introduce browser tests to fail completely:
https://gerrit.wikimedia.org/r/#/c/260881/

This reverts commit 45c82e0588.

Bug: T105589
Change-Id: If81f28ec3d2a5caf3ae10746e1ac8bf1b5596422
2016-01-27 17:02:20 +00:00
Antoine Musso 45c82e0588 Bump mediawiki_selenium to 1.6.4
Bug: T105589
Change-Id: I0acadd71eaf2346f70e9a3c32ddddfe26d82cee7
2016-01-27 15:43:47 +01:00
Translation updater bot 06bf4ff735 Localisation updates from https://translatewiki.net.
Change-Id: Ic7acb95bc6113061c9df7188613aada1ec1990cb
2016-01-25 22:31:22 +01:00
Translation updater bot e4e5502021 Localisation updates from https://translatewiki.net.
Change-Id: Ie79ba7cbdb8a702c157dd372f753fdfe546d7562
2016-01-24 21:21:33 +01:00
Translation updater bot 5cad6a129a Localisation updates from https://translatewiki.net.
Change-Id: I3fe95f715cc5b6ab680ce54c9fa1d6a35bfb37f5
2016-01-23 22:27:24 +01:00
Alex Monk 195bc0aea7 Import Checker-16x16.png into repository, instead of loading from upload.wikimedia.org
Too simple to be copyrighted - PD.

Change-Id: I2547bd8708408425fcce08bce0019239c0cac572
2016-01-23 02:58:45 +00:00
IoannisKydonis 15793c3081 Use American English in messages - replace 'behaviour' with 'behavior'
Thread: https://translatewiki.net/wiki/Thread:Support/British_English_in_Mediawiki_messages
Change-Id: If6c20aead2bee45584e93c80059b31bb3c4dbe2d
2016-01-19 21:51:04 +00:00
Translation updater bot 6abadaa22b Localisation updates from https://translatewiki.net.
Change-Id: I197025f0ce44b057ebbafbe946653f2dd08983a9
2016-01-19 21:19:45 +01:00
Translation updater bot edee1db243 Localisation updates from https://translatewiki.net.
Change-Id: Id0afc4a3b830fb755091ac01375d88af36b8a2b7
2016-01-18 21:36:25 +01:00
Translation updater bot 622388da5f Localisation updates from https://translatewiki.net.
Change-Id: Iee1e5ca6faeb9f274148e72762f950169223d7ff
2016-01-17 22:33:13 +01:00
Translation updater bot 60be6f09cb Localisation updates from https://translatewiki.net.
Change-Id: I5e2772fb1a1118e0ae76922435a04edbac412f75
2016-01-16 21:57:55 +01:00
Translation updater bot ac7ffc0a9f Localisation updates from https://translatewiki.net.
Change-Id: I3235e1d56d0ea2bb6e707b7ef7fd16cee25d3fe6
2016-01-14 22:24:33 +01:00
jenkins-bot 3625ae97f2 Merge "Rename $wgNetworkPerformanceSamplingFactor" 2016-01-14 19:35:15 +00:00
IoannisKydonis 5774d5db5f Rename $wgNetworkPerformanceSamplingFactor
... to $wgMediaViewerNetworkPerformanceSamplingFactor.

Change-Id: Iba1a25d8c98b7331bfbafd77ead85a3a2ad0f432
2016-01-14 19:23:16 +00:00
Translation updater bot 4592822f87 Localisation updates from https://translatewiki.net.
Change-Id: Ide3dbddc1e09f5da7f6910d7b55a14b2dafdddf6
2016-01-13 23:29:55 +01:00
Translation updater bot 72b8f97b24 Localisation updates from https://translatewiki.net.
Change-Id: Icb5dca1a8fa008de4d44cc310a0fc411208c0014
2016-01-12 22:47:10 +01:00
Andrew H 1b2866df0d Shorten MediaViewer credit lines
Drop the title and site name. Use a shortened URL
created using the pageID for the curid query parameter.

Add pageID property to mmv.model.Image, using value already
fetched from an existing API request.

Bug: T119686
Depends-On: I0f00b986e6095bdb9b8d6af6fbc5b01995227e02
Change-Id: I9189f00bfbf7639974d66cf1921773855a77a865
2016-01-10 23:44:23 +00:00
mhutti1 f937b1f20d Fixed viewer only displaying every nth image after reopening
Added code to detach emit calls when the interface is closed.

Bug: T122785
Change-Id: Ifd97aebe7aa01a152817100f301a80a9b6ac83a3
2016-01-07 22:50:19 +00:00
Translation updater bot ae0a1a8cc8 Localisation updates from https://translatewiki.net.
Change-Id: I22a835c5e719420b59cfc46781f1a37e4c49737e
2016-01-06 21:54:51 +01:00
Andrew H 6005b068bf Cache imageinfo query in MultimediaViewer
Bug: T117750
Change-Id: I5560e14b13968113e768bacce9972169f270e7bc
2016-01-06 04:37:53 +00:00
Translation updater bot db3685e956 Localisation updates from https://translatewiki.net.
Change-Id: I31278760d72f35d9c7b3df0440a0812cdc293191
2015-12-30 21:43:31 +01:00
Kunal Mehta d2003e4861 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I3eb7ac596a7d23fcf4b69aa932ed30602aab788a
2015-12-29 11:41:52 -08:00
jenkins-bot 4d5de1a9fa Merge "Remove uploader's name from MediaViewer" 2015-12-29 17:18:12 +00:00
Julius Alphonso a9758d21e0 Remove uploader's name from MediaViewer
Only last uploader's name is shows, this turns out to be
more confusing than useful.

Bug: T59308
Change-Id: I7d06b72c581fe8738bffc64b5e36be9983b01ccf
2015-12-29 10:56:08 +05:30
Translation updater bot 8883f87691 Localisation updates from https://translatewiki.net.
Change-Id: I0741d2256702cfabd8ba60e0bbeaf284f6367746
2015-12-26 21:10:28 +01:00
Translation updater bot f897f2b0a2 Localisation updates from https://translatewiki.net.
Change-Id: Ib7b44bdf17a74e20c2efba09e6f0eb6600f4d2f7
2015-12-20 22:34:33 +01:00
Željko Filipin 0b8b4c4716 Upgrade to the latest version of mediawiki_selenium Ruby gem
The new version has support for all browsers known to men, and a few
more.

Bug: T114362
Change-Id: Ie4f762095f1060f8f078c718f679a7127ce89eb5
2015-12-15 15:52:06 +01:00
Translation updater bot c9be14593a Localisation updates from https://translatewiki.net.
Change-Id: I73298931019eba39312c6f4a254c5cd75f2d941b
2015-12-14 22:04:13 +01:00
Translation updater bot dfa3158a0d Localisation updates from https://translatewiki.net.
Change-Id: Id1943398add9ba37b37e6108c2eb31fa38f6cafd
2015-12-13 22:20:35 +01:00
Translation updater bot ec5cfad6f3 Localisation updates from https://translatewiki.net.
Change-Id: Ibaf562e0a3c41717a396cc1d24833b199667ee46
2015-12-10 22:56:42 +01:00
Željko Filipin c8237daa5b Fixed Style/StringLiterals RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
Bug: T117984

Change-Id: I5388aa3f7c47b9667a03d905f6562dfe6939a70e
2015-12-09 17:21:54 +01:00
Željko Filipin 810506a063 Fixed Style/VariableName RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-v
ars
Bug: T117984

Change-Id: I51b5ee142bc845b799b53e356a604aefb13d7f7d
2015-12-09 17:17:24 +01:00
Željko Filipin fba53b776c Fixed Style/TrailingBlankLines RuboCop offense
Change-Id: I7cbfd6d148982039c720fc4fb72e410372a0cbde
See: https://github.com/bbatsov/ruby-style-guide#newline-eof
Bug: T117984
2015-12-09 17:09:10 +01:00
Željko Filipin 346275f751 Fixed Style/Semicolon RuboCop offense
Change-Id: Ib01751f81e921beb3c7e157f9e8037859eb1b3f6
See: https://github.com/bbatsov/ruby-style-guide#no-semicolon
Bug: T117984
2015-12-09 17:08:01 +01:00
Željko Filipin 3bbd3fa72a Fixed Style/RegexpLiteral RuboCop offense
Change-Id: Ic42bb88931e8184bf43edd419d2a82cf36a95038
See: https://github.com/bbatsov/ruby-style-guide#percent-r
Bug: T117984
2015-12-09 17:06:51 +01:00
Željko Filipin 1b8964e86f Fixed Style/LeadingCommentSpace RuboCop offense
Change-Id: Id20fb9d5b9c0ca6a6c2c34812f4130d2c8fb0c93
See: https://github.com/bbatsov/ruby-style-guide#hash-space
Bug: T117984
2015-12-09 16:58:36 +01:00