Commit graph

2176 commits

Author SHA1 Message Date
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
Translation updater bot dc2128ecf8 Localisation updates from https://translatewiki.net.
Change-Id: I1c12bca36342dea34660b1a377a28db60abe5457
2019-07-27 09:32:03 +02:00
Fomafix 3a306ff7fb Use lightweight mw.util.getParamValue() instead of mw.Uri()
Change-Id: I27eea6544a7dfe503d0cac1e24228eca9834ca95
2019-07-17 17:41:23 +02:00
libraryupgrader 2bdd0aa08c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I5f3648d07b489123b29fcf92b1d514cef5d24e54
2019-07-16 05:06:19 +00:00
Translation updater bot 774d3422f3 Localisation updates from https://translatewiki.net.
Change-Id: I47fb3443efb355d00a7d6146174cb201b9daeedd
2019-07-12 08:45:06 +02:00
jenkins-bot 145379966b Merge "Add arrow-up as indicator for the pinned menu" 2019-07-11 22:56:59 +00:00
James D. Forrester bc3c7cb634 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I51e3b37fb1fb858262a89a9a7754d30e51231517
2019-07-09 14:21:07 -07:00
Translation updater bot 355eae3909 Localisation updates from https://translatewiki.net.
Change-Id: I09cbc1b4735595e37ed70d2f6e583926563924ed
2019-07-07 22:42:03 +02:00
jenkins-bot 483bea4939 Merge "Log editor switches to visualeditorfeatureuse" 2019-07-04 19:30:48 +00:00
David Lynch 7bbbf1a886 Log editor switches to visualeditorfeatureuse
Also, avoid distorting the logging of abort when VE is switched to from
WikiEditor. Log it immediately, rather than waiting until the end of the VE
session triggers a page-unload.

Bug: T221191
Change-Id: I3ddccd8df973a289f3bcdc4cdc42df1ab23ce6a4
2019-07-03 23:36:23 -05:00
Translation updater bot 473940b4ad Localisation updates from https://translatewiki.net.
Change-Id: I54443869e01d659a5ddaf803f7549366cc744f65
2019-07-03 22:46:59 +02:00
Translation updater bot da3e4d9b88 Localisation updates from https://translatewiki.net.
Change-Id: Iedd81581f832d7e851116dd83887ceb0239c1060
2019-06-30 22:40:16 +02:00
Translation updater bot b48a1b9331 Localisation updates from https://translatewiki.net.
Change-Id: I7a440aa9370e1ab8871d838b9f2f338687695676
2019-06-24 08:40:34 +02:00
Fomafix d2e683f230 Add arrow-up as indicator for the pinned menu
Change-Id: I9a8afd8ec8f17c867f81889524a64b96b1d10568
2019-06-18 18:09:25 +02:00
Translation updater bot 73b346b432 Localisation updates from https://translatewiki.net.
Change-Id: Ie1b1e1cf05c6b127e08fe20f3668b067e1c0ed20
2019-06-16 22:36:59 +02:00
Translation updater bot ef4eeaf259 Localisation updates from https://translatewiki.net.
Change-Id: I82b43f50a4605bc39aa42a63b2ca897f13dee1cd
2019-06-13 22:40:59 +02:00