Commit graph

1049 commits

Author SHA1 Message Date
Translation updater bot ce6d640140 Localisation updates from https://translatewiki.net.
Change-Id: I938b631eaaa4ae7b8f908263d4ee370438d24636
2019-12-16 12:14:03 +01:00
jenkins-bot 12bd529229 Merge "Allow Parsoid to provide category ID hints" 2019-12-10 22:59:08 +00:00
C. Scott Ananian 551a1fb398 Allow Parsoid to provide category ID hints
This eases deployment dependencies by allowing Parsoid to supply an
appropriate database category ID so that new lint categories can be
appropriately stored during the interval between adding a new lint
category to Parsoid and deploying an Extension:Linter patch to
describe it.

Change-Id: Ib7b2342168fa53ca2abac7d5f54fe313be341eb7
2019-12-03 23:26:34 -05:00
C. Scott Ananian 8ff7599550 Don't crash RecordLintJob if the lint info doesn't contain params
We will crash trying to set `templateInfo` if it is present and `params`
is not.

On line 49 of RecordLintJob we're going to use `$errorInfo['params']`,
which will crash if `params` is not present.

Change-Id: I505c676cc0ccd8d54e44e65b04b10c2de03ee37c
2019-12-03 23:19:14 -05:00
Arlo Breault 40f0b3cef9 Implement ParserLogLinterData hook
Bug: T238456
Change-Id: I3e05d1c113b18c83db02c7e500d5834e931afb7f
2019-11-27 13:51:01 -05:00
Translation updater bot 9916d63656 Localisation updates from https://translatewiki.net.
Change-Id: Idef9719f13683084a691a1de22e0f400edf4d764
2019-11-18 09:23:46 +01:00
Translation updater bot f46f7bd4f5 Localisation updates from https://translatewiki.net.
Change-Id: I57ec264ba6b2d633aa940d14df25e7e07992e9d5
2019-11-11 14:49:52 +01:00
Translation updater bot 67cbb35b42 Localisation updates from https://translatewiki.net.
Change-Id: Ia76f98a767589fbe7df35ba0e7814e798e106efd
2019-11-07 09:43:19 +01:00
Translation updater bot 11f717e970 Localisation updates from https://translatewiki.net.
Change-Id: I2a56be0b3c56165e94b9530caf05fade93ea7424
2019-11-05 09:46:00 +01:00
Translation updater bot 51000bf749 Localisation updates from https://translatewiki.net.
Change-Id: I2dfbcc8bc24bf92c8f8f2b3e142df813bb6038fe
2019-11-04 10:16:31 +01:00
jenkins-bot 3a9b764315 Merge "build: Updating npm dependencies" 2019-10-22 09:51:27 +00:00
Max Semenik c87c38eb20 tests: getMock() is deprecated
Bug: T192167
Change-Id: I0513626d69ee7fbfac40f3d648865e7bb9e23421
2019-10-21 22:15:34 -07:00
libraryupgrader 7b209c4f58 build: Updating npm dependencies
* grunt-banana-checker: 0.7.1 → 0.8.1
* eslint-config-wikimedia: 0.13.1 → 0.14.3
  The following rules are failing and were disabled:
  * brace-style
  * camelcase
  * eqeqeq
  * max-len
  * max-statements-per-line
  * new-cap
  * no-alert
  * no-console
  * no-constant-condition
  * no-dupe-keys
  * no-empty
  * no-implicit-globals
  * no-jquery/no-global-selector
  * no-mixed-spaces-and-tabs
  * no-redeclare
  * no-tabs
  * no-undef
  * no-underscore-dangle
  * no-unused-vars
  * no-use-before-define
  * no-useless-concat
  * one-var
  * valid-jsdoc
  * vars-on-top

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ia589740d8d63eb5d6c3f2add26539ab5f38ac039
2019-10-22 05:11:03 +00:00
Translation updater bot 9c280df134 Localisation updates from https://translatewiki.net.
Change-Id: I13304c66b61bcf8ddd0d2c0577f8aa4a3ddc6959
2019-10-21 09:59:44 +02:00
Daimona Eaytoy 12065c11ca build: Bump mediawiki-phan-config to 0.8.0
Change-Id: Icbe64747c8c219882d419f4767704af96368b11a
2019-10-20 12:16:57 +00:00
James D. Forrester 0cbd696ad1 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I317550321c4372140565a16afc29069635874b22
2019-10-11 10:34:45 -07:00
Translation updater bot ee820568b4 Localisation updates from https://translatewiki.net.
Change-Id: Id317c3a644916c66e8b22addf46ad8adb278f628
2019-10-08 09:33:29 +02:00
Translation updater bot e944fc1a4b Localisation updates from https://translatewiki.net.
Change-Id: If6614daee8a83e0caeca55f171c85fc7005ec894
2019-10-02 09:21:59 +02:00
Translation updater bot ac79157cab Localisation updates from https://translatewiki.net.
Change-Id: I216033e2dc443606215339659c85ab31014dc703
2019-09-17 09:08:30 +02:00
Translation updater bot 2bed81e981 Localisation updates from https://translatewiki.net.
Change-Id: I51c029ad00e96f603c063612b34f13ec9dfcbe6c
2019-09-16 09:56:02 +02:00
Translation updater bot 931a8b099f Localisation updates from https://translatewiki.net.
Change-Id: I0ad503895c114b0f34e1cd301f738fa4c6fc478b
2019-09-12 10:02:51 +02:00
DannyS712 3d33f7f1e0 Add invert namespace option to Special:LintErrors
Bug: T172703
Change-Id: I7e33ae6f5f79b7803a22968a7d8c49795e5bffbd
2019-09-04 18:56:48 -04:00
Translation updater bot 128fa7bab6 Localisation updates from https://translatewiki.net.
Change-Id: I67ef9461e50a7fa18fccf073cdf2572c8d6b6c0e
2019-08-25 10:30:16 +02:00
libraryupgrader 3ee6d7227f build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I53d1746628b11ef219776279903cd8e634970d92
2019-08-24 10:38:31 +00:00
Translation updater bot ddb8e4c6e4 Localisation updates from https://translatewiki.net.
Change-Id: I687ec171f379e7119194f8bca040d6cac2f77727
2019-08-21 10:06:17 +02:00
Translation updater bot 96a5933931 Localisation updates from https://translatewiki.net.
Change-Id: Ifbe98fedbe8d45705786020bb32150ce5098002d
2019-08-05 09:41:37 +02:00
libraryupgrader 6d07f7367a build: Updating npm dependencies
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* eslint-config-wikimedia: 0.11.0 → 0.13.1

Change-Id: I834bb39b8c4417465019a0e4ebd5410f8038f0b8
2019-08-01 06:49:45 +00:00
Translation updater bot 1585e860cf Localisation updates from https://translatewiki.net.
Change-Id: I937c26a4cd41cc529dcd1952aa2ce8e9163dda04
2019-07-23 08:54:26 +02:00
libraryupgrader 3021acbd3b build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2

npm:
* grunt-banana-checker: 0.7.0 → 0.7.1

Change-Id: I6ba146a57ba12b9cd75d2bd30951c9f6d7b00e6a
2019-07-14 13:11:34 +00:00
Translation updater bot 5c8b9cbddb Localisation updates from https://translatewiki.net.
Change-Id: I0c4ccd9d1ccacad48d592a9c5f732de07e1a440a
2019-07-12 08:44:00 +02:00
James D. Forrester da03b3f844 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I377a62ce4251430bd7436f90d970fe7123dcdef2
2019-07-09 14:09:33 -07:00
Translation updater bot 36f4a8c2b2 Localisation updates from https://translatewiki.net.
Change-Id: I75e3de8c2b2c0d8da6a7ff488f38fd31c6abb66e
2019-07-07 22:40:11 +02:00
Amir Aharoni 243604ffc6 Split apihelp messages to a separate file
Bug: T189982
Change-Id: Ie06eb176da9257816057d2a9af2a793dfe169689
2019-07-04 15:38:00 +03:00
Translation updater bot 485ff7496f Localisation updates from https://translatewiki.net.
Change-Id: Ifad94edb962e80d7ee27e1e786dbaab3bf3598f4
2019-06-30 22:38:28 +02:00
jenkins-bot 59ac923b86 Merge "Handle VisualEditor when it skips the "tempWikitextEditor" stage" 2019-06-26 20:18:00 +00:00
Translation updater bot f467389958 Localisation updates from https://translatewiki.net.
Change-Id: I29c5cfc3e52cf54c0ff9c0d62c06b65d6efcd5e5
2019-06-13 22:39:39 +02:00
Bartosz Dziewoński a51f750f83 Handle VisualEditor when it skips the "tempWikitextEditor" stage
Depending on the user's internet connection, the code that sets up
mw.libs.ve.tempWikitextEditor may be completely skipped if the normal
editor code loads fast enough.

Refactor the code to handle all three cases using the same function.

Bug: T185279
Change-Id: I003b27f838d1986ed8d238089efd657b96e8ec91
2019-06-11 17:29:29 +02:00
Bartosz Dziewoński 6d0c6b6730 Fix VisualEditor (NWE) integration
The hook has been renamed from 've.tempWikitextReady' to
've.wikitextInteractive' in patchset 2 of changeset
I3678996bcf644cc889dd168ac3ce48b5c3633ec1 in mw/ext/VisualEditor,
but changeset I31a21e10b3fcd88fbce6881475f02a9d37df39c2 in this
repo was merged without being updated for that change.

Bug: T185279
Change-Id: I3256b0eb999e0259c3706697cd6a50459278af61
2019-06-11 17:28:11 +02:00
libraryupgrader a3f991fe2b build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I2298423d6157fb2ac0acf39f5dd2c3841f61f5b8
2019-06-10 04:39:46 +00:00
Bartosz Dziewoński d18262cfa1 Scroll the textbox to selection (error location) on page load
Only doing 'setSelection' doesn't guarantee that the textbox will be
scrolled (it works on Firefox and Edge, but not on Chrome and IE).

Bug: T152760
Change-Id: I3fab6363cd432d137430884eaca3555a7bf5aafa
2019-06-09 19:37:15 +00:00
libraryupgrader 86620b72be build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: I45e94374b6d23845093407c5682f60e3038ff22b
2019-06-07 17:52:45 +00:00
libraryupgrader cd1439ca69 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Change-Id: Ied01c772511b4333f947c232f02cc2aa641ca69e
2019-06-07 12:28:00 -04:00
Kunal Mehta 5bea96cb43 Mark RecordLintJobTest as Broken
Change-Id: I3fa2cd4049a3d4ba3065b56343e63ab0b093ee94
2019-06-07 12:27:38 -04:00
Translation updater bot 0414579202 Localisation updates from https://translatewiki.net.
Change-Id: I7014c49e851a195b0375a835587750cb38d3f9a1
2019-06-02 22:30:03 +02:00
James D. Forrester 35ac81fe30 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I9cf4d5de65f3edacfbe1878b57d5a76f6f8f034a
2019-06-01 06:49:32 +00:00
Translation updater bot df0898cfea Localisation updates from https://translatewiki.net.
Change-Id: If363f492c494a95e1df430e237fc29955aec9e09
2019-05-30 22:53:34 +02:00
Translation updater bot cc910d0a43 Localisation updates from https://translatewiki.net.
Change-Id: I9c1b0b580d63eeffc7a5601008e43845ea2698ad
2019-05-10 09:19:54 +02:00
Translation updater bot 161e131a69 Localisation updates from https://translatewiki.net.
Change-Id: I1db0d403cc549bdda38de2c4950d171be7dcb553
2019-04-30 22:18:18 +02:00
Translation updater bot 57134ee545 Localisation updates from https://translatewiki.net.
Change-Id: Ibe788158eb1684e6cdd0d007eac34f33d742b072
2019-04-29 22:15:56 +02:00
Translation updater bot 7eabcd138b Localisation updates from https://translatewiki.net.
Change-Id: Iecc4b1342852a0905f8b891d1abfa3cb83bd74de
2019-04-22 09:23:36 +02:00