Commit graph

2343 commits

Author SHA1 Message Date
Translation updater bot 200349d368 Localisation updates from https://translatewiki.net.
Change-Id: I66076ee0d74d3731cbc57e6e245917c7019ae771
2020-05-08 09:29:07 +02:00
Translation updater bot e1029c49a9 Localisation updates from https://translatewiki.net.
Change-Id: I6e9c310569f6d52e476261d42144f7c7f2d988d1
2020-05-07 08:36:05 +02:00
Translation updater bot 07242a8f42 Localisation updates from https://translatewiki.net.
Change-Id: Iea9aae94faa4eb250aad2b97fe3dc20a30abb360
2020-05-06 08:32:41 +02:00
Translation updater bot c7477b34a3 Localisation updates from https://translatewiki.net.
Change-Id: I7f48229c0272ee24ab424448de85cc538d190cdd
2020-05-04 09:16:48 +02:00
Ed Sanders 90c0b245fc Move 32px dropdown height to -wikimedia.less
Bug: T251682
Change-Id: I86afcb66b8d5d8fdff4f95944c863b10a1949518
2020-05-03 21:17:03 +01:00
Translation updater bot 57ba9e34f4 Localisation updates from https://translatewiki.net.
Change-Id: I1059cc645b626a97100bcc969ccd8fe4cf33086e
2020-04-30 08:40:52 +02:00
jenkins-bot 0af9afb631 Merge "Use WikiPage::exists instead hard-deprecated Article::exists" 2020-04-29 17:51:51 +00:00
jenkins-bot d4db64d19f Merge "Create a toolbarReady hook for attaching toolbar tools" 2020-04-29 17:14:39 +00:00
BAGArt e366cc041f Use WikiPage::exists instead hard-deprecated Article::exists
Bug: T251278
Change-Id: Ib617a144279e63c2905d6a0c1048bba65a19115c
2020-04-28 19:20:18 +03:00
Translation updater bot af059b649f Localisation updates from https://translatewiki.net.
Change-Id: I7b5f5e61d958f923014622baa2ef30ac9bbaa586
2020-04-27 09:04:28 +02:00
libraryupgrader 18dcb04836 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
  The following sniffs now pass and were enabled:
  * MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I892964b1b124914f76d75173a23aec54baf03257
2020-04-22 23:06:54 +00:00
Ed Sanders 8e9d306510 Create a toolbarReady hook for attaching toolbar tools
Using an event introduces a race condition where the extension
adding the listener has to do so before WikiEditor finishes loading.

Change-Id: I5a8dc6f8fd1b1939b5d98307b20ef1fd355cee99
2020-04-21 15:28:40 +01:00
Translation updater bot d86e85e26d Localisation updates from https://translatewiki.net.
Change-Id: I14a8b81b5b100e99082b574e46482154ca1d5105
2020-04-20 08:43:38 +02:00
libraryupgrader e49f2f12e0 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I7ca3f78c44f077452b23a27ee5bbe1cd21e11a91
2020-04-19 23:40:46 +00:00
Reedy d5d3104a41 WikimediaEventHooks was namespaced
Change-Id: Ic33ec8f08b6fc755e4749e34f734831b8f519be1
2020-04-20 00:24:13 +01:00
Translation updater bot 633ee66f41 Localisation updates from https://translatewiki.net.
Change-Id: Iddedb3f55738fa4889f12b6aa9bceebf48bb0fb9
2020-04-14 08:25:53 +02:00
Translation updater bot b688d3a178 Localisation updates from https://translatewiki.net.
Change-Id: I2509c1326365bb9b443231ab966c02713d2d9a9d
2020-04-13 09:03:41 +02:00
Translation updater bot dcd68e424c Localisation updates from https://translatewiki.net.
Change-Id: I9eef417c1817d34b66a4b2a5ad202c9f5448746a
2020-04-10 09:52:12 +02:00
jenkins-bot 3f46f25c79 Merge "jquery.wikiEditor: change autoIcon() to no longer append version string" 2020-04-08 01:29:08 +00:00
DannyS712 d43e91726a Remove use of WikiPage::getRevision
Bug: T249393
Change-Id: I26dc2f750bc1a6315865c5bbfab54799c6b18486
2020-04-07 23:37:53 +00:00
Timo Tijhof 0f24c10873 jquery.wikiEditor: change autoIcon() to no longer append version string
Remove use of mw.loader.getVersion, which I'm planning to remove
from the public API. The only valid use case I found of it (not
in WMF repos) is to check if a module exists, for which one can
use mw.loader.getState() already.

The code path here handles with the 'icon' property of a
WikiEditor "toolbar group tool". In other words, the buttons
you can click in the toolbar to open a dialog or insert markup.

I found two ways to reach this code path:

* For the built-in tools and icons that are part of WikiEditor.
  These are all based on OOUI now and no longer use inline styles
  with background-image etc., they are class-based instead, with
  the URLs and language variants handled server-side by RL.

* For user scripts that register a custom tool and icon.
  To try this, copy snippets to the console on an edit page from
  <https://meta.wikimedia.org/wiki/User:Krinkle/Scripts/InsertWikiEditorButton>

  These pass urls as the 'icon' property and thus don't satisfy
  the hasOwn condition in this code. And even if they did, there'd
  be no reason for the module version to be helpful to the thumbnail
  url the user would have passed.

This line of code has existed with the mw.loader.getVersion() call
since the repository's very first commit in 2010 (9d278e8dee).

The worst that can happen is if there are stil some internal icons
hitting this path, they'll be cached for 1 hour instead of 7 days
(per /w/static.php rules in production). For third parties, there
would be no difference and such static paths have no caching by
default either way (outside WMF).

Change-Id: I6ec29abde0085d04b662b56b5ebcc2bd7fa267f8
2020-04-07 20:55:01 +01:00
jenkins-bot 855a7d73fa Merge "Simplify the CSS definition and extend the clickable area by 4px" 2020-04-07 09:48:15 +00:00
Translation updater bot 399e7ef303 Localisation updates from https://translatewiki.net.
Change-Id: I18d2a6a58ca1bc94e53ccadb17680fbacbf22b82
2020-04-07 08:53:03 +02:00
Translation updater bot 334b4adf16 Localisation updates from https://translatewiki.net.
Change-Id: Id357257eda939f258d17632e9e2a66fea62da14c
2020-04-06 09:03:09 +02:00
libraryupgrader db60537a19 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ieda0ea6d08f84e2a28b39f1e9359d506d113f00f
2020-04-05 11:24:15 +00:00
Fomafix b3335607e6 Simplify the CSS definition and extend the clickable area by 4px
Change-Id: I7fd42f647eccc24561474e6e977768bc0d1bfd07
2020-04-05 11:27:50 +02:00
Translation updater bot 1f93ae28bd Localisation updates from https://translatewiki.net.
Change-Id: I50053df3b23d031ea3bec0cf5ec265ecb273cd6e
2020-04-01 08:25:54 +02:00
Translation updater bot fb114d6a25 Localisation updates from https://translatewiki.net.
Change-Id: Ic618af56f83d9cbbf2595e7864fb91846ca9f463
2020-03-31 08:29:39 +02:00
jenkins-bot ce1640bae9 Merge "Localize numbers before passing to mw.msg" 2020-03-30 08:16:56 +00:00
Translation updater bot 047f9e0107 Localisation updates from https://translatewiki.net.
Change-Id: Ia319c62e4908ce31248a5de8675472628630925e
2020-03-30 09:15:45 +02:00
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