Commit graph

715 commits

Author SHA1 Message Date
Translation updater bot 33c210a349 Localisation updates from https://translatewiki.net.
Change-Id: Idacd35a636cbc1effde32455b6bab0909a2f2383
2020-02-06 08:19:00 +01:00
libraryupgrader 281dcf3f5c build: Updating composer dependencies
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Ie3ab138f99cb865d795e7d1c4f9821af561a0b9d
2020-01-29 02:08:29 +00:00
libraryupgrader e32818b63b build: Updating jakub-onderka/php-console-highlighter to 0.4.0
Change-Id: Ibe92637e655b9b32cfce97a93fe348dea2053f62
2020-01-28 07:24:52 +00:00
libraryupgrader 2a2e128b8a build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Id7bb1414cb804f0f0211c0f54c366855b0da6774
2020-01-14 04:19:26 +00:00
libraryupgrader bdacb69a78 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Idcbfc48cc1bcb792acacced0ac61243df54b556e
2020-01-09 04:47:14 +00:00
jenkins-bot d75911245e Merge "Revert "Directly use $wgTitle instead of relying on getContextTitle fallback"" 2020-01-01 23:31:56 +00:00
Legoktm 212477a083 Revert "Directly use $wgTitle instead of relying on getContextTitle fallback"
This reverts commit b3fb04b463.

The problem is *not* getContextTitle() - that's the correct
function to call here. The problem is that something is creating
an EditPage instance without calling setContextTitle() - that's
what needs to be fixed.

Change-Id: Ibc8280c7434bee4c4697142bcdbc1194f00c53c1
2020-01-01 23:16:28 +00:00
libraryupgrader d5ac28ddad build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I6704bc1b5fdeefd9b2b4476f38b2b4a5504a9cd8
2019-12-21 01:53:08 +00:00
libraryupgrader d5305d6ab2 build: Updating mediawiki/minus-x to 0.3.2
Change-Id: I7e1c402dd1415c497887d384722644069f60be56
2019-12-16 21:10:45 +00:00
Translation updater bot c13e3b2477 Localisation updates from https://translatewiki.net.
Change-Id: I681d6232c159b8efbaf594c035959f93ff40b78b
2019-12-13 09:27:49 +01:00
Translation updater bot a1b24747e5 Localisation updates from https://translatewiki.net.
Change-Id: I83160b01d6b36a13a5f6f2885559c3272392e169
2019-12-09 09:34:02 +01:00
Timo Tijhof c0c70a2312 Remove use of jquery.ui module aliases
Bug: T219604
Change-Id: Ia639ca6728ac23c14fa5b1a21317ddd3220c3727
2019-11-26 20:06:59 +00:00
Ed Sanders c4bc2c7d36 build: Update linters
Change-Id: I0c7b153461300840deb75c695f893b3b4a778dcf
2019-11-15 16:40:39 +00:00
Umherirrender 670e3d8190 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I2d187f75e8898bb0394f334a24430a3448de348d
2019-11-01 23:58:15 +01:00
Brian Wolff f8d9cdebdb Make CodeEditor compatible with CSP
Adds a "script-src blob:" directive on pages using CodeEditor.
This should allow using the blob-based web-worker that ACE uses.

This bumps the MediaWiki dependency to current master (1.35.0+).

Bug: T214743
Depends-on: I68054644220cd03bc96cf8ffb9c7ee375be77f96
Change-Id: I40612274a7e1d964119433442d992a8bf67f61af
2019-10-28 12:41:05 +00:00
Translation updater bot 4a6e3ba045 Localisation updates from https://translatewiki.net.
Change-Id: I850c2ecc70a8fcc89a4d9a984fc3e6c5ad24ac63
2019-10-24 10:41:49 +02:00
James D. Forrester 7b00222d50 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I68af0f46c6ae0d3be18871d661c32e67770388d5
2019-10-15 16:03:24 -07:00
Translation updater bot 3cdf93b439 Localisation updates from https://translatewiki.net.
Change-Id: If20edc00adff67a285849bc786a7268312d6f721
2019-10-08 09:32:03 +02:00
jenkins-bot 4134505cf7 Merge "Fix typo in comments" 2019-10-07 19:45:14 +00:00
Ed Sanders 3568d866bb build: Update linters
Change-Id: I93c5de0d4a2c3480f1c3ef39ac7394e1552eb631
2019-10-07 16:57:17 +01:00
Ammar 3eb4ef07de Fix typo in comments
"Seperately" → Separately

Bug: T201491
Change-Id: Ib7ce92f36db5abe447e38cda513acb580fab9007
2019-10-07 04:59:58 +01:00
Daimona Eaytoy b3fb04b463 Directly use $wgTitle instead of relying on getContextTitle fallback
This is apparently the only code relying on the fallback. Since it seems to do this most of the time, use $wgTitle directly.

Bug: T176526
Change-Id: I9edc7c3cb7b0f2b024873b2f6fbdb8c275225854
2019-09-30 17:38:56 +00:00
Translation updater bot d00963af56 Localisation updates from https://translatewiki.net.
Change-Id: I9fc30733880fa3bb2a31bda4fafb6a5c0ac02f85
2019-09-12 09:59:57 +02:00
Translation updater bot b86d4ae337 Localisation updates from https://translatewiki.net.
Change-Id: I69ed501ae0933677fb48c5c820a6e0e383c6e59c
2019-09-10 09:36:02 +02:00
Translation updater bot ab1c459608 Localisation updates from https://translatewiki.net.
Change-Id: I11616e2dcd8634418111db90caaa307cc404de51
2019-09-04 10:12:00 +02:00
libraryupgrader d359c2163b build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I841090e530044fe9a10dcfab842bf4a4cc58d073
2019-08-24 06:34:28 +00:00
libraryupgrader 329b82c1ae build: Updating lodash to 4.17.15
* https://npmjs.com/advisories/1065
* CVE-2019-10744

Change-Id: Idd40e0d758100b393ffb36bd12644ea86520c003
2019-08-01 18:56:10 +00:00
jenkins-bot e09b486175 Merge "Drop wgCodeEditorEnableCore, default on, pointless to disable" 2019-07-18 15:28:50 +00:00
Translation updater bot f312224037 Localisation updates from https://translatewiki.net.
Change-Id: I937a0db257a709a6cedc293d64430a58da659cb5
2019-07-18 08:52:54 +02:00
libraryupgrader 7ef50bcb3b build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* 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: I5e7a2681ada0bc8db97d780799b042a1c1cb61fb
2019-07-14 10:01:50 +00:00
James D. Forrester 988bc3c0b1 Drop wgCodeEditorEnableCore, default on, pointless to disable
Change-Id: I637ac6cc92183dbf73b6bb39d487c6d4099657be
2019-07-12 10:58:50 -07:00
James D. Forrester fd3f2bd2e6 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I586ed07d3fe3c2df1b1e040572e2bcbaf16a2238
2019-07-09 14:01:05 -07:00
Translation updater bot 3a9607ba46 Localisation updates from https://translatewiki.net.
Change-Id: I4aae8bb5c71e632ba4bcbe15c72760e7aba95239
2019-06-10 22:54:03 +02:00
libraryupgrader 0aaa235f6b build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ib027c268a5fdac5124a64915a620b97ae919d04c
2019-06-10 06:20:43 +00:00
libraryupgrader f3293c8a6a build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I49af3e3901457d68bd12c2e78dc4018480e771e3
2019-06-08 02:08:54 +00:00
Translation updater bot b30dcd80db Localisation updates from https://translatewiki.net.
Change-Id: I048a1fcbe9f48075e6ad245c8a78353be74d865c
2019-06-05 22:28:46 +02:00
James D. Forrester bb75af7b7c build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Ib4864319e95f58475dcc25e3bcf9dbb398b8d15b
2019-05-19 13:10:49 +02:00
James D. Forrester 169e97d8d3 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ia88e2eb429391182052aa09b3e0a4a81859ec778
2019-05-06 15:27:44 -07:00
Translation updater bot bfb8a3adb8 Localisation updates from https://translatewiki.net.
Change-Id: Ic1d591f318e6504b5c9bb6300da9c9544adf8843
2019-03-31 22:16:12 +02:00
Ed Sanders 5cac43ddd3 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I99fd10fbcce5d5e6b87b6e3faeb7b18c4e573ef7
2019-03-13 22:38:54 +00:00
libraryupgrader 60f5dd35d6 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: Id7df3b0116c11bdac000933ce61d7c5fad05d4f1
2019-03-11 02:28:29 +00:00
Translation updater bot 75b89e7ccf Localisation updates from https://translatewiki.net.
Change-Id: Ifff72da1073f0f52abc8207139c54a763d967027
2019-03-03 22:17:28 +01:00
zoranzoki21 b22a552157 Upgrade CodeEditor to use newer version of phan
Bug: T216913
Change-Id: I8f200ffa0887b5f983adb151ab9de517f9c4bc4c
2019-02-28 18:17:13 +01:00
Translation updater bot 19c83cd110 Localisation updates from https://translatewiki.net.
Change-Id: Ica8d5fe36ff71de1c75bdbaf99403bea5899e38e
2019-02-10 22:18:28 +01:00
libraryupgrader c57ed17dc0 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ib6846bf3f466cc93dbc4ed1e93fb2b9f0b6394b5
2019-02-06 11:38:08 +00:00
Derick Alangi 92c432ab83 Remove "return true" legacy behavior from hook handler functions
Change-Id: Ie33721116c5ae665f45ed0a8baeace031cfeca89
2019-02-02 10:06:40 +01:00
Derick Alangi ef09440a94 Fix PHPDoc comment @return for CodeEditorHooks methods
Should return "true" (as there is no case for false) and not bool.

Change-Id: I2badcbb3b06c8a9593908b064629bfef8ea82488
2019-01-16 14:46:28 +01:00
Translation updater bot 0d20ebd9dc Localisation updates from https://translatewiki.net.
Change-Id: Ia159d1f544f30aabd0e0550db04b393d739bb295
2019-01-01 22:20:24 +01:00
Kunal Mehta f1a81a1370 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I60b236c249ab7602f474f5d6d4f5e94a8446c11c
2018-12-17 18:54:08 -08:00
Fomafix 6aa0a7016a Add typehints to function parameters
Change-Id: I820f7be8486c2f5d560eabe84629dd41db774735
2018-12-16 12:04:49 +01:00