Commit graph

2743 commits

Author SHA1 Message Date
Gergő Tisza 4518f8f27d Speed up caption collection
* don't do the slow lookup for closest caption unless there are
  multiple captions
* don't clone when there is no need to change the caption

Might give wrong result when selecting a thumbnail which is in a
multi-image template and has no caption but some other image
in the same template has; that seems hard to avoid.

Bug: T141714
Change-Id: Iacebd44ab9dd469d0c95b94e90faa90d579caaa3
2016-08-01 17:00:08 -07:00
Gergő Tisza 8b8dfe4633 Make embed text short URL into a link in HTML mode
Bug: T138142
Change-Id: Ide6d9b164cdcbafacf08631536cadb04a45ce3dd
2016-08-01 15:17:25 -07:00
Translation updater bot 10a09b6600 Localisation updates from https://translatewiki.net.
Change-Id: Ibfb3d30d964f59c7fb4f4a98b60d0a94402aae16
2016-07-31 22:25:28 +02:00
Translation updater bot e752973434 Localisation updates from https://translatewiki.net.
Change-Id: I15100b69593a848be4d1b18ca86297fea21fb31a
2016-07-30 22:28:38 +02:00
Translation updater bot ca24f67925 Localisation updates from https://translatewiki.net.
Change-Id: Ia64c435071ca7ef2b1625b67844823d57caa543d
2016-07-20 22:39:26 +02:00
jenkins-bot 7c559a7250 Merge "build: Introduce stylelint and make pass" 2016-07-19 21:02:27 +00:00
jenkins-bot b5f0de95b7 Merge "build: Introduce jshint & jscs and make a pass" 2016-07-19 21:02:24 +00:00
Ed Sanders e7ff2ba8b6 build: Introduce stylelint and make pass
Change-Id: I6f97359c6f34f2e5687ce91ab9926c493e613bf5
2016-07-19 13:51:05 -07:00
Ed Sanders b46529d1b2 build: Introduce jshint & jscs and make a pass
These replace the hard-coded jshint task in CI.

Change-Id: Id14eec1ecba4ceae735ffd10f9114233a580302f
2016-07-19 13:48:06 -07:00
jenkins-bot d8984a6ab8 Merge "Limit image search to content firing event" 2016-07-19 14:44:39 +00:00
Ed Sanders db6c74a232 Limit image search to content firing event
Bug: T140574
Change-Id: I3c504c09b2b382e094ab2be1fa388efa7ec827b1
2016-07-19 11:33:53 +01:00
jenkins-bot 4bdf893422 Merge "Make Parsoid HTML selectors more specific" 2016-07-18 15:56:45 +00:00
Ed Sanders 8c7a33429c Make Parsoid HTML selectors more specific
'figure img' matches images in captions.

Follow-up to d3131db19e.

Bug: T140574
Change-Id: I1ee50846191c9de19ca35d9bd40eb2d3001cf7f5
2016-07-18 15:53:42 +00:00
jenkins-bot a85160e154 Merge "Use simple English in test descriptions (legit->valid)" 2016-07-18 15:47:55 +00:00
jenkins-bot 0516d0fbd4 Merge "Check Title.newFromImg produced a valid title with an extension" 2016-07-18 15:45:05 +00:00
Ed Sanders 488514fd8d Sort and update packages
Change-Id: Idb5bd753d299de07973a10897fc92e03c4084eed
2016-07-18 13:47:12 +01:00
Ed Sanders 14d9297eb1 Check Title.newFromImg produced a valid title with an extension
Bug: T140574
Change-Id: Ia818cebd47b3bce03befc547e5e435cb8b1f2996
2016-07-18 13:34:24 +01:00
Ed Sanders c029295c41 Use simple English in test descriptions (legit->valid)
Change-Id: I01142b85abd4fb2bb16213d753c4b513327bb9bb
2016-07-18 11:39:29 +01:00
Translation updater bot c22a5eeadd Localisation updates from https://translatewiki.net.
Change-Id: Ib2669194760963170d9b08f85d40a7f702028d85
2016-07-14 23:27:01 +02:00
Translation updater bot 80214b5cd8 Localisation updates from https://translatewiki.net.
Change-Id: Ia53c17ec41ced94230e4b202c1082e90d4a142f9
2016-07-13 22:37:06 +02:00
Translation updater bot df8904391a Merge "Localisation updates from https://translatewiki.net." 2016-07-12 20:55:09 +00:00
jenkins-bot b66336ade0 Merge "Filter HTML from some attributes" 2016-07-12 20:52:27 +00:00
jenkins-bot 9fbbabfe3e Merge "Add HtmlUtils.makeLinkText utility function" 2016-07-12 20:52:25 +00:00
Translation updater bot 38e3b35803 Localisation updates from https://translatewiki.net.
Change-Id: I144b64a6cee4d94b4bb4843eeb096a00d04ae383
2016-07-12 22:50:55 +02:00
jenkins-bot c4da4c7ca1 Merge "Remove IE8 JS compatibility hacks/workarounds" 2016-07-12 20:42:11 +00:00
Ed Sanders d3131db19e Fix selectors to match Parsoid DOM-spec images
Bug: T62014
Change-Id: I03ee3912aab8aad5ae1e2db3be1a6d3a25d03fef
2016-07-09 17:49:35 +01:00
Translation updater bot 51c5b65f5b Localisation updates from https://translatewiki.net.
Change-Id: Ia793f9da93471358a04d6bc9a27788c8e699a45a
2016-07-01 23:24:32 +02:00
Michael Holloway 94476eb918 Remove IE8 JS compatibility hacks/workarounds
No longer needed as MediaWiki is no longer serving JavaScript to IE8
users.

I noticed some possible candidates for removal in the less files as well
but left those alone as this task seems specific to JavaScript.

Bug: T123443
Change-Id: Ibf6d551798ff03a227b46dcb55bcf31899dad974
2016-06-29 00:02:46 -04:00
Translation updater bot c909862d4d Localisation updates from https://translatewiki.net.
Change-Id: I51cb0903c0f2001ecc4b13736d8d7181fcce1667
2016-06-26 14:18:48 +02:00
Translation updater bot 82fc7fc38a Localisation updates from https://translatewiki.net.
Change-Id: I3898b727f06c9ec04063827b5321a12fbe342f94
2016-06-24 11:13:27 +02:00
Gergő Tisza 3c71b85c84 Filter HTML from some attributes
Bug: T138142
Change-Id: Ie5048b38ed397ce852d3f9145a63fe4f52930da9
2016-06-19 15:23:45 +00:00
Gergő Tisza dba273ac31 Add HtmlUtils.makeLinkText utility function
Change-Id: I2697c2d865dc8dd23883a59ca0c38229c2e7b6e9
2016-06-19 17:22:52 +02:00
Gergő Tisza 5c73b4a91e Get rid of version number
Remove useless and misleading version number. It was last updated
in 2013 or so, when MediaViewer was still a beta feature,
and ther was a year of intensive development after that.

Bug: T137477
Change-Id: I4a7cb40852ec55d26260febd446c3d0c4bce9e3f
2016-06-14 07:33:39 +00:00
Translation updater bot 7c0e18fef6 Localisation updates from https://translatewiki.net.
Change-Id: Ia2aec482175dd3d31c353c6ed67940024c0057f3
2016-06-13 22:58:16 +02:00
Translation updater bot 27dab4225e Localisation updates from https://translatewiki.net.
Change-Id: I44ec674610de0da6d98aeb8b9f50a82b1c77064f
2016-06-09 22:39:23 +02:00
Translation updater bot fa8c39eb5c Localisation updates from https://translatewiki.net.
Change-Id: I8dd48f5f516040dbdff7dd4c8f410d109759e496
2016-06-03 23:21:21 +02:00
Translation updater bot 4071aa4f17 Localisation updates from https://translatewiki.net.
Change-Id: I0754b30b8ac3504345a0c1f74903eb99a3de653f
2016-06-02 22:24:36 +02:00
Gergő Tisza f449dcfaaf Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: Ifdfc37c43acac9129cf839d4c7eecac24955997d
2016-05-26 12:36:56 +02:00
Volker E d947539f37 Fix obsolete constructive color on download button dropdown
Remove `constructive` extension of button and remove it with more
generalized `.mw-ui-progressive` class and rely on progressive color.
Also make use of central mediawiki.UI's variable.less file.

Bug: T136209
Change-Id: I22f365419c41dd888824dbfeb4b3c995713ac5a5
2016-05-25 13:33:28 -07:00
Translation updater bot 7bbaac9279 Localisation updates from https://translatewiki.net.
Change-Id: I437ffddcab47f962a958af3a0b374bde5b9ce1b3
2016-05-19 23:10:34 +02:00
jenkins-bot 5f5c3a1e22 Merge "Disable Cucumber feature that is broken in daily Jenkins jobs" 2016-05-16 23:35:09 +00:00
Translation updater bot 7b7177ef82 Localisation updates from https://translatewiki.net.
Change-Id: Icbf2ec2c75ab171ff51dca6222ca8067cc4a1e34
2016-05-16 22:44:02 +02:00
Željko Filipin 54aa54c15c Disable Cucumber feature that is broken in daily Jenkins jobs
Performance feature failed 8 times in a row for Chrome.

Bug: T94150
Change-Id: If459929a717a1e6d0da59a333a80ffc41592d282
2016-05-16 18:23:51 +02:00
jenkins-bot a0e97aab78 Merge "Make Media Viewer pluggable for the 3D extension" 2016-05-09 20:14:35 +00:00
jenkins-bot 60af38230e Merge "Add varnish4* EL fields to MultimediaViewerNetworkPerformance" 2016-05-05 23:52:33 +00:00
Željko Filipin 2eedcb4240 Do not run unstable tests daily
Bug: T128190
Change-Id: Ifc8b03b96b68c81183067cab2bedc56b599dfdf4
2016-05-05 12:50:45 +02:00
Gilles Dubuc 318347d621 Add varnish4* EL fields to MultimediaViewerNetworkPerformance
Bug: T134165
Change-Id: I193414f379d7ce0e981af176126f8223b162c145
2016-05-02 15:25:03 +02:00
Translation updater bot 7b2f2491e6 Localisation updates from https://translatewiki.net.
Change-Id: I84b2bf21da3106ee338bcbb9b2f0cfec364ec524
2016-05-01 23:18:42 +02:00
Željko Filipin afe0397991 Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: If0e6b61c9e3d52005d1851ca49ef65babd002919
2016-04-25 19:15:12 +02:00
Gilles Dubuc 53a3d9a379 Make Media Viewer pluggable for the 3D extension
Some of the code encountered accessed mw.config directly,
I cleaned that up by migrating to mmv.Config, which is an
abstraction added to avoid peeking at mw.config directly.

Bug: T132064
Change-Id: I2a95ba703e6c7f46296f8e435bceec769dceebf9
2016-04-15 16:43:45 +02:00