Commit graph

2694 commits

Author SHA1 Message Date
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
Moritz Schubotz (physikerwelt) 26e9f00c2a
Fix broken links in phpunit covers annotations
Phpunit now checks if the coverage annotations are reasonable.

This fix corrects unresolvable references in phpunit covers annotations.

Change-Id: I7eba10bd7dc445b175df750465bb80bd5ef0f4c6
2018-02-05 16:24:46 +01:00
Ed Sanders 4831953040 build: Update linters
Change-Id: I7e93fa1af8f1f3d3bee9e4dd5c9d65142d6cf793
2018-02-04 22:08:31 +00:00
Kunal Mehta 1509a19a3f Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I998ba3c3b3adaf66b7a028d5fab1d7169d595b6c
2018-01-31 23:19:23 -08:00
Translation updater bot 793f37e94c Localisation updates from https://translatewiki.net.
Change-Id: I5458503cfe7dce119c2e6cfd92e1af7c68591e39
2018-01-30 22:16:52 +01:00
Translation updater bot 80f4d08f37 Localisation updates from https://translatewiki.net.
Change-Id: Ic6d451f12ebcb77ede35c6aa61706c59b5634d33
2018-01-29 22:20:25 +01:00
Ed Sanders 2fe32f6b5d build: Update linters
Change-Id: I3a6d0898ad79c4e5dc1663280f5d18702c286fb8
2018-01-29 17:47:03 +00:00
Translation updater bot 18160e4d8f Localisation updates from https://translatewiki.net.
Change-Id: Iedcfdf77141b65fb15f2468bdc82f6d0a839dc3d
2018-01-18 22:49:38 +01:00
Ed Sanders 271a149b5f getSelectedItem() -> findSelectedItem()
Change-Id: I6ddf1ab488774f22fd566846c38483dcaf35ab27
2018-01-17 13:49:06 +00:00
Translation updater bot 363b8cda99 Localisation updates from https://translatewiki.net.
Change-Id: I2726e93f9a5720d65429cd9b3bf6b8588ef3cf7a
2018-01-15 22:25:18 +01:00
Ed Sanders 23054cfe5b Fix auto-height when CodeMirror not available
Change-Id: I0e88b12b0e67f471bac8ab767cdeca8ac7bafeec
2018-01-11 15:10:17 +01:00
Translation updater bot fa583e68e7 Localisation updates from https://translatewiki.net.
Change-Id: I445420ac13003f0c853e894558ffc747b73b0c6b
2018-01-09 22:29:41 +01:00
libraryupgrader fab259540f build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
The following sniffs are failing and were disabled:
* Generic.Files.OneObjectStructurePerFile.MultipleFound
* Squiz.Scope.MethodScope.Missing

The following sniffs now pass and were enabled:
* MediaWiki.Files.OneClassPerFile.MultipleFound

Change-Id: Ib51d7ec178a897cc62fd4d0143874b7bf8082f92
2017-12-30 01:27:41 +00:00