Commit graph

1633 commits

Author SHA1 Message Date
James D. Forrester 57d561a797 phpcs: Enable MediaWiki.Commenting.PhpunitAnnotations.ForbiddenExpectedException and make pass
Change-Id: I5a0fc6dc753e3d3a0192647304d4b02e467f23a5
2019-10-12 03:10:31 +00:00
James D. Forrester 2b6468c63f build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: Ibe33db60a29d5b8967e76bee0e8a7a5730dd0525
2019-10-11 11:09:10 -07:00
Translation updater bot 23f37aa7ac Localisation updates from https://translatewiki.net.
Change-Id: I1f4849ed40d2c89ab705d9233c1b23129108f57b
2019-10-08 09:34:06 +02:00
Translation updater bot 4de6f30b9b Localisation updates from https://translatewiki.net.
Change-Id: Ic1bf9fd057d8367b5c1567a18c1b79ae16200729
2019-09-30 09:20:27 +02:00
Translation updater bot d9bee7a095 Localisation updates from https://translatewiki.net.
Change-Id: Icf3c0def6b53db72471b20d1c8f2edae697c85bf
2019-09-24 09:58:34 +02:00
Translation updater bot af10a23ef3 Localisation updates from https://translatewiki.net.
Change-Id: I0166c591dd00a82c394c9bfbece1c021a5b15313
2019-09-13 10:20:03 +02:00
Max Semenik 1e8444fad1 Improve ExprParser test coverage
Had to change a bit how ExprError is used, to prevent having to turn unit
tests into ingergation tests, adding 5 seconds to run time.

Change-Id: Id4e158f3a4418d320b1c0bdac834ebbba03762af
2019-09-05 15:37:21 -07:00
Translation updater bot d420b96d09 Localisation updates from https://translatewiki.net.
Change-Id: I550c525119ba756b7c18f49ac19f22a0b76d2d1b
2019-09-02 10:20:17 +02:00
Translation updater bot fbcf3c1a99 Localisation updates from https://translatewiki.net.
Change-Id: Iac65e860e17b2e209ddf68fbeb0fc5f0ac9cce41
2019-08-23 09:49:20 +02:00
libraryupgrader a704ac4457 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Idd82468f1edd011ea5832d931710a1a1ff452292
2019-08-23 01:44:28 +00:00
Translation updater bot 1fbc14fab1 Localisation updates from https://translatewiki.net.
Change-Id: Ic38d5c696a07d8a5393cb24b933ddb148b6ca572
2019-08-22 10:09:46 +02:00
Translation updater bot a198d3446e Localisation updates from https://translatewiki.net.
Change-Id: Ie9e5be271e4b591b443d4aa29bca07ce098f5347
2019-08-21 10:08:20 +02:00
Translation updater bot 11e8ef9349 Localisation updates from https://translatewiki.net.
Change-Id: I1f47fb2846c94e5646d5847eee8aa7400d4aed5d
2019-08-20 10:25:23 +02:00
Translation updater bot 3c3b5684e3 Localisation updates from https://translatewiki.net.
Change-Id: I647f7655085301955aa0d38feb54619192ff84bb
2019-08-17 10:04:57 +02:00
Translation updater bot 3b8c15db5e Localisation updates from https://translatewiki.net.
Change-Id: I5345627960579caf60ce5d39b5b9a0082dac2300
2019-08-15 09:16:27 +02:00
Translation updater bot a885bb5c84 Localisation updates from https://translatewiki.net.
Change-Id: I4d365031e75bcdcfa57f3461e53a0d2a78ee0be2
2019-08-13 09:16:40 +02:00
Translation updater bot 4187855075 Localisation updates from https://translatewiki.net.
Change-Id: I369b2ab3b7fb400f81954a646831b9448dd507d5
2019-08-01 09:17:39 +02:00
Max Semenik 890874c771 Mark ExpressionTest as unit
Change-Id: I0321a100ff60b3adf7e0aec400287a5be7384541
2019-07-22 00:42:21 -07:00
Max Semenik 8d6e567e5a ParserFunctions class: tweak function declarations
* Force type hints
* Documentation
* Give links to documentation on mw.org to make high-level understanding of
  what each function does easier.

Change-Id: I7708343540b7980e57b68ce9b2d9816d2aee710f
2019-07-20 21:27:52 +00:00
jenkins-bot c8a1f28418 Merge "ParserFunctions class: make everything that doesn't need to be public private" 2019-07-20 21:19:01 +00:00
jenkins-bot dad921ea53 Merge "Remove function existence check" 2019-07-18 02:50:44 +00:00
Max Semenik cca4ec9af0 Remove function existence check
PPFrame::setTTL() is present in every supported MediaWiki version.

Change-Id: I7065723bfbd2170cd7c951d1f9b3c4a0318f9938
2019-07-18 02:38:17 +00:00
Max Semenik 3fd4ac43ac ParserFunctions class: make everything that doesn't need to be public private
Change-Id: I818315e5f0cd80700731d212ba11fbf341582ba1
2019-07-18 02:36:30 +00:00
Max Semenik 8b50403fe8 Get rid of *Obj() functions
They're a rudiment from the time when the extension had to be compatible
with both SFH_OBJECT_ARGS supporting and not versions of MediaWiki.
This is in the past, so unify them now by merging and or deleting the
old versions. The resulting functions don't end with "Obj" anymore.
One "common" function was left alone to be refactored at a later time,
however I've renamed it and made private.

Change-Id: Ice97e587bf7cc0469476c2e53268d2774ddfdd04
2019-07-18 02:35:53 +00:00
libraryupgrader 61828f3bd2 build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
Additional changes:
* Committed package-lock.json (T179229) too.

Change-Id: Iac76e4f1ac46022e82adc6c1768873ef347e597f
2019-07-14 14:50:10 +00:00
Translation updater bot d15208f8dd Localisation updates from https://translatewiki.net.
Change-Id: I6c814109da6c9ab7ef3070c6519473d87e19571e
2019-07-12 08:44:22 +02:00
James D. Forrester e085eca7b1 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: Ia1f4e8144b7d85d7bc26dd869ecd8c8ee42955db
2019-07-09 14:13:43 -07:00
Translation updater bot 85d65a17a3 Localisation updates from https://translatewiki.net.
Change-Id: Ic06482d8a19dbdb15a440467b8641d6e0763f71d
2019-07-07 22:41:05 +02:00
Translation updater bot 1e1d9cf3e5 Localisation updates from https://translatewiki.net.
Change-Id: Ie5a2de1d6dd32e620e7a9ccf6f22130d938c164a
2019-06-30 22:39:02 +02:00
Translation updater bot 8ac96d60d3 Localisation updates from https://translatewiki.net.
Change-Id: I444c7b8a37e36fbc0c0ecc10ed1be144ef738a74
2019-06-24 08:39:24 +02:00
Translation updater bot 148b204a86 Localisation updates from https://translatewiki.net.
Change-Id: I5b0fd46cfeae530d4f0193a9d5526e08ae95acc9
2019-06-10 22:55:33 +02:00
libraryupgrader 4d9f0496c4 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ifae1020c458d9da660f8a0a9113254f754e5377d
2019-06-10 09:47:33 +00:00
Translation updater bot 9e2d7297fc Localisation updates from https://translatewiki.net.
Change-Id: I184d944bf94d509faaae1d6a15f0e317f21e4b3e
2019-06-02 22:30:38 +02:00
Translation updater bot b1327112b6 Localisation updates from https://translatewiki.net.
Change-Id: Ie6bfcc091306c0c28726ed76e533d432ba2ff1cc
2019-05-22 22:31:45 +02:00
Translation updater bot c5d2c111b8 Localisation updates from https://translatewiki.net.
Change-Id: I2a4e4e0f1c2a20c8519e191aaf4a64d7e6786892
2019-05-20 22:30:24 +02:00
James D. Forrester b3b9d5a5b4 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I31e610873fbadb967958ad7389074ee6756e152c
2019-05-19 13:26:27 +02:00
Translation updater bot 387fd20cd1 Localisation updates from https://translatewiki.net.
Change-Id: I515c3d058a8ab258758567096e36f19329b07e0a
2019-05-13 23:22:22 +02:00
Translation updater bot 0674a4f495 Localisation updates from https://translatewiki.net.
Change-Id: I30c1990495448ffb96c09bb12d1b2d872d69f18d
2019-05-12 22:34:10 +02:00
Translation updater bot ac896748fc Localisation updates from https://translatewiki.net.
Change-Id: I8e7e9ab12402b352a48923387e236d4a2a82a3ad
2019-05-10 09:20:37 +02:00
James D. Forrester ab49140e61 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: Ie129e854469e276022bad488bfc813b550256541
2019-05-07 10:14:22 -07:00
James D. Forrester c1399a6d3d build: Install eslint
Change-Id: Ie129e854469e276022bad488bfc813b550256542
2019-05-07 10:14:19 -07:00
Translation updater bot 017f544118 Localisation updates from https://translatewiki.net.
Change-Id: Ie129e854469e276022bad488bfc813b550256543
2019-05-06 09:04:57 +02:00
Translation updater bot b1b4984cf0 Localisation updates from https://translatewiki.net.
Change-Id: I39729e7959f174874a46de648740ead31d877d75
2019-04-29 22:16:10 +02:00
jenkins-bot 1996cb1584 Merge "Remove tests/phan/issue from .gitignore" 2019-04-26 15:58:59 +00:00
Translation updater bot ed461b1065 Localisation updates from https://translatewiki.net.
Change-Id: I285c3dd47eda86bf30bd13ab223cd2f68ca997b8
2019-04-23 22:46:00 +02:00
Translation updater bot 86692425e7 Localisation updates from https://translatewiki.net.
Change-Id: Iac54b299ff81eee78b93cb1f8925d5b4aac4c098
2019-04-22 09:23:56 +02:00
Umherirrender 1f1c8343b9 Remove tests/phan/issue from .gitignore
Not needed since mediawiki/mediawiki-phan-config 0.4.0

Change-Id: I8ec4cbf8aa07b5b85deec7cab2df226053fc58f0
2019-04-21 11:17:04 +02:00
Translation updater bot e6bbea67c6 Localisation updates from https://translatewiki.net.
Change-Id: Ie029d9725d09fd10ec14b30c9d0c5a6836f05724
2019-04-14 22:30:08 +02:00
Max Semenik 439544224f Replace a single use function with a closure
Change-Id: Id6408bb203fc984f7baaaf3358cea79c281005bf
2019-04-04 17:22:04 -07:00
Max Semenik e721c193d9 Avoid using $wgContLang
Change-Id: If43a6aa5580397264b2ca9dff5ef7d0da859e3d6
2019-04-03 23:25:11 -07:00