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
Translation updater bot
443273c7a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I2394685cbbe24a9bed35719ea8da1188f5aa005a
2017-05-11 23:17:52 +02:00
Gabriel Wicke
c3432c7af4
Better error handling for math render errors
...
So far, rare render errors caused by blips in the network or the mathoid
service produce a big red warning in the page, and cause a tracking
category to be added. The rendered content along with the error message
is cached normally, which means that temporary errors are persisted
indefinitely.
As a consequence, editors need to periodically perform null edits to
remove temporary render errors from caches. T136812 documents a history
of this.
This patch aims to improve error handling through two changes:
1) Limit caching of rendered content to 10 minutes. As a consequence,
temporary render errors should clear themselves up fairly quickly,
eliminating the need for manual follow-up. The 10 minute timeout was
chose as a compromise between relatively timely cleanup, and limited
load from re-renders after math trouble.
2) Track render errors in a dedicated category. This avoids mixing
syntax errors with temporary render errors, which should make cleanup
efforts a lot simpler.
Bug: T136812
Change-Id: If7537ed9117fb736a09f4396b7d55d774ce9674f
2017-05-10 14:38:50 +02:00
Translation updater bot
29b13c5c18
Localisation updates from https://translatewiki.net .
...
Change-Id: Icea3053d25a5c2b84a349f4406d66a7155bf8eda
2017-05-09 22:54:37 +02:00
Translation updater bot
d2e8412d52
Localisation updates from https://translatewiki.net .
...
Change-Id: I574570b85b0ee1b1529251adffb3c4af056ba64a
2017-05-07 23:04:51 +02:00
Translation updater bot
f5c6737dc9
Localisation updates from https://translatewiki.net .
...
Change-Id: I4aca021603002e6b2fb0b79a7a03cb6b3482bc7c
2017-05-06 22:49:34 +02:00
Translation updater bot
cf4c2cda0b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ec2550e0cdd21574faba78cc71985ed85b7a976
2017-05-05 22:40:28 +02:00
Antoine Musso
588ee11d81
build: add jakub-onderka/php-console-highlighter
...
Highlight PHP code when parallel-lint fails
Change-Id: Ie7582baa805457a0445a119bfd5fb859f693e51f
2017-05-05 21:40:01 +02:00
jenkins-bot
c0ee069563
Merge "build: Update eslint to 0.4.0"
2017-05-04 22:55:36 +00:00
Translation updater bot
640bd53386
Localisation updates from https://translatewiki.net .
...
Change-Id: Iba039c445183d49d74a5e457cf373100316ce206
2017-05-04 22:53:51 +02:00
Ed Sanders
6363206379
build: Update eslint to 0.4.0
...
Change-Id: I991df38973cac0dfc018bca925578648be6ee389
2017-05-04 21:52:38 +01:00
Translation updater bot
542674776d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie144772ff4d9028c4204d94d078c311cfcfcff38
2017-05-02 23:01:32 +02:00
Translation updater bot
753e578a45
Localisation updates from https://translatewiki.net .
...
Change-Id: Iadf87c3e8477c40495956a9119dbca9253ccf321
2017-04-29 23:15:36 +02:00