Commit graph

2308 commits

Author SHA1 Message Date
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
Translation updater bot f103fb1fce Localisation updates from https://translatewiki.net.
Change-Id: Idc6387d72a1924a55d63c2f383201f60d75b2672
2019-06-10 22:56:14 +02:00
libraryupgrader 0ff2d51f50 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ia57a2ddd64f210613d51c0e11634c5d43a3e279a
2019-06-10 12:43:24 +00:00
libraryupgrader a1277d9175 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I7d5d8521d32fd28228a6bb6630d7f6d83510c481
2019-06-09 04:32:34 +00:00
Translation updater bot c9c6887334 Localisation updates from https://translatewiki.net.
Change-Id: I0af0b90402ae92750032b368e76bd9aa437de758
2019-06-06 22:49:23 +02:00
Translation updater bot 5993f0ab7c Localisation updates from https://translatewiki.net.
Change-Id: I10e39df15b669d74ef24b11f0250c6f8cc0dd291
2019-06-02 22:31:20 +02:00
Translation updater bot ebcd67c199 Localisation updates from https://translatewiki.net.
Change-Id: I2669347bd6e6582b95eab239e6b43ae7d3bc2008
2019-05-30 22:54:46 +02:00
Translation updater bot f44c65c1ab Localisation updates from https://translatewiki.net.
Change-Id: I5847cea6e2cebb0f15d4e76f164a3c146acf11f0
2019-05-26 22:23:50 +02:00
Translation updater bot bd6755f796 Localisation updates from https://translatewiki.net.
Change-Id: Ie3cfa7b3c2328b3371d0afa5cc0870b601fa8ae6
2019-05-22 22:32:23 +02:00
Translation updater bot f7b26e9d65 Localisation updates from https://translatewiki.net.
Change-Id: I4430aad74b1c28cc3df66019507d0632038ba27d
2019-05-20 22:31:35 +02:00
jenkins-bot 7c75285577 Merge "Search: Add option to search whole words" 2019-05-19 18:21:54 +00:00
James D. Forrester 1a39fb8135 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Id645c6beaefc79741af276f2f508e45d1eaa7532
2019-05-19 13:40:41 +02:00
Derk-Jan Hartman f501cdc9c6 Search: Add option to search whole words
Bug: T24478
Change-Id: Idb47ac392b0f8b1425053c6916db8f25c11c9762
2019-05-15 22:03:54 +02:00
jenkins-bot afc974e1d2 Merge "Remove mentions of schema.* ResourceLoader modules" 2019-05-15 08:42:09 +00:00
Translation updater bot 9aa22c92fd Localisation updates from https://translatewiki.net.
Change-Id: Ifd3636da394169b6794590ab926fc7cc388731c7
2019-05-15 09:15:20 +02:00
Dan Andreescu 7d61121793 Remove mentions of schema.* ResourceLoader modules
These modules are deprecated and will be removed, see parent task for
details and deprecation information.

Bug: T223286
Change-Id: I72a1ab68f94842b2fa9bcd84c21ea736a48e0614
2019-05-14 21:19:34 -04:00
Translation updater bot ef6b6b70be Localisation updates from https://translatewiki.net.
Change-Id: Ia3324e468eadb4a6b87dc210a4435f071e7e4914
2019-05-12 22:34:33 +02:00
James D. Forrester b374d6beed build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I4c82af69580292b91177fb1021908613292de5da
2019-05-07 11:30:32 -07:00
Translation updater bot d1ad4ec5d4 Localisation updates from https://translatewiki.net.
Change-Id: I2782de3ddb6a375c1b97be7a8c0aa5a49d4b25c6
2019-05-01 22:30:38 +02:00