Commit graph

1916 commits

Author SHA1 Message Date
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
Translation updater bot fbce3c0b0b Localisation updates from https://translatewiki.net.
Change-Id: I519dd55090c17d764365e1f0036141781dcc3c53
2019-10-16 20:40:24 +02:00
Max Semenik abbe5a3714 tests: @expectedException is deprecated
Bug: T234597
Change-Id: Ib694f60dabc9a8ac94fb10ed187892af8f36377e
2019-10-15 19:45:27 -07:00
James D. Forrester 6e8ca25d46 build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I620a56f9edab3a751c7c41cd76ef401aac5d3b79
2019-10-11 10:45:11 -07:00
Ed Sanders 15352b3751 build: Update eslint-config-wikimedia
Change-Id: I0d650a842da003693275ecee565cf923dc2605d6
2019-10-04 15:38:36 +01:00
Translation updater bot b1a022fa34 Localisation updates from https://translatewiki.net.
Change-Id: Ifc287cb242160e640dd175b5b6c90ecc96ae6ea9
2019-09-30 09:19:53 +02:00
Translation updater bot 31935a6653 Localisation updates from https://translatewiki.net.
Change-Id: I61a6f693c964f022efd6a08316769db4e70922ea
2019-09-20 11:43:02 +02:00
Translation updater bot 7b130aa0ef Localisation updates from https://translatewiki.net.
Change-Id: I14fc3e3ecfd6084e1267a797769b8cc44a2b054d
2019-09-19 09:59:03 +02:00
Ed Sanders 085ee7dcec build: Update linters
Change-Id: I0d6b323864a0e24f72ec6a823611927ea66ce025
2019-09-17 14:46:05 +01:00
Moritz Schubotz (physikerwelt) 0de63bdf6c Remove unused config variables from extension.json
Bug: T228547
Change-Id: I0aa7b624b645c3773b0d758634d370a494d1028a
2019-09-16 09:41:12 +00:00
Translation updater bot 3f16af9dc0 Localisation updates from https://translatewiki.net.
Change-Id: Ie5a30064406e40204eaaacd2611ccfca7370730a
2019-09-16 09:56:11 +02:00
Translation updater bot 3eab08d4d4 Localisation updates from https://translatewiki.net.
Change-Id: I803b14ff2d844481038a7dbe910dfd5e7006527a
2019-09-13 10:18:30 +02:00
Volker E 09b8a0830c Use renamed OOUI icon 'labFlask'
Change-Id: I1c6ffd18f97e6a0e95f9e8e88842743caf887fe8
2019-09-11 13:36:37 -07:00
Translation updater bot e3f17192a4 Localisation updates from https://translatewiki.net.
Change-Id: I9ef1d96e0ac097af73d4c4887c19c9ecf8610b2b
2019-09-04 10:14:04 +02:00
Translation updater bot 743a0c76c7 Localisation updates from https://translatewiki.net.
Change-Id: Ie5faf961f151ce8d4f25d49ed2d3510af9777175
2019-09-03 10:28:31 +02:00
Ed Sanders 3927e65c61 makeSvgsAndCss.js: Add more logging and an '--all' flag
Change-Id: Iaa00e52e04800d0708f8dfc715b8cf6228e7f469
2019-08-30 20:17:11 +01:00
Ed Sanders 44b88c6e77 Re-render MWChemSymbols.css
Bug: T166936
Change-Id: Ie711e3715e6a8aef7e00e7f120d2d39b9511d0fc
2019-08-30 19:35:11 +01:00
Translation updater bot d499039346 Localisation updates from https://translatewiki.net.
Change-Id: I1adf0d96e535a70db80597c51cb77e752d6aaa58
2019-08-27 11:04:35 +02:00
libraryupgrader 8bc75d6a57 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I78349df597b3805eb90f9f7558905348c007ce9b
2019-08-24 11:50:21 +00:00