Commit graph

2875 commits

Author SHA1 Message Date
libraryupgrader 0dd8ac3389 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Id0c2f41f1e62f19cbd2fc6cbc00e9e49138394ac
2020-12-19 21:10:12 +00:00
Umherirrender 9f4f4301cc Avoid wfMessage in special page
Use self::msg instead to avoid global state

Change-Id: I9a9af6ff854fdd94929d06ea270c044320f62cab
2020-12-19 20:19:59 +00:00
Moritz Schubotz (physikerwelt) ba19b3e1cd Implement wikidata entity selector
The current wikidata entity selector requires WikibaseRepo to be enabled on the client wiki, which is only the case for very small installations.

We implement our custom entity selector that
* displays the item label and
* uses the description as tool-tip.

The implementation was inspired by
mw.widgets.TitleInputWidget.

Bug: T229939
Change-Id: I35d6cc317cf2984d9de6e062f79030f5c31c0811
2020-12-19 09:11:40 +01:00
Umherirrender 99c3e91fb4 Add missing @var and improve documentation
Change-Id: I8be91329f1f85f3bf40ea19d3b7e0be7dc655df1
2020-12-17 21:53:28 +01:00
Translation updater bot 140b6101f2 Localisation updates from https://translatewiki.net.
Change-Id: I9a468efbb36b4a237019eadc598931f294121bb4
2020-12-17 08:55:33 +01:00
Translation updater bot f369513b16 Localisation updates from https://translatewiki.net.
Change-Id: I9fa6686509f9f67151009aa97fa671a373b7346e
2020-12-16 08:30:18 +01:00
jenkins-bot bef99f610b Merge "MathGenerateTests: Remove use of $wgUser" 2020-12-14 21:57:06 +00:00
libraryupgrader 823552f6ec build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Ibd68a60ce3e67e7ee096756d89a852910e5ac06d
2020-12-13 12:00:28 +00:00
Translation updater bot 0c960b38a3 Localisation updates from https://translatewiki.net.
Change-Id: I492b44d093c06d31c1b2ba04792d2276dc65b395
2020-12-11 08:35:52 +01:00
libraryupgrader 6181f3b8f2 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: If645b9d5cb14be08c42537db98dbed33778f4630
2020-12-10 13:15:12 +00:00
Translation updater bot 9b0ce90569 Localisation updates from https://translatewiki.net.
Change-Id: Icb561928ffe83edb58a50638ef0c1218bc7f9f79
2020-12-09 08:42:08 +01:00
DannyS712 4868d632c1 MathGenerateTests: Remove use of $wgUser
Being written to, but not read from, so shouldn't be
needed anymore - set the User of the main RequestContext
instead.

Bug: T248550
Change-Id: I32d50e7bcd81ed77646d625e1a10b0e91e5d6c21
2020-12-09 01:03:32 +00:00
Translation updater bot c2b3f74402 Localisation updates from https://translatewiki.net.
Change-Id: I308477769eb4b8c4a85bc2db02bda009d16fb15b
2020-12-07 08:45:47 +01:00
libraryupgrader 02d39313a0 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I53cf71312a1bc8178b97a24fbadd38b82f9914f8
2020-12-06 16:33:13 +00:00
Translation updater bot 6720794f55 Localisation updates from https://translatewiki.net.
Change-Id: I9983ea19c5fd1919f458e4ffee1007b80f38dd18
2020-12-04 08:33:32 +01:00
Translation updater bot 183a4a3e6f Localisation updates from https://translatewiki.net.
Change-Id: I0e7ded86ab5221023829b178d6b3c98cd03ee009
2020-12-03 08:32:47 +01:00
Translation updater bot 9cd7c41dff Localisation updates from https://translatewiki.net.
Change-Id: I1ec0bf8b1dff12c0e3903d1c89fdb3dcb099e715
2020-12-02 08:32:40 +01:00
Moritz Schubotz (physikerwelt) 31aa824cc9 Remove RESTbase check compatibility endpoint
Change-Id: I8c539e96519e0f23ed606403ed88370edde70764
2020-11-24 19:24:41 +01:00
libraryupgrader a956c73b3e build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: Icaed7d1c4b2c4f68610308f46ce4d65359432f77
2020-11-22 06:01:29 +00:00
libraryupgrader da3c9edb26 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I0476384b99c41102ddca5928fbb068c45c139d56
2020-11-20 12:50:55 +00:00
Umherirrender dc007663b2 Usage of Yoda conditions is not allowed; switch the expression order
Change-Id: I3e3ca5e380521b514062953d4aeb635793819e89
2020-11-19 22:34:09 +01:00
Translation updater bot 4f72fb13be Localisation updates from https://translatewiki.net.
Change-Id: I6d7b1a952c9f81a24196586d087e3b5e947d43bf
2020-11-19 09:10:23 +01:00
Translation updater bot bbcfbabad9 Localisation updates from https://translatewiki.net.
Change-Id: Ica26f604639e73fae08c28d4347fa4cd6eefac52
2020-11-11 08:36:11 +01:00
Clara Andrew-Wani 510e16e1d8 Update api-testing to 1.4.2
Change-Id: I6ad2dd62be31f9ebee13cf81159242daebf4389e
2020-11-10 13:05:35 -05:00
Translation updater bot 0315bd365a Localisation updates from https://translatewiki.net.
Change-Id: I218f409442c5db4b103021b2f91e68965419b331
2020-11-10 08:41:28 +01:00
Clara Andrew-Wani d1315079f2 Update api-testing package and test to use updated methods
Change-Id: I95f3fe36d41c71ddb4fb928a3b1878fb88fc9458
2020-11-05 16:53:18 -05:00
Translation updater bot 5d9be9878a Localisation updates from https://translatewiki.net.
Change-Id: I4733c7d06363a6da76647c3004283097b6f06981
2020-11-04 08:33:38 +01:00
libraryupgrader ce88944fe5 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* Generic.ControlStructures.DisallowYodaConditions.Found
* MediaWiki.Commenting.FunctionComment.ObjectTypeHintParam
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage
* MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).

Change-Id: I2a0a579219607d60c1557d4b700cdf810f07f538
2020-11-04 04:01:14 +00:00
jenkins-bot a1e4882543 Merge "Register refresh links hook" 2020-10-27 22:43:19 +00:00
jenkins-bot 6cd99b6d0b Merge "Remove confusing doc from MathRestbaseInterface" 2020-10-27 22:37:28 +00:00
jenkins-bot 802dc30392 Merge "Add /tests/selenium/log/ folder to .gitignore file" 2020-10-27 22:37:26 +00:00
jenkins-bot 9fe683c16d Merge "Register tracking category texvc deprecation" 2020-10-27 22:12:32 +00:00
jenkins-bot ff45fb1809 Merge "Localisation updates from https://translatewiki.net." 2020-10-27 22:09:32 +00:00
James D. Forrester 0c6104811c MathCoverageTest: Skip all tests for now as HTTP requests are banned
Bug: T265628
Change-Id: Iaa1ccb50475785061d9da1ff3e7219b38cee145d
2020-10-27 21:48:28 +01:00
Translation updater bot 03a87511ef Localisation updates from https://translatewiki.net.
Change-Id: I18f53e1f36a604b8ab99533af938172b7d7edf2f
2020-10-27 08:23:42 +01:00
Moritz Schubotz (physikerwelt) a12b91cdc0 Register tracking category texvc deprecation
* list math-tracking-category-texvc-deprecation on Special:TrackingCategories

Bug: T256468
Change-Id: I6e629b299021684a65c61df044f7abba51377763
2020-10-26 08:56:49 +01:00
Translation updater bot 408ecf93d0 Localisation updates from https://translatewiki.net.
Change-Id: I0fc0edb1c1138f98f89956442a343d9df9cf272c
2020-10-20 08:30:27 +02:00
Js636f db15652f12 Add /tests/selenium/log/ folder to .gitignore file
Bug: T265463
Change-Id: I527340207edf82cf8278efe2fe7ec5127fea7df0
2020-10-15 16:21:54 +03:00
Thiemo Kreuz 3bbf35531b Remove confusing doc from MathRestbaseInterface
Change-Id: I5220cd1f0af95e26308aaec5c976d16ec67cb70b
2020-10-05 10:35:07 +02:00
Moritz Schubotz (physikerwelt) 6f41c0887c Register refresh links hook
* register hook
 MathHooks::onMaintenanceRefreshLinksInit
 from MaintenanceRefreshLinksInit

Bug: T248551
Change-Id: I0607265df22da5ab26cfc4c8958e9502b0e31b12
2020-09-29 18:06:08 +02:00
Translation updater bot 18b8b1f29e Localisation updates from https://translatewiki.net.
Change-Id: If3a0ae97437a8a4ebf0b4157daf958b265ec282d
2020-09-28 08:29:48 +02:00
DannyS712 3f16b9f1c2 Remove use of $wgUser in onMaintenanceRefreshLinksInit
For now, the hook handler isn't actually used (T248551) but
when it is at some point it shouldn't use $wgUser

Bug: T248550
Bug: T248551
Change-Id: I826e91411deb91bbd8c58147b32fda3f3e7ed6a8
2020-09-27 01:02:47 +00:00
libraryupgrader db617781c1 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: I4350e4a3ce029921dd738b4754454b0327ebd852
2020-09-25 05:28:20 +00:00
DannyS712 caa51dc4c9 Remove fallback to $wgUser in MathHooks::onPageRenderingHash
$user is always set

Bug: T248550
Change-Id: Id5a0d271ae840dd2aee4f40b4b7e73ab24f7cf98
2020-09-21 21:22:22 +00:00
Translation updater bot bf070bf32b Localisation updates from https://translatewiki.net.
Change-Id: I02baa99a61d11bb9b96d696e825607fd27bcd9ef
2020-09-21 08:29:56 +02:00
libraryupgrader dc1ce191bf build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0
* bl: 4.0.2 → 4.0.3
  * https://npmjs.com/advisories/1555

Change-Id: Ic1b81aa1ba369fc638e3a583f7deb8cb2604cdaa
2020-09-19 21:23:38 +00:00
Umherirrender f2cb640687 Avoid shadowed variables in javascript
Change-Id: I4d7148c46c04447a7aba5ce96379ce9038be5752
2020-09-19 18:19:08 +00:00
Umherirrender c4cf84fdad Fix mathoid test data for last changes to renderer
After deployment of changes for T207535 the test data does not match
longer the expected output and fails

Change-Id: I7bb83ef007a0896ae0b3673bef5c344c41c4d5a6
2020-09-19 20:18:03 +02:00
Translation updater bot 4baea85fec Localisation updates from https://translatewiki.net.
Change-Id: Icc1adf902a169d3f81d6caf07dc4bfafcf0d96fd
2020-09-17 08:33:06 +02:00
Translation updater bot 7fe60932ae Localisation updates from https://translatewiki.net.
Change-Id: Id9ac2e3c5519a6ba1428771cc6cd82ed7c77bc54
2020-09-14 09:15:24 +02:00