Commit graph

2341 commits

Author SHA1 Message Date
Translation updater bot 11af9238c8 Localisation updates from https://translatewiki.net.
Change-Id: I9070f842f21a74e69ee29fbcca43f95260a8d38c
2019-11-07 09:45:46 +01:00
Fomafix f5c89bd673 Avoid href="#" on <a> elements
An <a href="#"> element
* shows a status line with a URL on hover and
* opens a new tab on middle click.

For still supporting keyboard navigation the replacement uses
* tabindex="0" to have the normal tab order and
* .on( 'keydown' ) to catch the Enter key.

The image example in the help does not need a link or a keyboard
navigation.

Change-Id: I6d75f75871bb29bdd878451f282f2055ed3f4f5c
2019-11-06 18:13:14 +01:00
Umherirrender 13661d374b build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I4b5653d9ada66f3458f588e1db9b6da0802348e5
2019-11-05 20:24:04 +01:00
Translation updater bot 10a87e7376 Localisation updates from https://translatewiki.net.
Change-Id: I2514094f02ce726cdbfa2716f10393b01f5067c2
2019-11-05 09:47:12 +01:00
Translation updater bot c0169c5101 Localisation updates from https://translatewiki.net.
Change-Id: I3288f3d0f8333e6f673b13a85ca73bbc0c74e8df
2019-11-04 10:18:23 +01:00
jenkins-bot bbd2ca2456 Merge "build: Update linters" 2019-11-01 02:17:37 +00:00
Bartosz Dziewoński 1ec89c8729 Adjust file/image button tooltip to match VisualEditor
Bug: T223775
Change-Id: Id72c6fbcc18eeceb8ae63f988cac4a398554f541
2019-10-31 23:11:50 +01:00
Translation updater bot accb25b37c Localisation updates from https://translatewiki.net.
Change-Id: Iccc71c9bb695e4b8931c79229d8388e5419efe2f
2019-10-31 09:30:16 +01:00
Ed Sanders 85ac5f2e07 build: Update linters
Change-Id: Idcac2a782781a86dabd91f30a41adac1ea94ef16
2019-10-29 22:16:13 +00:00
Translation updater bot 3afa97aed6 Localisation updates from https://translatewiki.net.
Change-Id: I48837bb6d4e844927e3ab27eb21bfc60971b85c6
2019-10-28 16:37:10 +01:00
Translation updater bot 5f0e2e0abd Localisation updates from https://translatewiki.net.
Change-Id: I47cbee2c8514e11d20b86192788bfc7905db39f3
2019-10-24 10:48:49 +02:00
Translation updater bot 45090fb49b Localisation updates from https://translatewiki.net.
Change-Id: I7a9c6a1fe131d8c1d3938e693e225d7ba9dcbe45
2019-10-23 09:54:15 +02:00
Translation updater bot a644d7d4ba Localisation updates from https://translatewiki.net.
Change-Id: Icdc12f5152d4e76ba6a989ddda8f3d043582e8b6
2019-10-21 10:01:17 +02:00
Timo Tijhof f1fdd893bb Remove use of jquery.ui module aliases
Bug: T219604
Change-Id: I33f4c65de2f4f615c69989d763cf8edcd8ea8f8e
2019-10-19 20:56:24 +01:00
Translation updater bot 244cd7e221 Localisation updates from https://translatewiki.net.
Change-Id: I90a2f921438b4219ba831a41a8b9f8d4671c99a2
2019-10-18 09:29:48 +02:00
jenkins-bot 9a25fc5557 Merge "Remove use of jquery.tabIndex (take 2)" 2019-10-16 21:49:54 +00:00
jenkins-bot 540785f413 Merge "Revert "Remove use of jquery.tabIndex in jquery.wikiEditor.dialogs.js"" 2019-10-16 21:12:05 +00:00
Timo Tijhof b505eaed24 Remove use of jquery.tabIndex (take 2)
This was used for setting incremental tabindex attributes
on the <button> elements of the "Find and replace" dialog
as opened from the "Advanced" toolbar section. I was unable to
find a difference in behaviour with and without this code running.

Both with and without this, when tabbing from the first input
field in the dialog, the buttons are in the tab order after
the input fields (matching the visual rendering). Unclear
what this was doing.

This re-applies commit 81b08daa48, which was reverted (5f356b1a),
because I forgot to remove the calls in  dialogs.config.js.

Bug: T234581
Bug: T235701
Change-Id: Ic51074c3d2b2e9b9b050c9f42862519a3e78af16
2019-10-16 22:03:29 +01:00
Jforrester 5f356b1aca Revert "Remove use of jquery.tabIndex in jquery.wikiEditor.dialogs.js"
This reverts commit 81b08daa48.

Bug: T235701
Change-Id: Iaad63b755aba5654ce6d684d4a5a88f732a6e797
2019-10-16 20:59:38 +00:00
Translation updater bot 384454f43c Localisation updates from https://translatewiki.net.
Change-Id: I093edb2eacf367d42fc8e4f8dbe0ac214ceacdfa
2019-10-16 20:42:57 +02:00
Translation updater bot c58987ef4f Localisation updates from https://translatewiki.net.
Change-Id: I4314b702f68a7890aa94371f67678db8c4a0b5cf
2019-10-16 10:41:48 +02:00
jenkins-bot c5b154e599 Merge "Remove use of jquery.tabIndex in jquery.wikiEditor.dialogs.js" 2019-10-12 02:13:30 +00:00
Timo Tijhof 81b08daa48 Remove use of jquery.tabIndex in jquery.wikiEditor.dialogs.js
This was used for setting incremental tabindex attributes
on the <button> elements of the "Find and replace" dialog
as opened from the "Advanced" toolbar section.

I was unable to find a difference in behaviour with and without
this code running.

Both with and without this, when tabbing from the first input
field in the dialog, the buttons are in the tab order after
the input fields (matching the visual rendering). Unclear
what this was doing.

Bug: T234581
Change-Id: I5de97733091d0e123913f272b00784205d69267f
2019-10-11 22:51:20 +01:00
James D. Forrester 618406ac31 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ia33c75eedf750dafe96dbdc8cdfccc0580d93401
2019-10-11 12:47:08 -07:00
Translation updater bot 31c78d43e4 Localisation updates from https://translatewiki.net.
Change-Id: I7f2798dc1831107b08f975c0115bf9e3b49725e2
2019-10-10 09:34:04 +02:00
Translation updater bot b381109066 Localisation updates from https://translatewiki.net.
Change-Id: Ie79d0c1baf3367e44b40d7c84bf9549c29ef2a1f
2019-10-09 09:19:55 +02:00
Translation updater bot a4a76feccb Localisation updates from https://translatewiki.net.
Change-Id: I3b5f713fc616c18a5aae090e8e55993e2f17d96e
2019-10-08 09:35:03 +02:00
Ed Sanders 2112538387 build: Update linters
Change-Id: I3a50982ee652c4c1c9b357c793e07cccf014e261
2019-10-07 16:52:10 +01:00
Translation updater bot a11c76c765 Localisation updates from https://translatewiki.net.
Change-Id: Ie9f5c65f403cd7ddac181675e8152bb42715e708
2019-10-04 09:30:05 +02:00
Translation updater bot 48d573a3bb Localisation updates from https://translatewiki.net.
Change-Id: I363990fff2bd1769ba520410b47cbc45bf1818a5
2019-10-03 10:06:37 +02:00
Translation updater bot 190c5fc393 Localisation updates from https://translatewiki.net.
Change-Id: Ia2815e1e4eca60c909de678514a0a01ac4c25b3c
2019-10-02 09:23:43 +02:00
Translation updater bot 57eb9ad41f Localisation updates from https://translatewiki.net.
Change-Id: I79e9e41acd9c0ba2bae2121e5d328c37d8b950aa
2019-09-23 09:27:27 +02:00
Translation updater bot 703b3d99e3 Localisation updates from https://translatewiki.net.
Change-Id: I478ad016566c8a1d4528471d70065173a4e4dd85
2019-09-16 09:58:27 +02:00
Bartosz Dziewoński d80d4275eb Update SpamBlacklist error logging
The error message key has changed in I4ca8e67e03726696a428093cc9fb547a6daa1492.

Bug: T232687
Change-Id: Id2154bae7ce2f33df63fcf9f7545fb93d38b656e
2019-09-13 01:11:16 +02:00
David Lynch a107382fc5 Implement firstChange logging
Also, clean up the invalid logging of some prefixed schema items.

Depends-On: I79e04dda6323ebb05b129bb96c0323db112bcdd0
Bug: T229079
Change-Id: I73eae25d83b8d3f73128d3b800b267a8288a76e8
2019-09-10 09:38:49 -05:00
Timo Tijhof 7e5b71b04e mediawiki.RegExp (deprecated) -> mediawiki.util
Bug: T218339
Change-Id: Idd56fbd34648eeb42434848119b118375562cd14
2019-09-09 17:55:24 +00:00
jenkins-bot c36ba4893e Merge "Allow data URLs for toolbar icons" 2019-09-08 11:54:45 +00:00
Translation updater bot 62621dd1a0 Localisation updates from https://translatewiki.net.
Change-Id: Ib4c7201895cd42eda18052f3dc8504584569507b
2019-09-04 10:16:29 +02:00
Translation updater bot 9fc82734d7 Localisation updates from https://translatewiki.net.
Change-Id: I31a9271723b1b13709519bc83dbb7ad3182d1498
2019-09-02 10:21:08 +02:00
Translation updater bot 01572419ca Localisation updates from https://translatewiki.net.
Change-Id: I192c70172651f27bb13f923c9f8a8868de9195b3
2019-08-30 10:05:43 +02:00
libraryupgrader 49ba810bea build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I79ddd701cc2cb2321b8dbb69ffee3c41c170b345
2019-08-23 08:51:22 +00:00
Translation updater bot dcda785577 Localisation updates from https://translatewiki.net.
Change-Id: Icd8259d2aa5c2d11e2f33de7064ccbbb49a3cd64
2019-08-20 10:28:51 +02:00
Translation updater bot 241f0d6e05 Localisation updates from https://translatewiki.net.
Change-Id: I6fc596d831850b39259aaf3168f61e9406bc7cc2
2019-08-16 09:19:42 +02:00
Translation updater bot 211db1c1f1 Localisation updates from https://translatewiki.net.
Change-Id: I787db4d8a029fb2b348ba0c6413223c691d507c8
2019-08-15 09:17:11 +02:00
Alex Monk 20d3c66c2c Follow-up Ia75d685c: Fix the insert file dialog
This appears to have been an oversight in the above change. Since the magic
words variable was no longer set, magicWordsI18N became null which broke
things, and caused whitespace info to not get recorded, which broke the
ability to handle the dialog being submitted too.

Bug: T230078
Change-Id: I5c44ed348de6ac2363d3d789b38053caa3935f62
2019-08-07 23:02:19 +00:00
Translation updater bot 811a21d1ff Localisation updates from https://translatewiki.net.
Change-Id: I8a87ccf9b9351376c89ca9eb6982505f444993ad
2019-08-06 09:12:10 +02:00
Roan Kattouw d23d096281 Convert ext.wikiEditor module to packageFiles
This allows us to bundle the wgWikiEditorMagicWords and
mw.msg.wikiEditor(?!) config vars that were previously exported globally
in the startup module.

This code is old and crufty, so this is a somewhat minimal conversion:
* Use require() for jquery.wikiEditor.{dialogs,toolbar}.config.js,
  and for jquery.wikiEditor.{dialogs,toolbar}.js
* Don't attempt to convert jquery.wikiEditor.js to something
  require-based, instead just run it and let it set the $.wikiEditor and
  $.fn.wikiEditor globals
* Consolidate ext.wikiEditor.{dialogs,toolbars}.js into
   ext.wikiEditor.js

Bug: T222828
Change-Id: Ia75d685cbde786e8fceb6db36f2436b2beea1499
2019-08-05 22:24:56 +00:00
Alexander Jones 05a6e4e6a6 Allow data URLs for toolbar icons
The autoIcon function now immediately returns the icon URL if it
begins with "data:".

Bug: T27223
Change-Id: Ib62f1f50f612ddae9b5f8fb4a6b59863a6da3c98
2019-08-04 19:30:55 -05:00
Alexander Jones 2075d6d2dc Pre-fill fields in image dialog when image code is selected in editor
This commit adds a function to parse image syntax selected in the
editor and uses the parsed data to automatically fill the fields
of the WikiEditor image dialog. Surrounding whitespace in the
selected wikitext is now included in the result. This causes an
issue with the ownline option in line 840, which appends an extra
line regardless of the post text.

Bug: T40829
Change-Id: Ib117a2e6350400f9298d4892a00981ac41f3dbbf
2019-08-01 00:34:06 -05:00
Translation updater bot e839d44662 Localisation updates from https://translatewiki.net.
Change-Id: I74fc244ae42c04f9f858fcc793c47cf66dc0d092
2019-07-29 09:16:27 +02:00