Commit graph

302 commits

Author SHA1 Message Date
libraryupgrader 9d4e2b7e18 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I2ca01d63b64264aa66eade546e638353808517ee
2021-04-14 00:44:42 +00:00
jenkins-bot 69e095195e Merge "Remove php entry point" 2021-03-14 16:10:09 +00:00
libraryupgrader 786ca91075 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: Idb62cc146f2757d7b3483770409cc1eff3457b99
2021-03-14 07:53:47 +00:00
Umherirrender 904eee29a3 Remove php entry point
Deprecation notice since I2a4481584972c1b977e26fe98ee7618bef172b93

Bug: T140850
Change-Id: I89439fde1420fb3861504a1b300eb2761fd9328a
2021-03-13 00:06:55 +01:00
libraryupgrader a60c74a595 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ied224b3952444f65adb3127045ac12eacccb71d0
2021-03-07 15:05:03 +00:00
libraryupgrader 453d749f2f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I93628ff2a92d30ecd1ce0bfadf8c44fad750dd3f
2021-01-30 08:00:21 +00:00
Translation updater bot 088427b1e6 Localisation updates from https://translatewiki.net.
Change-Id: Ie3ea3f2e606cbb672f271d3249eee026043efb11
2021-01-14 08:50:59 +01:00
libraryupgrader 9f6a053787 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I3cc377b3f04ad18e51d4aa0c9ba155eadb60cf5d
2020-12-20 00:26:22 +00:00
libraryupgrader 508d9b7e06 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: I56df8e2b55b8af22cf7b20ad3c8b014664af1519
2020-12-11 03:48:15 +00:00
libraryupgrader e2c5fe92cb build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: Iecce62017e89049a63c50f4ff4f163ac4a161a66
2020-12-06 22:18:51 +00:00
libraryupgrader 65a19a17f1 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: Ie2ac108064e2b8727cb03ee9b4c6c6ecfa5734db
2020-11-20 12:47:34 +00:00
libraryupgrader 65afffaed8 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).

Change-Id: I6c7f15986505db7a64b6dde711f7ce6c4bfef901
2020-11-04 08:07:17 +00:00
libraryupgrader a3f4c2252e build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I05561761941a9b8e3af356322f7d8ffb38f146bb
2020-09-25 07:31:45 +00:00
libraryupgrader f20d99b0a0 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: Ifd21950f84fcfb1931fa68172ee67477db99164e
2020-09-04 12:50:48 +00:00
libraryupgrader b66a8809d3 build: Updating grunt to 1.2.1
Change-Id: I0b4e02df508e02786e71125e12ded3072f4e0678
2020-07-18 20:39:15 +00:00
libraryupgrader 1976229b0d build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: Ib5499572d22fd100e157171987a3528a80a9891a
2020-07-17 03:02:48 +00:00
C. Scott Ananian 5337f7927a Sync up with Parsoid poemParserTests.txt
This now aligns with Parsoid commit 7321ab547b7663ba86c1cfe0bc021ff1918c0970

Change-Id: I046691873d024d86b0fd33122cf866479fa709dd
2020-07-15 11:42:37 -04:00
Nikerabbit 447d8b7a3a Revert "Localisation updates from https://translatewiki.net."
This reverts commit 057fcf9232.

Reason for revert: Broken export

Change-Id: I698a7bef7f490e62fa1fef1de3891ea631763309
2020-07-13 11:57:31 +00:00
Translation updater bot 057fcf9232 Localisation updates from https://translatewiki.net.
Change-Id: Ie076cf2a0de8fa1d40039f92d3c59f5f22b22f19
2020-07-13 08:44:50 +02:00
libraryupgrader 3e60834692 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ib139487efe948285a219f5aa1d12bf2f7c4e77d5
2020-07-10 23:12:11 +00:00
Huji Lee 50d6f5b39b Indentation should be based on content directionality
This will knowingly not work for Internet Explorer, as the only
major browser that does not support margin-inline-start

Bug: T254051
Change-Id: I1db5dd165bc21eca49746cc6981c2fbd44d9a7f2
2020-06-25 15:37:58 -04:00
Thiemo Kreuz fc02062ece Inline preg_replace callback functions
No need to have them on the class level. PHP supports closures for a
long time now.

Change-Id: I124f2b3f706e5f7266a8b3236dd5de9fef792db5
2020-06-12 18:18:29 +00:00
Thiemo Kreuz 28006eef6c Fix indention syntax for empty ::: without no text
Before, the behavior on ::: with no text after the colons was very
unexpected. The last colon was not considered syntax, but became
visible as plain text. This is not how the ::: syntax behaves outside
of <poem> tags.

There are multiple ways to solve this:
* Use all ::: for the indention. However, what's the point of
  indenting *nothing*?
* Remove the ::: and display an empty line. However, why should we
  silently *remove* syntax that was put there for a reason?
* Do nothing, and let the Parser decide. This is what this patch does.

The extra ++ is a "possessive quantifier". It disables backtracking
at this point.

Change-Id: I2e046ed40121b5d78f3361b3e263f3a561c83a71
2020-06-12 18:17:33 +00:00
Thiemo Kreuz 9fed6d3bee Use much faster str_repeat() instead of str_replace()
This is about 50 (!) times faster. Not that it matters much. We don't
expect massive amounts of intentation here. Still, if we can easily
save some CPU cycles for many thousand wiki pages, why not?

Change-Id: I99b2b635268eedd7a6c0db73a68fb0532467e77e
2020-06-12 16:10:06 +00:00
libraryupgrader 434b9eead3 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I34f9315e2af36f8c9e85f2ad5525e2b0b0fb5d63
2020-06-09 13:09:18 +00:00
libraryupgrader d9edc022fe build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: Ia9eb5a9e4914584b46b6de463f05d54ff4190d85
2020-06-01 22:56:13 +00:00
libraryupgrader d768d997e3 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I7d9c54dca300f6ee119fb63f7f82c019ab9c1f98
2020-05-31 10:16:00 +00:00
libraryupgrader 81684e3ba9 build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Ic77c141aee22af68585831d8a0d342e6b1453561
2020-05-30 04:55:42 +00:00
Translation updater bot ec4fbb6b6f Localisation updates from https://translatewiki.net.
Change-Id: Iacde960020e0df288d4255fdd432c3eeeea635b3
2020-05-25 08:40:39 +02:00
Reedy 43cdfdb4e9 Convert to manifest_version 2
Bug: T252470
Change-Id: I8b8caffb2a07c6e5ea0e30a06e92713396342f6d
2020-05-11 16:48:31 -07:00
libraryupgrader 23bd68e266 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I10c033e7cac38c0e9f67dfab7ab1df8616926c05
2020-04-22 16:47:14 +00:00
libraryupgrader 5f1ee160ec build: Updating grunt-banana-checker to 0.9.0
Change-Id: I863816984239638e37807828313fdf10a5e6fe20
2020-04-19 15:29:56 +00:00
Translation updater bot e2711149a9 Localisation updates from https://translatewiki.net.
Change-Id: Idddcbc3790979a24095ec2173bf9231c95823179
2020-04-07 08:47:23 +02:00
C. Scott Ananian abd0672045 Update Poem parserTests to v2 (tidy by default)
Bug: T249139
Change-Id: I9c8acb05fdf2c79f618f0f317d511df77f26ec3b
2020-04-01 13:10:28 -04:00
C. Scott Ananian f8efe714c7 Sync up with Parsoid poemParserTests.txt
This now aligns with Parsoid commit b4f56a9d2786d9cb98bdc352a72597c5d8d4f849

Change-Id: Ib5d77a2038fcab9b4751291507f429c013eed2aa
2020-04-01 13:04:14 -04:00
libraryupgrader e113e34041 build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: I4fdcbf67cd6098c668434ee88fc37c3af2d2f883
2020-03-21 05:06:20 +00:00
libraryupgrader b7cdda91b2 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I2584ea3c7c40156654d3dde7a373fb406d540bd2
2020-03-19 05:06:36 +00:00
libraryupgrader f255c0a0ec build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I67ccdb59edd4af0578d22b603f88d06aae8563c5
2020-03-08 10:41:44 +00:00
libraryupgrader 66f6d8af9f build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: I009de0785aff5fa99e042fd77508252ae98ea582
2020-01-30 00:17:59 +00:00
libraryupgrader 9133e04b00 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I734d70580aa205de1fbf4e0503524923e4e70223
2020-01-14 10:55:31 +00:00
Umherirrender 3ad16fe296 build: Remove unneeded exclude from .eslintrc.json
This reverts parts of commit 6141f5d150.

Change-Id: Ie5f004ebb60052acbc20d4587e2747e16e2e8413
2020-01-08 19:24:41 +00:00
libraryupgrader 6141f5d150 build: Updating npm dependencies
* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.12.0 → 0.15.0
  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.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I72c7c4706e0d2930daa60b481310f0ff95aa7408
2020-01-08 03:33:16 +00:00
libraryupgrader a4f033eb8b build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I3f55f06324167e9391ef6e563018d10ee5c03916
2019-12-21 22:50:45 +00:00
libraryupgrader 54f9e69424 build: Updating mediawiki/minus-x to 0.3.2
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I04c1dd159a935a7a2c261fb3582d672082182bb8
2019-12-17 22:59:59 +00:00
libraryupgrader 8aacbcd6ca build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I22c2102caa51687fdc6af4912559e66d4a367ded
2019-12-14 14:28:29 +00:00
Umherirrender eb4ed13e90 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I8916a5ff880dabe93acb57f6c19b9c4a739e929b
2019-11-04 18:47:01 +01:00
James D. Forrester 905aec1725 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I057817af3dac86fac1c2a31a6c6da7f8ad1fd06f
2019-10-11 11:12:45 -07:00
libraryupgrader 1737b3c301 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I6695c8b445b5a4309939106023ec9a6f8ba43a84
2019-08-23 02:12:49 +00:00
libraryupgrader 5d96cf2304 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Additional changes:
* Committed package-lock.json (T179229) too.

Change-Id: If89203c8a9357dd3823a3003106a2b5afbea08c5
2019-07-14 15:15:35 +00:00
James D. Forrester d4e9fb6886 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I4776fd4d98be963bb42ce5b5878729b107f46342
2019-07-09 14:14:27 -07:00