Commit graph

330 commits

Author SHA1 Message Date
Arlo Breault
3a30e03645 OutputPage: Support HTML5 elements in older browsers using html5shiv
Bug: T122965
Change-Id: Ic11ca687a5459b2dc5d942cf1dc784daa0ddc2f3
2017-08-07 21:56:18 +00:00
James D. Forrester
5b2b8d544b OOjs UI: Bring forward upstream fix for WikimediaUI colour issue
* 4412e21bef698d76ad73b98c33a177cf4b9e7466
  WikimediaUI theme: Fix regression on disabled border

Bug: T172402
Change-Id: Ibf1335313505af2abb9ba69314c427cffc79e266
2017-08-03 12:39:55 -07:00
James D. Forrester
18c2b29291 OOjs UI: Bring forward upstream fix for jQuery access key issue
* a8d27103cc1b7621cedd8065a2a4777e43551fd6
  Follow-up 022f532: don't crash if TitledElement initializes
  before AccessKeyedElement

Bug: T172236
Change-Id: Ib188d2bdb359c7bb2db755240c50943d5d1713d7
2017-08-01 23:54:20 +00:00
James D. Forrester
7bbb4be49b Update OOjs UI to v0.22.4
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.4

Depends-On: I505e7c612b70a949d2b101172964bd7433fb8d5e
Change-Id: Ice2c56b035c5b9e6525d5b9c0d9b45eb07bb2943
2017-08-01 13:57:36 -07:00
Timo Tijhof
2454f51b27 Upgrade QUnit from v1.23.1 to v2.4.0
Source
 https://code.jquery.com/qunit/qunit-2.4.0.js
 https://code.jquery.com/qunit/qunit-2.4.0.css

Changelog
 https://github.com/qunitjs/qunit/blob/2.4.0/History.md

This release makes 'moduleStack' private, which means we can no
longer use it to detect nested modules. Change the method of
detection to be a local 'nested' variable that we toggle in
a wrapped version of any 'executeNow' callback, in which nesting
happens.

Bug: T170515
Change-Id: Ib4ed386990125a6c713cb4351408c8f7ae7c070f
2017-07-25 22:14:09 +00:00
James D. Forrester
1d12fd51ef Update OOjs UI to v0.22.3
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.3

Depends-On: If676bfab1d2040a9d360c741a5ab4e1c81b36b87
Change-Id: I684822b564663a94e03fc8b559617974502c8e52
2017-07-11 15:15:55 -07:00
James D. Forrester
620396a946 Update OOjs UI to v0.22.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.2

Depends-On: If6a7aa1d924b416fc95831e1a1b26313e6482cbf
Change-Id: I36a5329fe7d6e134ec1f7b5583017ddff64ca03a
2017-06-29 11:21:12 +01:00
Timo Tijhof
a77525e56a resourceloader: Backport jquery-migrate.js patch for exceptionHook
jQuery Migrate has to monkey-patch jQuery.Deferred, but in doing so
it also effectively disables exceptionHook, which means exceptions
are no longer logged to the console.

<https://github.com/jquery/jquery-migrate/pull/262>

Bug: T168086
Change-Id: Id46abcc7fb5e65954532b114636bf0f1f000a551
2017-06-22 23:49:56 +01:00
James D. Forrester
7668836236 Update OOjs UI to v0.22.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.1

Depends-On: I4ee36222e67697a7290a1ac94788676e476ca768
Change-Id: I964a298018d837b1a05a1608a81ca0544f34a2c8
2017-05-31 12:27:05 -07:00
James D. Forrester
979042f645 Update OOjs to v2.1.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJS/browse/master/History.md;v2.1.0

Change-Id: I63fb9c2145e1c3e63ce1acf5f020e9208ca21f04
2017-05-30 16:24:23 -07:00
James D. Forrester
e7e607e807 Update OOjs UI to v0.21.4
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.4

Depends-On: I676c9aadbf4739437b94ec729cc4fe47ed19c886
Change-Id: Ie9f8e42c46948688495cbd80e778b484c7b03982
2017-05-16 23:34:01 +01:00
Volker E
adf31f97d4 Update OOjs UI to v0.21.3
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.3

Change-Id: I53696e023197ae4dd85605d6615e9faceda05398
2017-05-09 18:21:26 -07:00
Timo Tijhof
9f3bec98c3 jquery.ui: Avoid deprecated jQuery.expr[":"]
Compatible with jQuery 1.11 and 3.x, as jQuery.expr.pseudos was
introduced in jQuery 1.8.

Note that this is not blocking jQuery 3 (T124742) since it is
covered by jQuery Migrate. But fixing this makes the edit page less
noisy by default.

Change-Id: I7ffbfd2e55aa7dcc31860eb0117b203e63ca7283
2017-05-05 16:39:16 -07:00
Volker E
580d8de9b1 Update OOjs UI to v0.21.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.2

Change-Id: Id7cae80a4f3d84ea5d50003f2409537b307c0c58
2017-04-25 18:28:38 -07:00
James D. Forrester
8d4cda3ce5 HACK: Temporarily patch OOjs UI locally to work around upstream problem
Applied upstream in Ic11b981e70e3.

Bug: T163358
Change-Id: If8c26ffe5095e4e8c2f206c9dda1981bccba2b62
2017-04-19 11:25:22 -07:00
James D. Forrester
e169d184c9 Update OOjs UI to v0.21.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.1

Depends-On: I5edcf21effee760d9951965a152481f2c603b59b
Change-Id: I5edcf21effee760d9951965a152481f2c603b5b9
2017-04-18 16:41:08 -07:00
Timo Tijhof
bf69459d50 Upgrade to jQuery v3
Source code:
 https://code.jquery.com/jquery-3.2.1.js
 https://code.jquery.com/jquery-migrate-3.0.0.js

Documentation:
 https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/
 https://jquery.com/upgrade-guide/3.0/

This is not a breaking change because jQuery Migrate covers
all breaking changes.

However some extensions (especially unit tests) may've relied
on undocumented behaviour. For that reason, and due to unresolved
upsteam issues this is still behind a feature flag for now.

It is true by default to ensure this has wide exposure to discover
issues as quickly as possible. If this is not resolved before
the end of the 1.29 release cycle it should be turned off again.

Bug: T124742
Change-Id: I3c3dedaa9a9d449eaa2b7e5d24b4540e7fa421c0
2017-04-12 21:07:37 -07:00
Volker E
2d3367238e Update OOjs UI to v0.21.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.0

Change-Id: I94d5b7a89551e7d34d53223872ad3005f0ac4a04
2017-04-11 16:41:59 -07:00
James D. Forrester
532b982fe7 Update OOjs to v2.0.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJS/browse/master/History.md;v2.0.0

Change-Id: I5bbc3e0ec7c4789c6b476c0fb039e0292027c014
2017-04-05 08:42:26 -07:00
James D. Forrester
09fcee6110 startup: Drop JavaScript support for ES3-only browsers
Bug: T128115
Change-Id: I95400637d1b85d2c607cd91bcb39ce21733295c8
2017-04-03 19:04:08 -07:00
Volker E
ff22b6aff8 Update OOjs UI to v0.20.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.20.2

Change-Id: Ib79bda91982de97425b6a025b18299ec8693255d
2017-03-30 14:40:56 -07:00
Volker E
5df9a27b27 Update OOjs UI to v0.20.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.20.1

Depends-On: I9b50eee459085eaa00819cbabe340ac442a332bd
Change-Id: I9b50eee459085eaa00819cbabe340ac442a332db
2017-03-29 19:44:37 +00:00
jenkins-bot
71883474cf Merge "Update OOjs UI to v0.20.0" 2017-03-21 20:02:30 +00:00
Timo Tijhof
a866197cf7 jquery.ui: Add previously undocumented changes in PATCHES
Change-Id: I8d9561916820212842f87fa2306ff7474b268173
2017-03-15 16:52:31 -07:00
Volker E
f4d122ce53 Update OOjs UI to v0.20.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.20.0

Change-Id: I10ef5d85fcfae3a0b22b07a8a5ed3ae3e2d51288
2017-03-15 10:33:46 -07:00
Volker E
44565fa7b9 Update OOjs UI to v0.19.5
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.5

Change-Id: Ic15534df2f4006b94d1161a91e2d689f96892073
2017-03-07 15:26:57 -08:00
Volker E
36cd338271 Update OOjs UI to v0.19.4
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.4

Change-Id: Ifa1c6cb355a0c4f5073c93e37939cfc2f6653c81
2017-02-28 15:53:58 -08:00
Volker E
d969a58e74 Update OOjs UI to v0.19.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.2

Depends-On: If351020ee7f29d038eeea8258e0bd607c4134060
Change-Id: I2dbc0fb49cb500f8a378b5f9c8175fd1dabebf17
2017-02-16 00:59:40 +00:00
James D. Forrester
f13a0d9521 resources: Bump moment.js from 2.8.4 to 2.15.0
Languages and locales now with support:
* aeb-arab
* dv
* fy
* gd
* jv
* kk-cyrl
* ky
* lo
* ms
* pa
* se
* si
* ss
* sw
* te
* zh-hk

Skipped languages because we don't support them in MW:
* ar-ly
* en-ie
* en-nz
* es-do
* fr-ch
* me
* tlh
* tzl

Change-Id: I7f89569c6ee6640d368af1378e84c5a9e725da0d
2017-02-08 20:17:46 +00:00
Volker E
0993a9f442 Update OOjs UI to v0.19.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.1

Change-Id: I6ef09c5285f89feee040a894785c02dab728e6ad
2017-02-07 16:50:58 -08:00
Volker E
dd46ccf3fa Update OOjs UI to v0.19.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.0

Change-Id: I56c43ff1b49631d0e4c477a72d3e7cdd9d46c4c9
2017-02-01 15:30:46 -08:00
WMDE-Fisch
71e11de2a3 Fix positioning error with draggable, revert and grid
This minor change fixes an error when using draggable revert and grid.

Since upgrading of jQuery UI probably won't happen in the near future [1]
I looked for another way to fix the issue.

See [2]. Unlike stated in the second comment adding the lines below
won't fix the bug. Moving the lines up fixed the issue.

See also the description of the bug in [3].

[1] https://phabricator.wikimedia.org/T71386
[2] https://bugs.jqueryui.com/ticket/4696
[3] https://phabricator.wikimedia.org/T140965#2944610

Bug: T140965
Change-Id: Ib0f386c6a2447740f44591be70c34cf4a83b88c4
2017-01-30 14:03:00 +01:00
James D. Forrester
4fa09f5bc8 resources: Update OOjs UI with fixes on top of v0.18.4 (master)
Cherry-picked fixes:

* be46e1773cd0f6b04510c325054d49835714b5f3
* 629389a777b35d131289a12cecf986e52ff65534
* 92dcdcf5351f6d499624d247b2a3ebff66346aca
* f991c382ce3dd80ed3498bb09e81885b94f8795e

Bug: T155711
Bug: T155728
Change-Id: I741db3a17eec812b50b4befcc7eba603943b759c
2017-01-19 12:43:12 -08:00
James D. Forrester
58d61a7248 Update OOjs UI to v0.18.4
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.4

Change-Id: I09eacfe7597b26e33ef50e606afcee0cefca1d1c
2017-01-17 16:12:07 -08:00
James D. Forrester
6cf6b03ba7 Update OOjs UI to v0.18.3
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.3

Change-Id: I8f26c0024d44dd2bac2c19c869254a7154c4103e
2017-01-03 16:27:21 -08:00
Volker E
44164181fc Update OOjs UI to v0.18.2
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.2

Change-Id: Id08147e9015fc68a882733268a2bf860dd1ccb27
2016-12-06 15:42:12 -08:00
Bartosz Dziewoński
60f50ff59e OOjs UI: Backport I73f95965694ec7fb0fa9a474742286e1105e5c85
Bug: T151061
Change-Id: I715d2ac077c5a6f9de420d90f19ef4b631168f26
2016-12-05 01:01:37 +00:00
James D. Forrester
b47fbb4fde Update OOjs UI to v0.18.1
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.1

Change-Id: I5fe3129c9ccf3fa20494b5934bca7487d8d36879
2016-11-29 16:12:08 -08:00
Timo Tijhof
99aad9397e Upgrade QUnit from v1.22.0 to v1.23.1
Source
 https://code.jquery.com/qunit/qunit-1.23.1.js
 https://code.jquery.com/qunit/qunit-1.23.1.css

Changelog
 https://github.com/qunitjs/qunit/blob/1.23.1/History.md

Change-Id: I03b4e1de699ef9f33a8db3dec605c8e32f823a93
2016-11-28 19:18:32 -08:00
Peter Hedenskog
fd5c3b5817 Remove JSON polyfill, deprecate 'json' module
All A-graded browsers now supports JSON so skip the
JSON polyfill. Krinkle investigated the current
status for 3 months on Wikimedia traffic (T141344#2784065)
with support being nearly 100%.

Bug: T141344
Change-Id: I8280faf1cbcd876ead2dafae4347b7d46e3e2acb
2016-11-22 23:28:19 +00:00
James D. Forrester
291f2c0519 Update OOjs UI to v0.18.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.0

Change-Id: I2b8ef74e090c10a0abc0938e2f3e51ebe3553a6b
Depends-On: I791df74d96b82d53530a365281407704ad1bd122
2016-11-09 11:56:28 +00:00
James D. Forrester
5dc0cc4082 Update OOjs UI to v0.17.10
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.10

Change-Id: I4faf83e301417ef5721a81a4a69890854e6c266b
2016-10-03 12:01:38 -07:00
James D. Forrester
2a00a6e256 OOjs UI: FieldsetLayout: Styling fixes for <legend> labels
[Backport from OOjs UI master as this fixes a significant regression.]

* Make the `<legend>` 'display: inline-table' rather than 'table'.
  A block-level table would push down elements that follow it,
  including the "help" icon, which in turn messed up the fields.
  Fixes T145682, T145678 and first half of T145680.
* Only style .oo-ui-labelElement-label with margin and padding
  if we have the .oo-ui-labelElement class (label is not empty).
  Fixes second half of T145680.

Follow-up to 9cf8b941a9c618f1d7ba2512508f576f70116e1e.

Bug: T145682
Bug: T145678
Bug: T145680
Change-Id: Id95f4167afa6c000d6d2fa2ad7a62b65b6d4d53b
2016-09-19 08:41:44 -07:00
jenkins-bot
597a2063db Merge "momentjs: Hack around bug in node/browser compat wrapper in locale files" 2016-09-13 21:58:58 +00:00
James D. Forrester
8e33e2b66d Update OOjs UI to v0.17.9
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.9

Change-Id: Ibe5ba723888646f48ab4be9b88bc7a16ee0ae054
2016-09-13 11:48:05 -07:00
Ed Sanders
0f05bb3a01 Follow-up dfd0464: Remove LICENSE.txt for deleted library 'phpjs-sha1'
Change-Id: Ia4bbd23c2e78eea9277dc8b1ade8bd3345559c9a
2016-09-12 20:54:34 +00:00
Roan Kattouw
939c85ac7f momentjs: Hack around bug in node/browser compat wrapper in locale files
If there is an element with id="global" on the page,
typeof global !== 'undefined' is true, but global.moment will
still be undefined and shouldn't be used.

For now, comment out the wrapper and just use 'this'.
We should look into upgrading to momentjs 2.14 where this bug is fixed.

Bug: T145382
Change-Id: Ia6e3b46e42248a5ee3c61c5fcda7d020d012e89e
2016-09-12 11:50:34 -07:00
James D. Forrester
d7e368ac0e Update OOjs UI to v0.17.8
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.8

Change-Id: I03793872885c70cabd1abd550b12d89e6e509e94
2016-08-16 14:22:47 -07:00
James D. Forrester
46708622dd Update OOjs UI to v0.17.7
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.7

Change-Id: I0f36a3485a75ad0346eef9ae98aa47eddb099faf
2016-08-03 09:41:35 -07:00
James D. Forrester
f77036a73a Update OOjs UI to v0.17.6
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.6

Change-Id: I82b26aa68c7402346c449cafb3f6ec9b772bc5c6
2016-07-12 13:30:06 -07:00