Commit graph

1405 commits

Author SHA1 Message Date
jenkins-bot bdc65a3f3a Merge "Remove redundant multiline option" 2017-07-18 19:23:38 +00:00
jenkins-bot f532f0cb77 Merge "Remove deprecated SnakFormatter::FORMAT_HTML_WIDGET constant" 2017-07-18 15:38:47 +00:00
Ed Sanders 24a024ee8e build: Upgrade grunt-eslint from 19.0.0 to 20.0.0, and other linters
Change-Id: I4a8b9ece024164053e69a2a8f6fbd6406737d373
2017-07-18 13:04:49 +01:00
Translation updater bot 2fdce87b92 Localisation updates from https://translatewiki.net.
Change-Id: I9b021d38b00756a9570422fcf0e0d7c2ef92fed9
2017-07-17 22:52:39 +02:00
Thiemo Mättig c5ffe1a34e Remove deprecated SnakFormatter::FORMAT_HTML_WIDGET constant
Change-Id: Ia9f867b64c590a0db30cb8d6b612164464f38b04
Depends-On: Icb446783a6c27090095e66492a75fcb3bb0f66c1
2017-07-16 19:16:22 +00:00
Translation updater bot bfc3516a15 Localisation updates from https://translatewiki.net.
Change-Id: I9e865020855e90f1bb7bd54fd9dc8b7457634038
2017-07-13 22:45:50 +02:00
Translation updater bot a8f364818f Localisation updates from https://translatewiki.net.
Change-Id: I2ff4f8bbcba8d18f9f8fc7130e355d48c947aaa6
2017-07-12 23:06:32 +02:00
Ed Sanders b923169efa Remove redundant multiline option
MWAceEditorWidget is now multiline by inheritance

Bug: T170275
Change-Id: I0efe1299ceb441c70d106e3b25514c0c0a7dfdce
2017-07-12 16:26:54 +01:00
jenkins-bot 368d2472d8 Merge "More strict regular expressions for CSS parsing" 2017-07-11 07:41:20 +00:00
Thiemo Mättig 1ac3ab619e More strict regular expressions for CSS parsing
Having greedy .* matchers in these regular expressions is quite scary,
and a possible source of hard to track errors. For example, a string
like "height:8px;left:3ex" will make these regular expressions succeed,
even if they shouldn't. The substring "8px;left;3" will be fetched, and
most probably turned into something unexpected like "8ex" for the
calculations below.

Change-Id: Ia6753a58802fb3f3c5df4d2b35a6d8e616835f20
2017-07-11 07:33:34 +00:00
Translation updater bot ee1f6318e2 Localisation updates from https://translatewiki.net.
Change-Id: Id76adb7788f80639f6093c4c3dda578d2a9e6297
2017-07-10 22:43:41 +02:00
jenkins-bot 82e7eb98f6 Merge "Fix and add missing documentation and fix minor code smell issues" 2017-07-10 13:03:19 +00:00
Thiemo Mättig 3e45f5fd77 Fix a few minor control flow issues as reported by PHPStorm
Change-Id: Iad4499e679d7c333b4be49c6e1ad772c6a14a931
2017-07-10 11:48:18 +02:00
Thiemo Mättig bdeec56d1f Fix and add missing documentation and fix minor code smell issues
Change-Id: Ifa2f8a47fbd0bdd20334f59dd06a21339b9a4292
2017-07-10 11:40:12 +02:00
Translation updater bot ed7fdd990c Localisation updates from https://translatewiki.net.
Change-Id: I0d3b6e969cb78a3de6e2bbf965d3048f7ab7ef96
2017-07-02 22:40:40 +02:00
Kunal Mehta d80553c831 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: Id7b5e85522ca8ccfc65cb3df0f487352fab0aa92
2017-07-01 01:33:20 -07:00
Translation updater bot 9f2b18ebcf Localisation updates from https://translatewiki.net.
Change-Id: I87212a558b750a886beed9c72e90c3199e0e3451
2017-06-30 23:27:14 +02:00
Translation updater bot f86d465d01 Localisation updates from https://translatewiki.net.
Change-Id: I35c94d209995035f42457c9348b467cb01954ba5
2017-06-25 23:06:09 +02:00
Translation updater bot b86e979903 Localisation updates from https://translatewiki.net.
Change-Id: I974e9a80358f82323930d72596fe091641281370
2017-06-24 22:44:26 +02:00
L10n-bot 8a358819b2 Merge "Localisation updates from https://translatewiki.net." 2017-06-23 20:39:10 +00:00
Translation updater bot e6cf6461ee Localisation updates from https://translatewiki.net.
Change-Id: I0ee4ce7148559e054fc8fa159544498a9e245c93
2017-06-23 22:38:52 +02:00
jenkins-bot 7787f3454d Merge "Add PNG and MathPlayer fallback for Wikidata user" 2017-06-23 20:38:08 +00:00
Kunal Mehta fbd17b4fef build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.DuplicateReturn
* MediaWiki.Commenting.FunctionComment.MissingParamComment
* MediaWiki.Commenting.FunctionComment.MissingParamName
* MediaWiki.Commenting.FunctionComment.MissingParamTag
* MediaWiki.Commenting.FunctionComment.MissingReturn
* MediaWiki.Commenting.FunctionComment.ParamNameNoMatch
* MediaWiki.Commenting.FunctionComment.WrongStyle
* MediaWiki.FunctionComment.Missing.Protected
* MediaWiki.FunctionComment.Missing.Public
* MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment

Change-Id: I46c900a5652a6560d18be6cd67badc37ed7f8d97
2017-06-21 00:59:25 +00:00
jenkins-bot 08b6259bb4 Merge "Remove @codingStandardsIgnoreFile from alias file" 2017-06-19 07:00:49 +00:00
Translation updater bot 0eb543a938 Localisation updates from https://translatewiki.net.
Change-Id: If81b188bf3d97bd6eb499b132d57e119180fd082
2017-06-18 22:40:57 +02:00
Umherirrender 7d48c965b8 Remove @codingStandardsIgnoreFile from alias file
Change-Id: Ib3dec2c85c058e977ac2d7bf4c805b4f27567760
2017-06-18 00:03:49 +02:00
Translation updater bot bfbe45f8e7 Localisation updates from https://translatewiki.net.
Change-Id: I534723a53a89d1b1234f9390de97e33bb38f56eb
2017-06-12 22:38:03 +02:00
Translation updater bot e7b72838ee Localisation updates from https://translatewiki.net.
Change-Id: I35c178f8eb4c312872fef0dabfeff7c8a9730223
2017-06-11 22:29:01 +02:00
jenkins-bot 9d840da775 Merge "Add a few symbols to the math dialog menu" 2017-06-09 15:23:45 +00:00
Ed Sanders 407bfc4f3b Limit overflow-x rule to block elements
The overflow-x rule has no effect on inline elements
anyway, as documented in T134281, and it confuses
logic in VE for computing highlights.

Bug: T167438
Change-Id: Ifb9e503386c2e0bb101265310767ca9d00ad0c44
2017-06-08 17:26:32 +01:00
Ed Sanders 742afcdb8b Specify iconWhenInvisible for math/chem nodes
Bug: T166526
Change-Id: I42703d15fa7e491d85d01899c706dbca4e5816b6
2017-06-07 22:41:16 +01:00
Amir Sarabadani f4c9284cbc Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ie9e4ed879e686b4b2e50be19b1f490edde08e723
2017-06-07 14:32:26 +04:30
Thalia 5d222caaa8 Add a few symbols to the math dialog menu
Change-Id: Id9fdbde64957af149784bb16ac225e3896bb9b8d
2017-06-05 19:00:54 +01:00
Translation updater bot 69d3915fab Localisation updates from https://translatewiki.net.
Change-Id: I2a262d464c8309ebaa89eab9e1443fa8dd54724f
2017-06-04 23:23:13 +02:00
Translation updater bot 44cb4c0421 Localisation updates from https://translatewiki.net.
Change-Id: I5cbfb3ce42a37d67dd848edd62b046ddefe1ee7b
2017-06-03 22:39:16 +02:00
jenkins-bot 8d7d411090 Merge "Remove math script from Wikibase client styles queue" 2017-05-30 22:20:04 +00:00
jenkins-bot df4cf5ec1d Merge "Purge formulae on action=purge" 2017-05-30 20:55:55 +00:00
Translation updater bot 82a204afba Localisation updates from https://translatewiki.net.
Change-Id: Ic66082c9e4940c778d813520c391eb2b6db2c3a2
2017-05-28 22:26:46 +02:00
Moritz Schubotz 464886c3cb Add PNG and MathPlayer fallback for Wikidata user
In MathML rendering mode custom javascript is executed
to check if the brower has MathPlayer installed. In addition
it's checked if the browser supports SVG rendering. This
functionality was broken in Wikidata, since the scripts were
loaded as styles and not as JS modules.

Change-Id: I5fd8eafc89e01c6ec10cf0f3b71e885ec3a4399c
2017-05-26 18:15:31 +02:00
Moritz Schubotz 46ccf11e8e Purge formulae on action=purge
Previously, the 'action=purge' parameter could not be
accessed by the math extension, since 'action=purge' caused a reload
of the page, even before the math extension was called. However,
before MediaWiki 1.29.+ additional GET request parameter were
forwarded to the next page and could be evaluated by the math
extension. Thus, an additional parameter 'mathpurge=true' was added
to re-render formulae. However, it seems that this additional GET
parameter is no longer being forwarded.

This change reads the refer header to check if 'action=purge' was
passed. This makes the mathpurge parameter obsolete.

Bug: T74537
Change-Id: Ia09c039de3a7232a28bfdd5a97daf1029e5d7c40
2017-05-26 17:50:35 +02:00
Moritz Schubotz 303e64c502 Remove math script from Wikibase client styles queue
Follows-up 946a18d1, which accidentally added a scripts module
to the styles queue (which is a no-op) and fcdfc316 which removes
it from the repo.

Fixes the following debug warning:
> Unexpected general module "ext.math.scripts" in styles queue.

Bug: T158376
Change-Id: I432e724d5f84887f4aecb56db607d189db12c329
2017-05-26 17:24:50 +02:00
Translation updater bot 9b4316330c Localisation updates from https://translatewiki.net.
Change-Id: I11838d04a09f4d17c8a036cd8a4215fdcac27d97
2017-05-25 22:42:09 +02:00
jenkins-bot 91fa3002a5 Merge "Use TabPanelLayout instead of the deprecated CardLayout" 2017-05-20 21:34:31 +00:00
Translation updater bot 5ca5a46848 Localisation updates from https://translatewiki.net.
Change-Id: Ie01c925801c9dc4338b5a9ec8b88de5e2444665d
2017-05-20 22:40:43 +02:00
Nemo bis 626f3167e8 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 6cf46d4167.

Change-Id: I9abd46706552cae4246924c298a79c81bdece530
2017-05-19 09:04:38 +00:00
Translation updater bot 6cf46d4167 Localisation updates from https://translatewiki.net.
Change-Id: I43ca6bb8ead1621d8ff6c2dddc1565b62ddd7efd
2017-05-18 22:45:18 +02:00
Prateek Saxena ff8a903fa6 Use TabPanelLayout instead of the deprecated CardLayout
Bug: T164902
Change-Id: I979cb14b8430bf89ae9a453786bc4337ef82211d
2017-05-17 15:02:42 +05:30
Amire80 4784fbad35 Remove MathJax messages from en.json
Bug: T165475
Change-Id: I60a63c68552d3a9333c8a099c8893179739149ba
2017-05-16 14:03:59 +03:00
Translation updater bot 6739878683 Localisation updates from https://translatewiki.net.
Change-Id: I9661ff81a453b0930041a4f4447ec5dbf3839416
2017-05-13 22:32:33 +02:00
Translation updater bot 75119bd306 Localisation updates from https://translatewiki.net.
Change-Id: Ie094614813edbdb9312b183abb356a129b8c0f81
2017-05-12 23:03:02 +02:00