Commit graph

3163 commits

Author SHA1 Message Date
Alexander Jones 884991e4a0 Localize numbers before passing to mw.msg
This commit localizes numbers before passing to mw.msg. This occurs
in two places, the successful replacement count and the error message
where too many cells are used in the table tool. The comment above the
second call was not correct, as the existing message used a substitution.

Bug: T244812
Change-Id: I00f83bd478bc42cb536edceba2bcc9daf0b13b3d
2020-03-27 14:04:27 +00:00
jenkins-bot a28517c4c2 Merge "Localisation updates from https://translatewiki.net." 2020-03-27 07:45:39 +00:00
Translation updater bot b0c534a958 Localisation updates from https://translatewiki.net.
Change-Id: Icce5be77165424edbe6a03960115aebc8123211a
2020-03-27 08:42:27 +01:00
jenkins-bot 52bdc80a21 Merge "Replace arrow variants with CSS transformations" 2020-03-27 07:36:58 +00:00
Ed Sanders ec78f1a2b6 Replace arrow variants with CSS transformations
* Allows us to briefly animate the transition between
  expanded and collapsed
* Remove the left/right-arrows, and just use a single
  down-arrow with rotations.
* Remove the up-arrow used by the dropdown, we don't
  use that elsewhere in WMUI.
* Remove PNG fallback as `transform` works only with IE 9+
  and we're not supporting WikiEditor on Grade C browsers.

Change-Id: I29ab0c35b890689bdea8de5f6bbeef0948483fa5
2020-03-26 16:20:36 -07:00
Translation updater bot 6514dca0af Localisation updates from https://translatewiki.net.
Change-Id: Ib01fdb1be90c476cb5aaf5811a3ed66cde3a0b42
2020-03-26 08:33:34 +01:00
Translation updater bot c943c9d21f Localisation updates from https://translatewiki.net.
Change-Id: I44f1e074d8188155faf67edac43285c5726c7605
2020-03-25 08:34:05 +01:00
libraryupgrader 04476d96ae build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.5.1 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: I4754082fa41929dd272005420fa33146e8eed838
2020-03-21 09:07:44 +00:00
Translation updater bot 6458744b62 Localisation updates from https://translatewiki.net.
Change-Id: I62e66801f090714e5001731d6a909d8402e71ab4
2020-03-20 08:25:23 +01:00
libraryupgrader 0831476636 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I277b996ff31292e88ee3ff25ec440e6d547f004a
2020-03-19 21:31:33 +00:00
jenkins-bot d050676356 Merge "Improve accessibility of expandable controls" 2020-03-13 19:36:35 +00:00
Akinwale Alagbe b2222d0afa Improve accessibility of expandable controls
Fixing aria-* attributes to the Heading menu and roles property to 
the menu dropdown items in order to make the element function like an 
ideal menu to screen readers. 

Adding aria-expanded attribute to Expandable panes(Advanced, 
Special Characters and Help) widgets to allow
screen readers announces of the state expandable buttons. 

Bug: T244426
Change-Id: I0cb47afd7f3622ed83a57410086984d9abc9acfd
2020-03-13 19:23:10 +00:00
jenkins-bot 792ef7c8ed Merge "Preload modules of the file upload dialog" 2020-03-13 17:10:36 +00:00
jenkins-bot cc358744f1 Merge "Lazy load the modules for the upload dialog" 2020-03-13 17:10:27 +00:00
jenkins-bot f7b8e34a5c Merge "Fix double escaping" 2020-03-13 15:57:25 +00:00
Translation updater bot cae77665c5 Localisation updates from https://translatewiki.net.
Change-Id: If102eda35ca75985774f39b5eb136d5b87229e08
2020-03-12 08:43:53 +01:00
Translation updater bot 05f24df566 Localisation updates from https://translatewiki.net.
Change-Id: I8ba8094cb7551fbe272253314e57145d98117b87
2020-03-09 08:58:26 +01:00
libraryupgrader a188151e52 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I1c4533a7810ac5205b80f11938286c61682cb208
2020-03-08 15:49:09 +00:00
jenkins-bot 707fa69276 Merge "Increase clickable area of tabs buttons" 2020-03-07 00:26:55 +00:00
Translation updater bot 0ec37de599 Localisation updates from https://translatewiki.net.
Change-Id: I126d946ed8b5fd4605064fa69975a548890280a5
2020-03-05 08:40:30 +01:00
Fomafix 6ced54bdf6 Increase clickable area of tabs buttons
This makes the clickable area of the tabs buttons like the other
buttons.

Change-Id: I7987aed0627def6b177ef54aa8a787917e9b40f0
2020-03-03 06:48:25 +01:00
Fomafix 9542561b9c Preload modules of the file upload dialog
This prevents a delay when showing the file upload dialog.

Change-Id: I0c29def8e65302078d4fd528abee7c07373803e7
2020-03-03 06:26:10 +01:00
Fomafix 47a7e21216 Lazy load the modules for the upload dialog
This reduces the initial loaded modules.

Also add the dependency on module 'oojs-ui-widgets' because
jquery.wikiEditor.toolbar.js uses OO.ui.ToggleButtonWidget.

Change-Id: I03d0f73fb77bb389dd4e5ad2aa15b3ff5a97e5f5
2020-03-03 06:25:51 +01:00
jenkins-bot b3709d5ad4 Merge "Add z-index: 1 to menu options" 2020-03-02 18:38:33 +00:00
Translation updater bot f6f8dcad92 Localisation updates from https://translatewiki.net.
Change-Id: I6624865afa81d92ac7873b37ec46a84589035add
2020-03-02 09:12:15 +01:00
Fomafix 3303e4b25d Add z-index: 1 to menu options
This avoids overlapping of wrapped icons with the heading pull down
menu.

Bug: T246550
Change-Id: Ia05773f2e41c2a50a6341546922dce2f8e196ab7
2020-02-29 22:45:17 +01:00
Umherirrender 8af7b2df71 Improve param docs
Change-Id: I0fa1d6aef74f434306d665f39085cd41f710bed1
2020-02-29 22:18:42 +01:00
Translation updater bot ede68eb9e1 Localisation updates from https://translatewiki.net.
Change-Id: Id7b370a598f8bad3eb8e9fe1e11ca6b5e14917ee
2020-02-24 09:04:29 +01:00
libraryupgrader 4787c733d6 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I13751d02f31523b4306d9c43c4f63b5564b2e5e3
2020-02-21 04:36:26 +00:00
Translation updater bot 8ca98bf140 Localisation updates from https://translatewiki.net.
Change-Id: I63296cf86cf7981d66ebda105e302f6d3d292a33
2020-02-20 09:28:10 +01:00
Translation updater bot 7870f34f4b Localisation updates from https://translatewiki.net.
Change-Id: I593f6217ef3fff4430ee90831d03cd951fa079d1
2020-02-19 08:27:06 +01:00
Translation updater bot 9ac4a9d326 Localisation updates from https://translatewiki.net.
Change-Id: Ia3c7c57a4aacb5a58dd38b4579a23dd9b5abb1fe
2020-02-17 08:48:14 +01:00
Translation updater bot 3473aaecc6 Localisation updates from https://translatewiki.net.
Change-Id: Id2b5f6123cfa5c70e564036b9bb9a67d35ca7c33
2020-02-14 08:26:51 +01:00
jenkins-bot 5944820dd6 Merge "Use WikimediaUI toolbar styling in Vector" 2020-02-11 21:49:27 +00:00
Ed Sanders 0df5223a20 Use WikimediaUI toolbar styling in Vector
Bug: T223155
Change-Id: I4730a78836e8db0b4116f09e07929d8b883c9fa4
2020-02-10 14:44:06 -08:00
Translation updater bot f85aa78aab Localisation updates from https://translatewiki.net.
Change-Id: I70fcd0810dade2b9427b51282974adc4ac8c58cd
2020-02-06 08:20:16 +01:00
Ricordisamoa e4d02b5e9a Fix double escaping
e75284e528 escapes a few messages too
eagerly but 1fc00749fb only fixes one
of such mistakes.

Without this change, the labels of some toolbar buttons (e.g. Italian
'Redirect', Welsh 'Numbered list') display ''' where apostrophes
should be.

Change-Id: I3265631512c5d22ecc3dafb9d56acecc7d50ad1d
2020-02-05 19:11:01 +01:00
Ed Sanders ef38bdfe2f Align toolbar styling with Apex
Also separate out Apex-specific styling into a separate file.

The current toolbar is already supposed to be aligned with Apex
so the visual changes here are minimal.

Bug: T223155
Change-Id: I7a0a21809018e0094d50992054523d20be3c5473
2020-02-04 17:16:37 -08:00
Ed Sanders d861bf41de Use caret-style arrow indicator
This style of indicator is used everywhere else (Vector, WMUI, Apex).

Bug: T223155
Change-Id: I0792ee718656943a2938c2d027f8effe71a54002
2020-02-04 16:58:18 -08:00
Translation updater bot d6b914feeb Localisation updates from https://translatewiki.net.
Change-Id: I2d2749930c0ba52e0358ebd8ee27d137f2a5718e
2020-02-03 08:28:48 +01:00
Translation updater bot 593e9a2b38 Localisation updates from https://translatewiki.net.
Change-Id: Ic993b504019bd1e7140380a3a7cf97d01e2351b2
2020-01-31 09:54:39 +01:00
libraryupgrader 7f3be2975c build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I26749f2ea026f3df7cff326c9fd09859063d4a20
2020-01-30 10:23:54 +00:00
jenkins-bot 787867b1fe Merge "Remove usage of EditPageBeforeEditToolbar" 2020-01-26 01:04:49 +00:00
jenkins-bot e94ad450bd Merge "Avoid href="#" on <a> elements" 2020-01-25 16:25:07 +00:00
Derk-Jan Hartman 4906ff1c8c Remove usage of EditPageBeforeEditToolbar
As noted by Jack Phoenix in I07b0e0e030217d74f06bb2b6fc278bd2e28e34b5
the core toolbar has not been present since 1.32 and this hook is
therefore rather pointless.

Change-Id: Ibcf4400237dbf3b195e2bc6a8efee9f1b1527e6d
2020-01-25 17:18:42 +01:00
Translation updater bot 8237c00328 Localisation updates from https://translatewiki.net.
Change-Id: I5d1e12bd55c94d23aef920388ff7bf6a03e77119
2020-01-24 08:16:04 +01:00
Translation updater bot 62524f2c14 Localisation updates from https://translatewiki.net.
Change-Id: Ice7db19e7b01b9f39f01cc309e4a3e9637498e8e
2020-01-23 08:35:50 +01:00
Translation updater bot f264aaabdd Localisation updates from https://translatewiki.net.
Change-Id: Ia49a6ce6e9bef2afceb1deeac8fe155c5cac2e1c
2020-01-21 08:17:22 +01:00
Translation updater bot 92e91f4be4 Localisation updates from https://translatewiki.net.
Change-Id: I402a0e5118514f3007b444e86aa52a669cb021a9
2020-01-20 08:51:07 +01:00
libraryupgrader f4a5b7fdc2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate
* MediaWiki.Commenting.FunctionComment.MissingReturn

Change-Id: Ibc6e1ba988c6fd1dcc800df00a372b6aa217d02a
2020-01-15 10:44:37 +00:00