Commit graph

2094 commits

Author SHA1 Message Date
libraryupgrader c416046515 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: Iccba9c52c8390b00fe1cc31e5f3bed3074e27f85
2021-05-05 06:48:02 +00:00
Translation updater bot f2a02d5cf0 Localisation updates from https://translatewiki.net.
Change-Id: I5b7a656eefd696bfbfac221ba5e8dee507f06f3f
2021-05-03 08:37:20 +02:00
Željko Filipin 5c37603c23 selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-Math
job.

Bug: T214686
Change-Id: Ic2373f3b89946cf191cfcb1dd9ed99608deb660c
2021-04-29 15:56:42 +02:00
rosalie d98a6e2699 Remove WikibaseRepo::getDefaultInstance() calls
Bug: T280984
Change-Id: I9ad722a71c671981cace449b3d61aefe6d627a6f
2021-04-28 18:36:51 +02:00
Translation updater bot a55feca24f Localisation updates from https://translatewiki.net.
Change-Id: Icc941244995615a0135b689600aff93e20aee967
2021-04-28 08:48:55 +02:00
Translation updater bot 9d0f3f5620 Localisation updates from https://translatewiki.net.
Change-Id: I2312a3f255c520eca97b57fa05f55c0c1c0bf06c
2021-04-19 08:50:53 +02:00
jenkins-bot 4e58d6c9e9 Merge "build: Updating eslint-config-wikimedia to 0.20.0" 2021-04-17 05:26:33 +00:00
libraryupgrader d0c06ea19f build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I2d9f2665a2ce82abbe03c61c284c14d1d57bdb41
2021-04-17 02:59:17 +00:00
jenkins-bot 5a1e3c2985 Merge "Add CONTRIBUTING.MD" 2021-04-16 15:15:29 +00:00
Translation updater bot cd5303b6f9 Localisation updates from https://translatewiki.net.
Change-Id: Ie59567adf8d62d74a6c9a07dada848aa4f15ccb7
2021-04-13 09:20:59 +02:00
Moritz Schubotz (physikerwelt) 3ed01a42dc Add CONTRIBUTING.MD
A first version of a contributing guide.
While this guide is certainly not perfect, I think it
is better than nothing.

Bug: T234662
Change-Id: Iabfd3087e68efa2c6133dd8f6dca1ba9dce30c2b
2021-04-12 14:23:18 +02:00
Translation updater bot 3c54f86118 Localisation updates from https://translatewiki.net.
Change-Id: Id6cbd3ba8ba940a432905e1f2f83081a8d786140
2021-04-12 08:38:10 +02:00
Translation updater bot 975d3b29cf Localisation updates from https://translatewiki.net.
Change-Id: I9d2b7f1e003e6a33af2b10554aa6541d4303dd94
2021-04-09 08:58:40 +02:00
Umherirrender 1b9edee834 Use ::class for class name
This works also for non-existing classes,
because it is resolved on compile time

Change-Id: I693c716d4c0d865f457b5039d7161ff58e1e3c65
2021-04-08 21:19:33 +02:00
Reedy b0f07ee605 Namespace extension
Change-Id: I7ba90b35e5b6f6e4c296079fc524667ea41c0980
2021-04-08 01:17:14 +01:00
DannyS712 617ba89a78 Delete empty translation files
Including test.json which isn't a language

Change-Id: Ib2d2c9d2943471a3b671318997ccf9bd689b88f6
2021-04-07 15:43:34 +00:00
Itamar Givon 385d54f607 Update calls to WikibaseClient::getLanguageFallbackLabelDescriptionLookupFactory
Bug: T279084
Depends-On: Ibcd85906b7317e67175616a00a04333f9ffb7ca6
Change-Id: I18c1c4690dc9ec1a8adbb24268b2bff3f8331b2b
2021-04-07 10:24:31 +02:00
Translation updater bot 60935ddafd Localisation updates from https://translatewiki.net.
Change-Id: Iba4e6edb89ce54ce474489a9a9be7a4561b82147
2021-04-06 12:02:45 +02:00
ZabeMath e0ca2b86f4 Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with UserOptionsManager::setOption()

Bug: T277818
Change-Id: I8bfcf9e732b6067d5461792d78c8b41ac31de3a9
2021-04-02 18:31:47 +00:00
jenkins-bot 5ee45bc81c Merge "Update WikibaseClient::getStore() call" 2021-04-01 13:31:49 +00:00
Translation updater bot 7c26d35daf Localisation updates from https://translatewiki.net.
Change-Id: I16babfd7b89d29f0ff2b5b85f6fe4a0da73c1ceb
2021-04-01 08:37:41 +02:00
Lucas Werkmeister 004da5f9ad Update WikibaseClient::getStore() call
Bug: T277482
Change-Id: I9c1af47257121e0d3346c5aa3d62ce746f47a0d2
Depends-On: I6b80739641d55730d8e0a217d9f23aa9392bdf35
2021-03-31 19:52:21 +02:00
Translation updater bot ee096440ed Localisation updates from https://translatewiki.net.
Change-Id: I94882442242933e4d9862cc03e205f50833594dd
2021-03-30 08:33:13 +02:00
libraryupgrader 5d8eb9f913 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: Ib7b3959e5f50d4a67ab1655913f4ebe291624177
2021-03-30 03:29:04 +00:00
Translation updater bot 2088c82670 Localisation updates from https://translatewiki.net.
Change-Id: Ib825eb7462b7eee39d34f28c0127c69c6b441661
2021-03-22 08:37:09 +01:00
jenkins-bot 7730da68aa Merge "Remove php entry point" 2021-03-14 16:10:16 +00:00
libraryupgrader c592ad866c build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I1d86e23f42de9c7415defd1a3249162d0f0cc22a
2021-03-14 01:38:40 +00:00
Umherirrender 08ac202ba9 Remove php entry point
Deprecation notice since I7c37e6eb6b7c802fa1e4ebaca2752247ba4d3b8c

Bug: T140850
Change-Id: Iff4c44bed0b143bb015bca047e4673bf2d11aa2b
2021-03-13 00:22:58 +01:00
jenkins-bot 646fcf6ad1 Merge "Update WikibaseClient::getSite() call" 2021-03-09 10:57:24 +00:00
jenkins-bot 2652cf4e64 Merge "Update WikibaseClient::getSettings() calls" 2021-03-09 10:57:12 +00:00
libraryupgrader f2edc70021 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I8ac79545d8941943bcc470f7fcef5323a588c8a5
2021-03-07 04:54:19 +00:00
Lucas Werkmeister a9d2b684b8 Update WikibaseRepo::getStringNormalizer() call
Bug: T276430
Change-Id: Ibc9dc74650b3e6bd726ae452a744c9b433ccef08
Depends-On: I58a9dc2f9f185f260bd6da84840f2b58905d38fa
2021-03-04 14:37:41 +01:00
Lucas Werkmeister 2afaad505d Update WikibaseClient::getSite() call
Bug: T276349
Change-Id: I37b7876c43a7c21fc14f228f3133ed897742bb4e
Depends-On: I9724724a635b808a7f1a8c88447216dc0d1dd738
2021-03-04 11:37:03 +01:00
Lucas Werkmeister 9247f49067 Update WikibaseClient::getSettings() calls
Bug: T275412
Change-Id: I9d0762886cebb96c0d5de911248a53a9ffc14a0f
Depends-On: I3506ad80d57639f066c2b86358058b4432b6a666
2021-03-04 11:36:55 +01:00
Translation updater bot ad7eaabb9d Localisation updates from https://translatewiki.net.
Change-Id: Id0331bf88eeb075ecadd1e9f46c7eb3b65b8a0d4
2021-03-04 08:38:43 +01:00
jenkins-bot b1d8d072e3 Merge "Update getEntityIdParser method callers to static" 2021-03-02 14:06:48 +00:00
Translation updater bot 0bf7c5fec0 Localisation updates from https://translatewiki.net.
Change-Id: Ia8f86d24284248dc6bc14beca12f8479b3fbe2e2
2021-03-02 08:50:00 +01:00
Itamar Givon 6a8f7df8ad Update getEntityIdParser method callers to static
Bug: T275886
Depends-On: I5bcd59b954521b74eeae4f2f207ebb35ccba97d7
Change-Id: I1f930a809a6094e2079b972a78cc3403ddeb6f73
2021-03-01 16:34:14 +01:00
Translation updater bot a5f2825e53 Localisation updates from https://translatewiki.net.
Change-Id: Ic4a414c15043b76a98f921f602f8ac97d9a6b37d
2021-03-01 08:52:22 +01:00
Translation updater bot 363550d13f Localisation updates from https://translatewiki.net.
Change-Id: I6f431b9398214fde6682f5558be7caaf8ecf040e
2021-02-25 08:38:54 +01:00
jenkins-bot 7bb3d281da Merge "Use Mathoid to validate Wikibase formuale" 2021-02-23 21:06:52 +00:00
jenkins-bot 92cc03d300 Merge "Remove redundant ExtensionRegistry callback" 2021-02-18 21:51:29 +00:00
Moritz Schubotz (physikerwelt) 35d57a65cc Use Mathoid to validate Wikibase formuale
* Reenable math validator tests
* Introduce $wgMathUseRestBase which defaults to true
  and determines if mathoid is used via RESTbase or directly
* The effect of this change can be tested by setting $wgMathUseRestBase
  to false, and then creating a new statement of a property with type math.
  One should see a connection to mathoid for every new string and one should
  also see the WAN cache for the check endpoint to fill up. Note that
  setting WANObject cache to the database simplifies the investigation
  of the WAN cache content.

Bug: T274436
Change-Id: I40109e9e09464da78bf855646fb800ee87c1ea67
2021-02-18 22:13:58 +01:00
jenkins-bot 132dd74949 Merge "Update a few type hints" 2021-02-18 18:27:16 +00:00
Thiemo Kreuz 56ad7ff334 Update a few type hints
Some random bits I found while working on some other code.

Change-Id: I29be84cb54e05af5030defd99cb1f42f9c6a5b63
2021-02-18 16:20:35 +00:00
Thiemo Kreuz 8632db2dfc Use modern new static syntax instead of get_called_class
Change-Id: I901505912784fa32a694c4c854eee86c42fd9c0c
2021-02-18 16:16:42 +00:00
Translation updater bot e4577337d5 Localisation updates from https://translatewiki.net.
Change-Id: Ia6c03b47d8dc3a663ccbc57526a8755d7eebb440
2021-02-15 10:05:44 +01:00
Timo Tijhof 2308e436ce Remove redundant ExtensionRegistry callback
This additional hook does not seem to be needed.

- wgMathValidModes: All access to this information already uses
  getValidModes() and thus there is no need to write this back
  to the input variable (use outside the extension is not supported
  and it is already not used as cache either).

- wgMathDisableTexFilter: All access already uses getDisableTexFilter()
  Move the last bit of logic there instead.

- wgDefaultUserOptions: Duplicate of this already exists in the
  onGetPreferences hook higher up.

This seems almost too easy, so I suspect someone tried this before
and intentionally didn't finish it because of some non-obvious
issue.

See T189966 for related perf anaysis.

Change-Id: I4d7fdf6fcae3d44a37bf80d9c72fff2b4361f0c9
2021-02-10 23:29:49 +00:00
Moritz Schubotz (physikerwelt) 7780424504 Extend mathoids Checker functionality
* Keep status code and response in memory
* Allow external cache preloading.
  This will be required for the one-stop mathoid batch rendering
* Duplicate functionality from the restBASE interface
** Error rendering
** Validity checks
** getter for validated tex

Depends-On: Ic779e671ada0d0306e0935e578b47c431abd520e
Change-Id: I066975b9ba03f5861f6c92687cba4743044ea82a
2021-02-09 23:36:03 +01:00
Translation updater bot 6e52bc2807 Localisation updates from https://translatewiki.net.
Change-Id: Ia1cd024d58e46e8b00349b33f9abe213ea56d2f3
2021-02-08 08:42:21 +01:00