Commit graph

1608 commits

Author SHA1 Message Date
jenkins-bot 983cd6f480 Merge "Replace deprecated jQuery.isArray with Array.isArray" 2017-04-26 16:12:50 +00:00
Fomafix 24ee938095 Replace deprecated jQuery.isArray with Array.isArray
jQuery.isArray was deprecated in jQuery 3.2.0. [1]

Array.isArray is part of ES5 and MediaWiki 1.29+ which ensures that
JavaScript is only used when the browser supports ES5. (T128115)

Performed using:
find . -type f -name \*.js -exec sed -i -e 's/\$\.isArray/Array.isArray/g' {} \;

[1] https://blog.jquery.com/2017/03/16/jquery-3-2-0-is-out/
[2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Browser_compatibility

Change-Id: Ia1a118fefb23761fe297647442f0a598a9488968
2017-04-26 16:04:51 +00:00
jenkins-bot 744dd98914 Merge "Fix deprecation warning since jQuery 3" 2017-04-17 20:58:19 +00:00
Amire80 677041ff59 Add Canadian Aboriginal characters to the special characters toolbar
Bug: T108626
Change-Id: I613e89a520f78bcf7b6640c3ed5b9f3cce351912
Depends-On: Ia337d42c6ef7f9645f1dd843ef0e7553857f6aa3
2017-04-17 14:23:26 +00:00
SamanthaNguyen 105f31186b Remove deprecated PHP entry point
Bug: T140007
Change-Id: I514be311a359cffd36e404bff3df2c5de05e3b21
2017-04-15 08:11:24 +00:00
Fomafix 74229b1d25 Fix deprecation warning since jQuery 3
JQMIGRATE: Attribute selector with '#' must be quoted: a:not([href^=#])

Change-Id: I892d27fd5e1b7e4a8b495f295d95592f164f7003
2017-04-13 11:18:45 +02:00
Translation updater bot 364ac4a02b Localisation updates from https://translatewiki.net.
Change-Id: Iabff48a679a4bc1cfcfb40e5c29a8aa03971ca11
2017-04-11 23:13:56 +02:00
Translation updater bot bf7e63d77b Localisation updates from https://translatewiki.net.
Change-Id: I5ebb40a9dac5912fb897cc15b2bdf81f031c2138
2017-03-30 23:21:59 +02:00
Fomafix ebf4d28dfe Replace deprecated jQuery .bind() by .on()
jQuery .bind() is deprecated since jQuery 3.0.
https://api.jquery.com/bind/

Change-Id: Ibbcfbefe2983b2ed2e3b110518c16539cbb84d88
2017-03-24 08:51:58 +01:00
Fomafix bd133991ba Replace deprecated jQuery .unbind() by .off()
jQuery .unbind() is deprecated since jQuery 3.0.
https://api.jquery.com/unbind/

The deprecated jQuery .bind() was aready replaced by .on() in 7769baa5.

Change-Id: Ia03d7a26754cc26345d9551d740719c43f598995
2017-03-23 20:36:39 +01:00
Ed Sanders d4b3d2c87f build: Update stylelint to 0.4.1
Change-Id: I4f21c19a9b834fa5442df201c4d65c6184bcbd2c
2017-03-20 14:39:18 +00:00
Translation updater bot 2cc649a2a9 Localisation updates from https://translatewiki.net.
Change-Id: I97011c700ad19cca54aacfb89fda81e4f9c32f16
2017-03-16 23:36:54 +01:00
Translation updater bot 993561cb31 Localisation updates from https://translatewiki.net.
Change-Id: Ie15f7b11835cfbc30a105de7c1a39056b0e12461
2017-03-08 22:50:45 +01:00
Translation updater bot 3865732362 Localisation updates from https://translatewiki.net.
Change-Id: I1a2b95656f8f0ba5ef5c374ca9a8ca8db6d9c37b
2017-03-05 22:56:15 +01:00
Translation updater bot 386dd6db34 Localisation updates from https://translatewiki.net.
Change-Id: I6fd65812a0803ce64bd0042aa20cb898868b03f6
2017-03-01 22:49:14 +01:00
Translation updater bot 586ca2a041 Localisation updates from https://translatewiki.net.
Change-Id: I79fe333cc48658ef1d690ce45dbc4a90a18fbf7c
2017-02-21 00:03:46 +01:00
Translation updater bot 5b975666ac Localisation updates from https://translatewiki.net.
Change-Id: I429208d58e50b68a002485b9428ab29fad1bde94
2017-02-19 22:54:18 +01:00
Translation updater bot 7e17b02301 Localisation updates from https://translatewiki.net.
Change-Id: I491ff5b848bdbbd606a009a8e9fa5e0ff5173b2e
2017-02-12 22:46:16 +01:00
Translation updater bot 65dd4044fd Localisation updates from https://translatewiki.net.
Change-Id: Ia67032cc58d35f87ddf3415325f278c67ec017c4
2017-02-07 23:09:23 +01:00
Translation updater bot f72822e201 Localisation updates from https://translatewiki.net.
Change-Id: Iad4e66dc4108b05dd883bf7a34987183c96063d9
2017-01-29 22:40:25 +01:00
Translation updater bot 4cf196d7d6 Localisation updates from https://translatewiki.net.
Change-Id: Id63f78b5647a68e24e4d781aa4408928d620db27
2017-01-28 22:58:16 +01:00
Translation updater bot c697587ede Localisation updates from https://translatewiki.net.
Change-Id: Ic03133cfeed861026b3e6351e34fa194ca0c4254
2017-01-21 22:48:57 +01:00
Translation updater bot 49a0248cd7 Localisation updates from https://translatewiki.net.
Change-Id: I765b44c2f9390ecd1e9d0d7b7df1baf484704600
2017-01-16 14:32:41 +01:00
Translation updater bot d3f7e68947 Localisation updates from https://translatewiki.net.
Change-Id: I4e4398fbcfb756eb147d077dbf626897a7ae5dc0
2017-01-11 23:21:57 +01:00
Ed Sanders 9f7fcfd80e Follow-up Ife5e782bd: Syntax fixes
Change-Id: I0a9d68344b2e5ed5589d421525e6113b72476705
2017-01-09 13:43:42 -08:00
Translation updater bot 33a3e47adf Localisation updates from https://translatewiki.net.
Change-Id: I00beeeafed2fdc1956a7b281ac9debc649b4b660
2017-01-05 23:50:41 +01:00
Translation updater bot 82b75d2be5 Localisation updates from https://translatewiki.net.
Change-Id: Ib65568bb3a4262ded4319f5aad5760c1cfded0c9
2017-01-04 22:40:24 +01:00
Translation updater bot 7bc3f12a0f Localisation updates from https://translatewiki.net.
Change-Id: If90818b49476e68fa2fb2d8ea70ab764d2ab1517
2017-01-01 10:18:35 +01:00
Translation updater bot 48a4ad81ec Localisation updates from https://translatewiki.net.
Change-Id: I6706f0b0ca98a8a05c34288863e4805c3717204a
2016-12-22 23:01:23 +01:00
Translation updater bot 9afdb93dc7 Localisation updates from https://translatewiki.net.
Change-Id: I66da2678e1317b8d832911a6096e79df8280b0ba
2016-12-19 22:50:52 +01:00
Translation updater bot cdbce744d3 Localisation updates from https://translatewiki.net.
Change-Id: I7f82f7cf3a07acec236e2ec236c009f135e3def3
2016-12-16 22:18:31 +01:00
Translation updater bot 35312685b7 Localisation updates from https://translatewiki.net.
Change-Id: I311c202829f4dbe7d6bcc8c8e36940cdc0c5109a
2016-12-15 23:20:48 +01:00
Translation updater bot de16a49795 Localisation updates from https://translatewiki.net.
Change-Id: If5713aecabe147787fa8bce6058345e995936378
2016-12-12 22:45:21 +01:00
Translation updater bot 099aed3fdc Localisation updates from https://translatewiki.net.
Change-Id: I4db8f51c6b372b331e2547d3813c1013a9fdb7de
2016-12-02 22:22:19 +01:00
Translation updater bot f144742132 Localisation updates from https://translatewiki.net.
Change-Id: I2237e5db0c5fda07d077da2e70ef011eb2b9e43e
2016-11-30 22:23:06 +01:00
Translation updater bot 7dabc5958f Localisation updates from https://translatewiki.net.
Change-Id: I9a9db07c0e05d7ab191a80cdce123cb5fa95dca4
2016-11-29 22:26:24 +01:00
Translation updater bot eb421caf61 Localisation updates from https://translatewiki.net.
Change-Id: Ib99b3b9fc85acfaef7bcbebef0868a951f4563c1
2016-11-28 22:34:45 +01:00
Translation updater bot 99f942e2a0 Localisation updates from https://translatewiki.net.
Change-Id: Ia84f440dce4f08bc8e47e6a2cffbc14770b0f619
2016-11-25 22:56:46 +01:00
Translation updater bot a0a38151a8 Localisation updates from https://translatewiki.net.
Change-Id: I3de2220b78ecee6fdf25d5b34877bb52f138ecbd
2016-11-23 22:42:13 +01:00
Timo Tijhof 7769baa56e Replace deprecated jQuery bind() and size()
> JQMIGRATE: jQuery.fn.bind() is deprecated
> JQMIGRATE: jQuery.fn.size() is deprecated; use the .length property

Note that bind() is not removed in v3, merely deprecated.
Even after the jQuery Migrate phase, it will continue to work.

size() was removed in v3 and works only during the Migrate phase.

https://api.jquery.com/size/
https://api.jquery.com/bind/
https://jquery.com/upgrade-guide/3.0/

Bug: T124742
Change-Id: I6bbd8f829ecf987228c6a5abd32c84e4e088a9bd
2016-11-21 18:23:50 -08:00
jenkins-bot 841b7b22d6 Merge "Replace jshint/jscs with eslint/stylelint" 2016-11-21 21:59:04 +00:00
Translation updater bot 2a165ef5fc Localisation updates from https://translatewiki.net.
Change-Id: I8ead573e5a093be3fcb9e483a65f05b3cca5f208
2016-11-21 22:42:44 +01:00
Ed Sanders 7eed707a48 Replace jshint/jscs with eslint/stylelint
Change-Id: Ife5e782bd5513e0496e384655b9b203de5c841a5
2016-11-21 21:02:38 +00:00
Translation updater bot c1d663d932 Localisation updates from https://translatewiki.net.
Change-Id: I00cf44f6acbc67208ca73dd98e39cf85d511963b
2016-11-16 22:55:38 +01:00
Translation updater bot 0b5c026f4d Localisation updates from https://translatewiki.net.
Change-Id: I82dcfe97d2782f1d186be763c9314282854b13ab
2016-11-13 22:58:59 +01:00
Umherirrender 2d7049f81e Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: I97be186cda3e2b858b2604da80eb3f993fd056cf
2016-11-13 13:23:35 +01:00
Translation updater bot d229f2c102 Localisation updates from https://translatewiki.net.
Change-Id: Ibed44b84fcf46692b5d5074e62a8db9bf0d274f5
2016-11-09 22:47:00 +01:00
Translation updater bot bbb6db981a Localisation updates from https://translatewiki.net.
Change-Id: Ie8c52529655c189762a3b5db27ed0275ca9b87c9
2016-11-06 22:43:05 +01:00
Translation updater bot 441c6e4595 Localisation updates from https://translatewiki.net.
Change-Id: Icef99073466c1969edec96b26b1af692e942aa77
2016-11-02 22:55:34 +01:00
Bartosz Dziewoński eb3097759f Make Upload/Insert buttons in "Insert media" dialog less confusing
The "Upload" button is now displayed on the left side of the dialog,
which make it clear it's a "secondary" action. "Insert" is on the
right, like all jQuery UI buttons, and the primary action.

Unfortunately jQuery UI doesn't give us a lot of styling options for
buttons or dialogs, even this is a bit of a hack.

Bug: T135917
Change-Id: Ia64229b880653668c11787744c177f6c91900382
2016-11-02 16:56:37 +01:00