Commit graph

270 commits

Author SHA1 Message Date
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
libraryupgrader 22c22c3a01 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I1ac6dd739fc4786753bfc5b8df742dd6df3403b7
2019-06-10 10:02:48 +00:00
James D. Forrester c6307cb166 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I3d95af5fb12f093066fb63b090b8a8f9154d6050
2019-05-19 13:27:39 +02:00
James D. Forrester f4b2c211ab build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I7db87611b98322f419b01f4f0ad89500c7e5efdd
2019-05-07 10:23:23 -07:00
James D. Forrester 3ce9e39bc3 build: Install eslint
Change-Id: I61bcee70cf88b63f2d85ba46f2d66a83589cecaa
2019-05-07 10:22:35 -07:00
libraryupgrader 613f6f68d4 build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I1d485d6ffd9a8fe7031ee73b634af25628d75c12
2019-03-10 22:21:32 -07:00
zoranzoki21 eca8be4d97 Upgrade Poem extension to use newer phan
Bug: T216936
Change-Id: I0b5286df33cd08ea6c35e40dd5bb76e7860ea2d6
2019-02-24 17:35:04 +01:00
libraryupgrader b34643e1f5 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I31dfd6ec3d95671089dee50674203acb9ad94b6e
2019-02-07 03:03:14 +00:00
Translation updater bot 9fa3dc9424 Localisation updates from https://translatewiki.net.
Change-Id: I4e093c8736623aa870f00a209609cddccf733f0a
2019-01-08 22:29:59 +01:00
libraryupgrader 9e40e58060 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I84bdeeee50264d874d9f845fca1f8674b96cee54
2018-11-16 07:33:01 +00:00
libraryupgrader a3de713e60 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I8c26874ef51e6ae867b9b85b26d4ac9f6058e617
2018-10-11 10:18:57 +00:00
libraryupgrader 403f6fce73 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I6c8e4130381ffd649d314046b7b7d2c3c57ce001
2018-09-08 04:53:19 +00:00
libraryupgrader fa9ee4c8e0 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I2a2418a556ec1c0c4ac92796c5bbb78afb2c45c6
2018-09-03 09:19:37 +00:00
libraryupgrader f5ce25f814 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I47749d747876a0adc8706e84b4fa75dfab831142
2018-09-01 13:12:59 +00:00
Fomafix e93c632bc8 Start showing warning for deprecated PHP entry point
Change-Id: I2a4481584972c1b977e26fe98ee7618bef172b93
2018-08-28 20:45:20 +02:00
libraryupgrader 8f429273c4 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I1f265b937a00c6fc926040528c545b218f3aa8eb
2018-08-19 15:34:58 +00:00
libraryupgrader eec061b35e build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Change-Id: I2d195d11aa432bd880837621c447449c6e89725f
2018-07-27 13:27:47 +00:00
libraryupgrader 6dd0422dcb build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I69c15ad2e2dc73ef4184653dfc43102f70fecaa2
2018-06-08 07:36:38 +00:00
jenkins-bot a8932c74bd Merge "No <br /> tag after <hr /> tag to avoid extra space" 2018-06-05 15:10:00 +00:00
libraryupgrader d160ac6796 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I4a5fa6560b214bca8b4ef259febca12fe4cb8eaf
2018-05-26 05:48:25 +00:00
Subramanya Sastry bc7b145051 Update parsertests to use newer test format + tidy html always
Change-Id: I7f04dc28d11048c2b5794b1ef27d08cde1e62f13
2018-05-22 08:35:20 -05:00
Thiemo Mättig 1f6bce0d49 No <br /> tag after <hr /> tag to avoid extra space
if <br /> tag is present after <hr />tag this change replaces both with <hr /> tag. as per Thiemo's patch I8021b2c sugesstions.

Bug: T124144
Change-Id: I9239da4538e189fc825e72668a3cbd8325ac2ca4
2018-05-18 13:19:57 +00:00
Kunal Mehta 8552303267 Upgrade phan-taint-check-plugin to 1.2.0
Change-Id: I38ce057fc41a0164922f403b77d998df2b4f1099
2018-05-04 19:53:10 -07:00
libraryupgrader 1d68da3505 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I0e7958bdede6c195a40030e65b3ff4779bbfb569
2018-04-14 05:28:45 +00:00
Kunal Mehta 9c4ca01661 build: Updating mediawiki/mediawiki-phan-config to 0.2.0
Change-Id: I68e102d81e3d72d4f434622a47c32a564f4e2a74
2018-04-05 17:21:00 -07:00
Thiemo Mättig 870611c0bb Cleanup and streamline Poem class
* I think the dependency on a more recent PHP version was forgotten.
  Notice how the code already contained short array syntax.
* Make the @license more visible in the class itself.
* I'm intentionally only listing the original @author. Copying this
  author line was forgotten in Ieea24d5.
* Remove not needed "return true" from the hook handler. This is the
  default anyway.
* Use the …::class feature when possible.
* Remove the unwanted &$parser reference. This is only here for legacy
  reasons, but does not make any sense any more (Why would a hook
  handler want to replace the *parser*?), and can be removed from
  callees (not from callers) with no consequence.
* Add strict type hints to function headers for type safety. I checked
  the caller in Parser::extensionSubstitution() that will call
  Poem::renderPoem(), and it is impossible for the Parser to be null,
  and impossible for the frame to be false.

Change-Id: I4b4203bf1cef0c057db5e6a7747d441d0b0e4b54
2018-03-29 19:47:39 +00:00
libraryupgrader dfce621da1 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: I40d7b6a874fb9ebf3d9ae1bc0b301f8f7b3747b1
2018-03-29 05:06:16 +00:00
Translation updater bot e4688afeb3 Localisation updates from https://translatewiki.net.
Change-Id: Idab641a4688f5750b82bd70c42132c081d9e78fe
2018-03-13 22:23:55 +01:00
libraryupgrader 7aa43cc080 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I885d11df575232b0793ef6e5c605ce3db8211ab6
2018-03-10 02:11:42 +00:00
Jayprakash12345 2ad483d747 Move parser tests file to normal location and add a styled one
Bug: T188527
Change-Id: Ib5023c7656e7f27ba58a99da3c2659e18674ac5a
2018-03-05 18:29:56 +00:00
libraryupgrader 9ef98cba2d build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I5a6ad4729752d2edf0ca6622553c784839652819
2018-02-25 10:34:38 +00:00
Kunal Mehta fe52b2318a Add phan configuration
Change-Id: I2479f6ae40cfa410bed3e75a3c3da9bfaf66e41c
2018-02-24 16:53:45 -08:00
Kunal Mehta 1266a9fd0d Move class into includes/
Change-Id: I8e298debf7da3c64769f13aeda91a29646536e3c
2018-02-24 16:51:46 -08:00