Commit graph

1556 commits

Author SHA1 Message Date
Translation updater bot 8f96f27912 Localisation updates from https://translatewiki.net.
Change-Id: I0a542dd46a1191f719e548bac6c47b3d6490146c
2018-04-22 22:21:54 +02:00
jenkins-bot a1263dbe1f Merge "Update @license tags from GPLv2 to GPL-2.0-or-later" 2018-04-16 22:54:20 +00:00
jenkins-bot ad2a252ac0 Merge "build: Updating mediawiki/mediawiki-codesniffer to 18.0.0" 2018-04-15 19:40:42 +00:00
libraryupgrader d53d01b97d build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

Depends-On: I4e9749d8058cd6e55c7a4818d01c9d10a9d62efc
Change-Id: Ic4fbcb9ca724e940c102ac6feee0740b583cb14e
2018-04-14 22:39:05 +00:00
Translation updater bot cbbdb83251 Localisation updates from https://translatewiki.net.
Change-Id: If86799bffdfeaa0fe28faae5b0dbede69a7caa73
2018-04-14 22:13:58 +02:00
Thiemo Kreuz 0e8c745885 Update @license tags from GPLv2 to GPL-2.0-or-later
Change-Id: I150433038f8411df0b9f40f5c8933d7a533f426b
2018-04-14 09:36:27 +00:00
Jayprakash12345 270b942c64 Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I2fe982bc146355d7faec03e39a2a59e9d32e22be
2018-04-13 17:37:23 +00:00
jenkins-bot 0a8608399a Merge "Fix MathFormatter failing on new SnakFormatter format MIME types" 2018-04-13 16:11:03 +00:00
Thiemo Kreuz 1f87afa8e6 Fix MathFormatter failing on new SnakFormatter format MIME types
A formatter like this is not supposed to check if the format is known
or not. The code calling these formatters can introduce new (sub) formats
any time. What a formatter like this should do then are two things:
* If it's some HTML format, always return HTML.
* If you really can't identify the format, do a sensible fallback.

This currently blocks introducing a new format in Wikibase.

Bug: T46727
Change-Id: I585069e8f2ba33ec657ca4d514c6d502fe0f5ba3
2018-04-13 14:46:58 +00:00
jenkins-bot 3291177420 Merge "Use "@license GPL-2.0-or-later" according to SPDX" 2018-04-13 14:21:44 +00:00
jenkins-bot dd042cb590 Merge "Use short "@license MIT" according to SPDX" 2018-04-13 14:20:46 +00:00
jenkins-bot d062b933cb Merge "Remove @file tags from normal class level comments" 2018-04-13 14:09:34 +00:00
jenkins-bot 04e17f7e1e Merge "Remove non-helpful comments" 2018-04-13 14:09:33 +00:00
Thiemo Kreuz 945ef79559 Use "@license GPL-2.0-or-later" according to SPDX
Change-Id: I5b9ba062f51dce9fcc10f7c31f37c137176bfff3
2018-04-13 16:07:10 +02:00
Thiemo Kreuz 801888d34b Use short "@license MIT" according to SPDX
Note there is not even a LICENSE.txt in this code base.

Change-Id: I3dccd4187f4a20e3f040c812c5811298794d469a
2018-04-13 16:04:06 +02:00
Thiemo Kreuz 920ca42c59 Remove insonsistent "@ingroup Extensions" tag
This is obviously copy-pasted from somwhere else. Note that this tag
only appears in these two files. No other file does have it. It's not
useful for anything this way.

Change-Id: I7e0dcf0594fb59b396b1fd26b13383d59227b3f9
2018-04-13 15:33:41 +02:00
Thiemo Kreuz 3f0398e031 Remove non-helpful comments
Documenting protected members as protected members is not really helpful.
One can see this by looking at the code.

Same for documenting a variable named "$html…" as "HTML". This does not
add anything.

Change-Id: I72364b6857166d77b9c85aa884cd139dc163c6bb
2018-04-13 15:32:05 +02:00
Thiemo Kreuz cb76291cbf Remove @file tags from normal class level comments
The @file tag is helpful when a block of documentation does not refer
to a class, but to a file. This is not the case here. These comments
can be normal class level comments.

Change-Id: I5ea1a1ecbe2dd681b91b793d4e45e7cd8dee529e
2018-04-13 15:29:59 +02:00
jenkins-bot 82e4283f02 Merge "Fix parameter docs" 2018-04-08 20:04:38 +00:00
Translation updater bot c56ece4620 Localisation updates from https://translatewiki.net.
Change-Id: I27e9fc4471389e34be366fbd11279a13ca2b9ce2
2018-04-07 22:34:30 +02:00
Umherirrender bbc88d5f5d Fix parameter docs
* Removed () from param doc
* Fix return type
* Changed default type

Change-Id: I82d81c99683cb79d60980eaa702c99110af6db94
2018-04-07 21:04:07 +02:00
jenkins-bot 882c4c4450 Merge "Add missing use for namespace Wikimedia\Rdbms" 2018-04-06 14:16:04 +00:00
Translation updater bot 1ca735b9e0 Localisation updates from https://translatewiki.net.
Change-Id: I5742d7ae709d7db7b9376dcfeeac491cd0a2b6b2
2018-04-05 22:22:23 +02:00
Umherirrender ccffa0ece9 Add missing use for namespace Wikimedia\Rdbms
Change-Id: I0aa99485a180644cf86e48a5a0cc53b6f578dc34
2018-04-05 16:11:14 +02:00
Translation updater bot 5e236bc5e1 Localisation updates from https://translatewiki.net.
Change-Id: Ifc2b68c195c1a486ada8a57037d0e0690abed51f
2018-04-04 22:50:39 +02:00
libraryupgrader 5a076f94aa build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ia8000677263c4150d4900526bcba1c0602664b8e
2018-03-29 03:44:44 +00:00
Translation updater bot 792a3195e2 Localisation updates from https://translatewiki.net.
Change-Id: I26283f3335b1667a6d98810e53a957207d55a0cf
2018-03-24 22:29:29 +01:00
Ed Sanders 6d042da104 Redraw icons to fit 20x20 canvas better
Change-Id: I1222cbcb1e78ded144f1ac1e6376bfebb32be3c7
2018-03-22 15:34:55 +00:00
Bartosz Dziewoński e04e5ee28a Update icons for new 20px grid
Set viewBox to "2 2 20 20" to trim 2px off each side of our
existing 24px icons, therefore aligning them to the new 20px
grid. All of them had been drawn with large margins, so none
of the graphic is lost.

Bug: T177432
Bug: T190151
Change-Id: Ifaa8c27450cde7ed25d4429bd8aba25bcba3bfcc
2018-03-20 18:56:16 +01:00
Translation updater bot 26aa1bc89b Localisation updates from https://translatewiki.net.
Change-Id: I3b43e08ff503ee943c2d553e9932beb6b867e82b
2018-03-19 22:19:33 +01:00
Umherirrender 43b187e6fd Move @covers closer to test class
Change-Id: I25987f180c134b53f7ade3e2a2225328f5b088a8
2018-03-10 12:20:29 +00:00
libraryupgrader 3d9083d7aa build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I42697ab80e81e074466c0440c47498f57c403e75
2018-03-09 15:59:30 +00:00
Translation updater bot d30de4de61 Localisation updates from https://translatewiki.net.
Change-Id: I4ca9285e793a5aa1d28fda14612e70f8228e7b5e
2018-03-06 22:18:43 +01:00
Translation updater bot 662f471f7f Localisation updates from https://translatewiki.net.
Change-Id: If6ef3d7e15bc1a03c304b80cdf91736c965f713a
2018-03-05 22:24:49 +01:00
Translation updater bot 1428157fb6 Localisation updates from https://translatewiki.net.
Change-Id: I3622449641d85490504f8efd5e27712d9c47f11e
2018-03-01 22:41:55 +01:00
Translation updater bot 122a18be98 Localisation updates from https://translatewiki.net.
Change-Id: I5d34880d0b121394544efbd5fba64e3450344f7f
2018-02-28 22:27:33 +01:00
libraryupgrader bdf1661998 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I79b047adeb4b15f57b2ed27115be9dae66ee9ad7
2018-02-25 09:32:40 +00:00
Translation updater bot 92606cfecd Localisation updates from https://translatewiki.net.
Change-Id: Ie88a5dec024281c049191072d48cfa434b6b7520
2018-02-22 23:22:13 +01:00
jenkins-bot 13640dfeea Merge "Mathoid CLI interface" 2018-02-21 22:39:41 +00:00
Moritz Schubotz (physikerwelt) b9f84f804b
Update default configuration
Make math run out of the box without any additional setup.
After this the only remaining 'additional' requirement is 'php-curl' (cf. I25edfcb34ee5451a742cac6ae099019a16f6c417)

Bug: T186327
Change-Id: Ied495f0a4bb2d6292a8d926ae3e2891a0091eeed
2018-02-21 22:09:22 +01:00
Moritz Schubotz d8822169ab
Mathoid CLI interface
Renders formulae via mathoid without to run mathoid as a service.
Mathoid 0.7.1 or later must be installed locally and configured to be
accessed directly from the math extension. It has been tested with the
config.dev.yaml of version 0.7.1. If mathoid is installed in
'/srv/mathoid' the following line might be added to LocalSettings.php
$wgMathoidCli = ['/srv/mathoid/cli.js', '-c', '/srv/mathoid/config.dev.yaml'];
i.e., make sure to specify the -c parameter with an absolute path.
In addition mathoid uses more memory than the the default. With
the config.dev.yaml a value of
$wgMaxShellMemory = 2097152;
has been tested to work well.

Change-Id: I0600f056d21927963267cf979d342e313419e9fa
2018-02-21 20:29:20 +01:00
Translation updater bot d4a154ade2 Localisation updates from https://translatewiki.net.
Change-Id: Icc7becec9ddc0c4b5df997646b10b24f2d6c58da
2018-02-19 22:25:37 +01:00
Translation updater bot 60759ffaaa Localisation updates from https://translatewiki.net.
Change-Id: I6ba5228ac996bf0640f3d9a7bf35294f82c5e7bf
2018-02-18 22:40:52 +01:00
libraryupgrader c48824d18f build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I77c6db348a9d125c2c9254cf7884384395858a7b
2018-02-18 04:07:31 +00:00
Translation updater bot 8f21a49179 Localisation updates from https://translatewiki.net.
Change-Id: I824e6581edf9fddda7f509d8ea706c4a4584fdce
2018-02-16 22:29:19 +01:00
Translation updater bot d027a2e1d8 Localisation updates from https://translatewiki.net.
Change-Id: Iffaa48ba4c86a5cea737610c8f51d526c29158e0
2018-02-15 22:47:14 +01:00
libraryupgrader f64b4c02be build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: I22f0c182708ae13db4510b46e5ab47b5456356fb
2018-02-15 12:23:00 +00:00
Tulsi Bhagat b9c070c6f2 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I09a57f53db1cb830b832849c4cd7307c460d3156
2018-02-12 11:19:56 +00:00
Translation updater bot b4863f4351 Localisation updates from https://translatewiki.net.
Change-Id: Ieda4c04e80a32fb826d66f18c4ffe70fc7a8b476
2018-02-12 09:23:44 +01:00
Umherirrender bd01ab6e27 Remove unneeded variable assignment
Change-Id: If1c6427ca57430ff89cac3604bbed47cba9561a0
2018-02-06 20:41:10 +01:00