Commit graph

1834 commits

Author SHA1 Message Date
Karsten Hoffmeyer 2b2ddac15a Switch configuration parameter setting to a working URL
--> URL as suggested on Phabricator

Bug: T209563
Change-Id: I87e4df0365e8c718cc00c9990ebce7e03026ec37
2019-12-17 22:35:41 +00:00
libraryupgrader 505e530787 build: Updating mediawiki/minus-x to 0.3.2
Change-Id: I2cb1ba17bfcaf9a151f547e772350e49cdec4f04
2019-12-17 21:18:23 +00:00
Translation updater bot 43062a7d22 Localisation updates from https://translatewiki.net.
Change-Id: I0a285e92a806cd08eb3669601ebbfc092e8c1f8f
2019-12-16 12:14:11 +01:00
AndreG-P 4c56817ba3 Delete Math Wikibase API
Delete the unused wikibase API endpoint in Math extension.

Bug: T240458
Change-Id: I3e6b0cfd61e8be8c65e64f85945bca32a4ba6089
2019-12-13 00:23:53 +09:00
Translation updater bot 6c41fc378c Localisation updates from https://translatewiki.net.
Change-Id: I1fefbdf7e923612b89d0337e694a9efea600fc28
2019-12-12 09:57:35 +01:00
Translation updater bot 205527c05a Localisation updates from https://translatewiki.net.
Change-Id: I3212521301ceba6ee7947553326dfbba4179b4cc
2019-12-09 09:36:10 +01:00
Umherirrender 0be18dc97d Move test helper classes into own class file
Also fix the name of one test file to match the file name

Change-Id: If622e925645cf21bf726f4db0f779182d78bbd73
2019-12-06 21:47:52 +01:00
Translation updater bot 21152584b0 Localisation updates from https://translatewiki.net.
Change-Id: If99b80c59ca02b90b1605ef567279fed7b516ae8
2019-12-05 09:47:37 +01:00
Translation updater bot b2e524160a Localisation updates from https://translatewiki.net.
Change-Id: I6f41dec6b3309243bdbe3882028b48c62f34c58d
2019-12-04 09:26:09 +01:00
Translation updater bot 442ac69a38 Localisation updates from https://translatewiki.net.
Change-Id: Ie6a8fcd65aa2b149597416947237c8f5d657fb96
2019-12-02 09:21:56 +01:00
Translation updater bot ddf28b2025 Localisation updates from https://translatewiki.net.
Change-Id: Ib3d18916bb4661602ecf1657b5548f605a053fd5
2019-11-29 09:30:13 +01:00
AndreG-P 157dff4422 Fix reverse logic in hasSite function Math extension
Fixes naming problem introduced in If7da0990a4fc1f8d8a70237dc19c7b2e67ec38cd

Change-Id: I2fd20b2e18c624d22a780dfd496afb129b1f55b9
2019-11-28 19:25:31 +09:00
Translation updater bot 668892f33b Localisation updates from https://translatewiki.net.
Change-Id: I6a7e990db643da6bcb256a9d8df5f27902aa37b6
2019-11-27 09:37:36 +01:00
jenkins-bot 3bb6faf6b0 Merge "Link Wikipedia Articles from Specialpage Math Formula Information" 2019-11-26 19:48:39 +00:00
AndreG-P 912866b976 Link Wikipedia Articles from Specialpage Math Formula Information
Linking math formula on the special page to their own page, if this
a page exists

Bug: T239099
Change-Id: If7da0990a4fc1f8d8a70237dc19c7b2e67ec38cd
2019-11-27 03:58:28 +09:00
Ammar Abdulhamid 4a207bb74a Declare $logger as a protected class variable
Bug: T186243
Change-Id: I263a711fc12993c6201ca71cd512be1f64c1eb38
2019-11-26 17:14:48 +00:00
Thiemo Kreuz 852eba3c9e Always call original constructors in tests, and more cleanups
* Get rid of a few more MockBuilders and mocks that aren't needed.
* Make sure the original constructor is always called. This is highly
  relevant for I263a711.
* Fix mixed order in assertions. In PHP, the expected value comes first.
* Add some missing inline @var type hints.

Change-Id: Ia15d62af56dfdb61bc2514aa994ce3d4ecd6e077
2019-11-26 14:42:37 +01:00
jenkins-bot a10719db44 Merge "Localisation updates from https://translatewiki.net." 2019-11-26 11:44:18 +00:00
Translation updater bot 38cd02ae23 Localisation updates from https://translatewiki.net.
Change-Id: Ie63eeefbd98bf040d00524b5e3c56876ee3eeec9
2019-11-26 12:43:26 +01:00
jenkins-bot 3fd4b8b1f9 Merge "Classes: Type hint $updater parameter in onLoadExtensionSchemaUpdates" 2019-11-26 11:37:43 +00:00
jenkins-bot 6fe2051f6b Merge "Update tests to not use MockBuilders, if not needed" 2019-11-26 11:34:45 +00:00
jenkins-bot 505e0868d6 Merge "Move API messages to a separate file" 2019-11-26 11:24:30 +00:00
jenkins-bot 5d8495de6b Merge "Make all @covers tags absolute, and fix some" 2019-11-26 11:17:32 +00:00
Translation updater bot 9666a03bff Localisation updates from https://translatewiki.net.
Change-Id: I226f61ee9742b8beba67bcd65b9cd81bec88e077
2019-11-26 11:42:59 +01:00
Thiemo Kreuz 61b9904bec Update tests to not use MockBuilders, if not needed
* Replace MockBuilders with straight constructor calls, if possible.
* Use TestingAccessWrapper instead of using reflection directly.
* Favor assertSame instead of the loose assertEquals. Note how this was
  actually hiding a bad assertion in one place.
* Remove some tiny pieces of dead code.

This was motivated by I263a711. I hope this patch here helps unblocking
the other.

Change-Id: I66efb818243a41aeed5fcd51fd520cd0d4acee4d
2019-11-26 11:21:49 +01:00
Thiemo Kreuz b189280467 Make all @covers tags absolute, and fix some
Some mentioned a "__constructor", which should be "__construct".

The leading backslash is not strictly needed by all tools. But some
need it. I learned it's best practice to always have it.

Change-Id: I22fe3a3b4828c02ab5a457aba9af5af1c72567ea
2019-11-26 11:01:23 +01:00
Translation updater bot 146d208e23 Localisation updates from https://translatewiki.net.
Change-Id: I9fa4b7807930894191e45022a60cd38388d0dee6
2019-11-26 09:17:39 +01:00
Amir Aharoni 67108480b3 Move API messages to a separate file
Bug: T189982
Change-Id: I3155ef30739ec343c011c57525757de8ab3fe35a
2019-11-25 17:51:19 +01:00
Ammar Abdulhamid 457ea5822f Classes: Type hint $updater parameter in onLoadExtensionSchemaUpdates
Bug: T223939
Change-Id: Ibc0d87f8cd7cb6a6b0f72c8b5fd08da13b55483f
2019-11-25 16:34:40 +00:00
Translation updater bot 6ccf14297a Localisation updates from https://translatewiki.net.
Change-Id: I8b8167c327510b1d86c647b0b8f6c08b2b5602cd
2019-11-25 09:10:35 +01:00
Translation updater bot 4fe6031784 Localisation updates from https://translatewiki.net.
Change-Id: Idc4f02fa6de2f2220442365dc3f6b5644aa78cb9
2019-11-22 09:15:03 +01:00
Translation updater bot bb8c880207 Localisation updates from https://translatewiki.net.
Change-Id: Ie540b69fdb6ce17bc643b93d4d53148720e3a7ac
2019-11-20 09:38:06 +01:00
Translation updater bot 9dde0780ec Localisation updates from https://translatewiki.net.
Change-Id: I918c8398fe0b855382acb4f7b8ae0329c6968de7
2019-11-19 09:35:09 +01:00
AndreG-P 2b15b37a3a Fix Typo in Math Extension
Fix 'forumla' typo in i18n/en.json entry 'math-wikibase-special-
form-placeholder'.

Bug: T238534
Change-Id: Iaa109937d531923e8c0567aacdb9c2bbb2ba32a6
2019-11-19 02:07:54 +09:00
Translation updater bot e171f4075d Localisation updates from https://translatewiki.net.
Change-Id: I43e6c34c5907e80f637f85d41ebe502e0d373d98
2019-11-18 09:23:58 +01:00
jenkins-bot 13053e0a9c Merge "Fix capitalization of HTML Class" 2019-11-15 22:33:46 +00:00
Moritz Schubotz (physikerwelt) 848168c3a1
Fix capitalization of HTML Class
* Replace HTML->Html

Introduced in Idd22057a88312bf1a1cb5546d0a6edca5678d80d

Change-Id: If44743507d6897fa7600a16fc2002443cc3a556e
2019-11-15 23:03:48 +01:00
AndreG-P 54518a4981 Delete Wikibase repository dependency in Math extension
With this commit, the Math extension only depends on WikibaseClient
and no longer on WikibaseRepo.

Bug: T208758
Change-Id: Iac8f2568e0da1a4aff4f4b22d124626c8ecca8eb
2019-11-16 01:30:12 +09:00
jenkins-bot a406f9eae3 Merge "Add special page and API endpoint that show information from math Wikibase items" 2019-11-15 12:45:34 +00:00
Marko Obrovac 796a02173d Minor: Only log the code and body of the response in case of error
Bug: T238344
Change-Id: Ibf769f9f4f52062a7914f257979f510c809cbe37
2019-11-14 17:18:36 +01:00
Moritz Schubotz (physikerwelt) 4a7bc3ee31 Add special page and API endpoint that show information from math Wikibase items
Add a special page and an API endpoint to fetch data from Wikibase
items with a given qID. The special page summarizes information from
Wikibase. The API endpoint allows to request the information
directly. Both, the API endpoint and the special page, fetch the data
from a new helper class for consistency.

Bug: T208758
Bug: T229939
Change-Id: Idd22057a88312bf1a1cb5546d0a6edca5678d80d
2019-11-14 23:42:35 +09:00
Translation updater bot 28bba5076c Localisation updates from https://translatewiki.net.
Change-Id: I6dc9ac44bdbda578d3a7cfec901af4c7f295c227
2019-11-07 09:43:39 +01:00
Umherirrender b2e2a7b1a2 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I202d0b41c217498b0697eb9237c9f18725b7224d
2019-11-04 19:44:47 +01:00
jenkins-bot 79605e6be8 Merge "tests: Align return type with PHPUnit 8 requirements" 2019-11-02 01:06:03 +00:00
James D. Forrester 5096e35015 tests: Align return type with PHPUnit 8 requirements
Change-Id: I8c4c64c6e0cd107de10d23d8f564ea660fd86ada
2019-11-01 17:18:33 -07:00
Ed Sanders e9bd09f2b3 build: Update linters
Change-Id: I9fc31886e09a0dc0a77449907054136a61eda248
2019-11-01 16:33:18 -07:00
Translation updater bot 06c330429f Localisation updates from https://translatewiki.net.
Change-Id: I1764c6292b24aceca9be2e2849df6f27f8db35f9
2019-10-31 09:28:51 +01:00
Umherirrender 5ecbf750c1 build: Fix exclude of vendor and node_modules in Gruntfile.js
It should exclude vendor in the root, so there should no `**/` be at the
begin.

Change-Id: Ice2c4d16de258dac5506322d6f4551587b8e3022
2019-10-25 17:39:38 +00:00
Translation updater bot 67df377a27 Localisation updates from https://translatewiki.net.
Change-Id: Ibc4674ae892267e49008614be5c78bc0e4b3b759
2019-10-25 09:18:55 +02:00
Translation updater bot b2d61ad1a0 Localisation updates from https://translatewiki.net.
Change-Id: Icab84cf5752632619ec3ffce422b3461267d0659
2019-10-21 09:59:55 +02:00