Commit graph

1849 commits

Author SHA1 Message Date
Translation updater bot 117626880c Localisation updates from https://translatewiki.net.
Change-Id: I3264643dac13cc2f80c741689ed974069234261d
2020-01-13 09:11:02 +01:00
libraryupgrader 6aeffb314b build: Updating npm dependencies
* grunt-stylelint: 0.12.0 → 0.13.0
* stylelint-config-wikimedia: 0.7.0 → 0.8.0

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: I1eb32aab9914081e5b637b068f723ca59a60b3a7
2020-01-13 04:06:58 +00:00
jenkins-bot 6f347e7b34 Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0" 2020-01-11 00:39:01 +00:00
Translation updater bot e9123327f1 Localisation updates from https://translatewiki.net.
Change-Id: I00c490f5a08df3d5d07588be8fc2cf93e54333de
2020-01-08 08:42:30 +01:00
Translation updater bot e0a58f845b Localisation updates from https://translatewiki.net.
Change-Id: Ia0e43cac84a3b0a446c156d3664f47b526096011
2020-01-07 08:48:45 +01:00
Translation updater bot 4c428e578f Localisation updates from https://translatewiki.net.
Change-Id: I53f859e711cb6243cf89d672afdaa27fed69232e
2020-01-06 08:49:37 +01:00
Umherirrender 50b030a6ac Move test-only classes to new TestAutoloadClasses declaration
Bug: T196090
Change-Id: I1a5bc889f011cc2f9c5b08b0f3f94005357ac2a1
2019-12-31 00:44:53 +01:00
jenkins-bot 45e6751a3c Merge "Don't list Special:MathWikibase if the wikibase client isn't loaded" 2019-12-30 09:05:52 +00:00
Translation updater bot e4faabeea7 Localisation updates from https://translatewiki.net.
Change-Id: I231395dd441043b7c7580e5adb8df16773a9eec9
2019-12-29 20:41:16 +01:00
libraryupgrader 863794c1dd build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: Id4f976b7ec94e1d2be0421725733804f24dec2c5
2019-12-29 17:56:56 +00:00
AndreG-P 30ca468200 Activate formula links
Activate formula links by default in Math extension.

Bug: T239356
Change-Id: I37345ca280d326d59b270d61fa578546bfff285f
2019-12-29 04:20:07 +09:00
DannyS712 cf906ea1bc Replace @return true|false with @return bool
Change-Id: If6111abcb2c17622e58189a8b7200fc9a49c7b84
2019-12-28 10:29:18 +00:00
DannyS712 8faab2c2a0 Don't list Special:MathWikibase if the wikibase client isn't loaded
Bug: T241507
Change-Id: I23f6e8e72afeb791b3709d423041c02b58eb0b4a
2019-12-28 09:06:47 +00:00
Translation updater bot 3d3a9a4748 Localisation updates from https://translatewiki.net.
Change-Id: I6c72554090d1d9acfbf1420fa7adc10c3f0e92fd
2019-12-24 10:02:41 +01:00
Translation updater bot 1314f82d97 Localisation updates from https://translatewiki.net.
Change-Id: I8d73514d2374b4ade9876c4b5f039271865acdb8
2019-12-22 17:41:10 +01:00
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