Commit graph

1910 commits

Author SHA1 Message Date
libraryupgrader 9653854b1c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I41574c72228ff6e1aea2a62fee8a0e2929190abd
2020-04-22 14:16:21 +00:00
Translation updater bot b967ce37e2 Localisation updates from https://translatewiki.net.
Change-Id: I2f2f27692003514f8ae8940ea36652a35bf9dca6
2020-04-20 08:42:10 +02:00
libraryupgrader ad1fb25476 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Iefd12e3cd3eb738cc663b7450a658efd0566cdfe
2020-04-19 11:58:32 +00:00
Translation updater bot 102b07d24f Localisation updates from https://translatewiki.net.
Change-Id: Ifd9e35a65d3d8c2716226fb388c1f7654b9fc8a8
2020-04-17 09:07:07 +02:00
Translation updater bot 4023353364 Localisation updates from https://translatewiki.net.
Change-Id: I9ccdbf9e4b748bc87e89461ae56943a77c343c0f
2020-04-15 08:24:13 +02:00
Translation updater bot cddb15e99b Localisation updates from https://translatewiki.net.
Change-Id: I56e2d05ea1d97e2d59474e42ddc1810f2bdc8e99
2020-04-14 08:24:25 +02:00
Translation updater bot 3ca1d25b5a Localisation updates from https://translatewiki.net.
Change-Id: I2c9ab14867d3edbc3a2a83cb16e004e938c6dc0c
2020-04-13 09:01:31 +02:00
Translation updater bot a18974731d Localisation updates from https://translatewiki.net.
Change-Id: Ie374c19bf1b7e6f37c6f44cd448a529cac269792
2020-04-09 08:39:20 +02:00
Translation updater bot 0a560f69d0 Localisation updates from https://translatewiki.net.
Change-Id: I817220f93bfa500623eae141858d2e5fa8591b7e
2020-04-08 09:04:48 +02:00
Translation updater bot bc7fde9cff Localisation updates from https://translatewiki.net.
Change-Id: I99b7d85486c9a2bb4ca4914e8b06fdcb68e2d86b
2020-04-07 08:44:30 +02:00
Translation updater bot 984aaf140c Localisation updates from https://translatewiki.net.
Change-Id: Ie19f1f5411d5e85308bf420f4f53c4648b0dd469
2020-04-06 09:02:18 +02:00
Moritz Schubotz (physikerwelt) c57ee06598 Change default for wgMathLaTeXMLUrl
The xsede project was terminated. Thus a new sane default is needed.
This value is picked up by extension MathSearch.

Bug: T117659
Change-Id: I7845484a603ef008c9373b76202705c818184dc1
2020-04-05 16:35:25 +00:00
jenkins-bot 29d7bf8363 Merge "Use assertStringContainsString in unit tests" 2020-04-05 13:50:07 +00:00
Umherirrender e599afa6db Use assertStringContainsString in unit tests
Using assertContains() with string haystacks is deprecated and will not
be supported in PHPUnit 9. Refactor your test to use
assertStringContainsString() or assertStringContainsStringIgnoringCase()
instead.

Change-Id: Ic35f3c60a7f49dfe244b87192d7f161c117b37e1
2020-04-05 13:46:04 +02:00
libraryupgrader 474df5bd3d build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Ib37f2192127f0821c65f7eeda30252a478be17af
2020-04-05 07:51:27 +00:00
Translation updater bot f0a67751d0 Localisation updates from https://translatewiki.net.
Change-Id: Id5f420fbd69eefc5a6bebaf929006331beee70ae
2020-04-03 08:28:41 +02:00
C. Scott Ananian 6a9299a2da Update to parserTests v2 (tidy by default)
Bug: T174199
Change-Id: I5e6bb7fa3c36023ba70a24dfef8ea409aad55453
2020-04-02 14:19:46 -04:00
jenkins-bot b9dcb9525e Merge "Add tracking category for pages that use a deprecated LaTeX syntax" 2020-04-02 10:24:00 +00:00
Translation updater bot d0ae8004a0 Localisation updates from https://translatewiki.net.
Change-Id: I5fa842eed47aeec5eb014008f72e212e57452f1f
2020-04-01 08:25:15 +02:00
Moritz Schubotz (physikerwelt) 9dad688f44 Add tracking category for pages that use a deprecated LaTeX syntax
Discussions in the Wikimedia Math Community show that there is consensus
to deprecate the use of MediaWiki specific LaTeX macros that conflict
with LaTeX macros from commonly used packages.
In this change, we show the deprecation warnings generated by mathoid.

Bug: T197842
Change-Id: I24dbb446665fdc227d0e7342fdbf8829b4c1bda4
2020-03-30 21:56:58 +02:00
Translation updater bot 955576ef21 Localisation updates from https://translatewiki.net.
Change-Id: I7c840f6e848024b8a8fefbfcd1612fbcb7433e1a
2020-03-30 09:14:24 +02:00
Translation updater bot 7e28e32ee0 Localisation updates from https://translatewiki.net.
Change-Id: I8d40f00d7d5b998c234e2fd3d419f3f05c1965e9
2020-03-24 08:49:44 +01:00
Thiemo Kreuz a429c8cc35 Fix escaping issues and a series of unrelated code cleanups
Actual changes:
* Let the special page accept the subpage parameter, e.g.
  [[Special:MathWikibase/Q6203]].
* Fix some of the message escaping issues in SpecialMathWikibase.
  Messages that are just plain text and not supposed to contain any
  parameters, wikitext, HTML, or something like this should be
  properly escaped, either via Html::rawElement( $msg->escaped() ) or
  better Html::element( $msg->plain ). The later approach is cheaper.

Other code cleanups that don't affect production:
* Reduce the amount of duplicate code in SpecialMathWikibase.
* Make use of the preg_match() return value.
* Remove default parameters from parent::__construct() call.
* Remove some auto-generated comments.
* Remove some comments that don't add new information, but just repeat
  what the code already says.
* Make use of PHPUnit's assertCount().

We can split this patch into smaller patches, if you prefer. This
should especially be done if one of the changes is controversial, to
not block the other changes. Please tell me.

Change-Id: I8c20014435af3d2ac9c7381fe5fd00b9fe49b2c2
2020-03-21 14:53:15 +00:00
DannyS712 08291a2adc extension.json - don't use array syntax when hooks only have 1 handler
Change-Id: Icedb34ae5183240458d2da39a031df60093c8d6d
2020-03-21 10:20:39 +00:00
libraryupgrader 88d85a94d8 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.4.0 → 6.8.0
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Ia0b3506afd49153d5f4a5c815ef59764698b0aea
2020-03-21 03:33:04 +00:00
DannyS712 f5d0db1707 Use lowercase for primitive type 'string'
Change-Id: I17b5256ee73d68f3b57801512abac05a5c0d0c03
2020-03-20 15:34:55 +00:00
libraryupgrader bcf50cb38a build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Ieb016bc74a9206a4fdac4507a4a47957ccfca2c5
2020-03-19 00:07:01 +00:00
Translation updater bot b98029d180 Localisation updates from https://translatewiki.net.
Change-Id: I9dcca7ae534166446f4d9d0756e4ae8fc4b2d36c
2020-03-18 08:58:11 +01:00
Translation updater bot 4578c4e0f5 Localisation updates from https://translatewiki.net.
Change-Id: Ic1848c9d6167bde703792d86d5856e427506fbb8
2020-03-16 16:01:39 +01:00
Timo Tijhof f59757a338 Replace $wgContLanguageCode with $wgLanguageCode
$wgContLanguageCode has been an unconfigurable copy of $wgLanguageCode
since 2006 (MW 1.8).

Bug: T247674
Change-Id: I1d2ec1e63320086fdf9ab7c6321f949c99c1ab2a
2020-03-14 19:31:26 +00:00
Translation updater bot 28ee42c34a Localisation updates from https://translatewiki.net.
Change-Id: I14246071fd2d365c2d63d7cd0c1727b53f541230
2020-03-13 08:54:37 +01:00
jenkins-bot f46d2e6eec Merge "Avoid using Title::__construct" 2020-03-08 19:53:20 +00:00
Daimona Eaytoy 10aee4e9a5 Avoid using Title::__construct
Change-Id: I4241487d77a9528ca06251ab25e2d2b08401d893
2020-03-08 10:33:17 +00:00
libraryupgrader 7b99fd1c85 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I9f19211b735a4a83353b86194488a6ee72a7c9ae
2020-03-08 08:48:09 +00:00
DannyS712 7d38b11af5 Use ParserOptions::newFromAnon() instead of relying on global $wgUser
Bug: T246861
Change-Id: I42c813a72a2ecacbdc96777d1a94485ac890fba0
2020-03-07 02:19:08 +00:00
Translation updater bot 88d3b286b5 Localisation updates from https://translatewiki.net.
Change-Id: I15e6b198505b7368ede100f6512bfde4c37bb85d
2020-03-05 08:39:06 +01:00
Translation updater bot b559e701bf Localisation updates from https://translatewiki.net.
Change-Id: Ic5f646fd2ba76c8439cd846eb25decf3022da969
2020-03-02 09:10:42 +01:00
Translation updater bot a146225121 Localisation updates from https://translatewiki.net.
Change-Id: Ife563340385b01718e338e52946a468d1805cee1
2020-02-28 08:22:39 +01:00
Translation updater bot fed4208693 Localisation updates from https://translatewiki.net.
Change-Id: I85a1b8ec37dfc8a99a59af901f293f6f8bebda48
2020-02-25 09:36:56 +01:00
Translation updater bot 86a21d7e7d Localisation updates from https://translatewiki.net.
Change-Id: If01ddaa726638c87cb6ab9151c109acab46e89c6
2020-02-24 09:03:05 +01:00
libraryupgrader cb562ba649 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I1d0d8d387e5983fadaa915319b7cace5626ee91d
2020-02-20 23:06:21 +00:00
Translation updater bot a89c8ea2b8 Localisation updates from https://translatewiki.net.
Change-Id: Ic03113363508813d932c2b2012f481980b6b5af9
2020-02-20 09:27:15 +01:00
Translation updater bot 1348a8a64e Localisation updates from https://translatewiki.net.
Change-Id: If45d75d947c9760912393aac24a7de50c716e12f
2020-02-19 08:25:11 +01:00
peter-ovchyn 90b26c0878 parser: Replace 'new Parser' in favour of using ParserFactory/MediaWikiServices
Bug: T244055
Change-Id: I4049f155d066b165f0d5ec634da54b0bfed89188
2020-02-18 12:55:14 +02:00
Reedy 7345e85b26 Remove trailing : from log error messages
Change-Id: Ie11662d0e55f553917df7a869de4b8019a827ae8
2020-02-14 21:13:07 +00:00
Reedy 819881ad9c Stop using 'url' param when logging
Bug: T245306
Change-Id: I3ba196e01afe172a99d15abf654a630a3f3d219f
2020-02-14 21:13:00 +00:00
Reedy c3a2b12077 Fix some excessive indenting
Change-Id: Icbd2f1461cbff96ad984b23738fb056a6c25af23
2020-02-14 20:57:23 +00:00
Translation updater bot aee0431b1b Localisation updates from https://translatewiki.net.
Change-Id: I01b44993a19bd370d8d75f0fbe9f186c3ce5d1f9
2020-02-11 08:19:29 +01:00
Translation updater bot d11009d16a Localisation updates from https://translatewiki.net.
Change-Id: I21e12ffa694e7c4e0de76eaad60a9dd1368bc6c9
2020-02-10 08:34:34 +01:00
Translation updater bot 47679cd239 Localisation updates from https://translatewiki.net.
Change-Id: I62a7e253e3d17b9f5fb9cd78b2432c6c1e8bcdc0
2020-02-05 08:19:15 +01:00