Commit graph

2868 commits

Author SHA1 Message Date
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
Ed Sanders 3189409b7c Remove separate stylelint config for VE
Change-Id: I2698ef817a27a783f19b73c2780ba7410640a2b8
2017-04-28 17:37:45 +01:00
Ed Sanders 9e1986131c Remove eslint:fix
Not very useful now rules are stable.

Change-Id: I67407404acbf4f647c800961c46452628981330e
2017-04-28 17:37:45 +01:00
Translation updater bot 05166d9ecd Localisation updates from https://translatewiki.net.
Change-Id: I2081a7519eedf4895e6d797e434e1eac92a833cf
2017-04-23 22:38:17 +02:00
Translation updater bot e9da713987 Localisation updates from https://translatewiki.net.
Change-Id: I684f5109a64132996e226e55da96bb23c8aadf16
2017-04-19 23:04:04 +02:00
Translation updater bot be8cc44e88 Localisation updates from https://translatewiki.net.
Change-Id: I08ae4886b8d4f85ddc550eb60a5b5dc35ab06b32
2017-04-17 22:34:22 +02:00
Translation updater bot 6927f7c8c9 Localisation updates from https://translatewiki.net.
Change-Id: If065fa2b639cb95e3e6bdee30053a49dcc3f993f
2017-04-16 10:24:01 +02:00
James D. Forrester 5a6626fcce stylelint: Drop unsupported no-unsupported-browser-features reference
Change-Id: I0f0098ddb299167e94079e068f2cc2a8f3e0262e
2017-04-10 13:12:54 -07:00
Translation updater bot 73391a6428 Localisation updates from https://translatewiki.net.
Change-Id: Icd5e1fb5d1228720cd7ad4246a14dd6a7daf2169
2017-04-09 22:50:01 +02:00
Translation updater bot f306004494 Localisation updates from https://translatewiki.net.
Change-Id: Ida5a7dbeac11b6391d9036109e6b20e68677ee60
2017-04-05 22:40:25 +02:00
Translation updater bot 10d14f91ce Localisation updates from https://translatewiki.net.
Change-Id: I80057712c92cdd16543eaebacb545b4fbfc2d59b
2017-04-04 22:46:47 +02:00
Umherirrender 317df66119 Use tabs to indent in json
Change-Id: I60c586418679fd5709aef4b9e23e814c45dfb35b
2017-03-31 23:47:20 +02:00
Translation updater bot ae14523f23 Localisation updates from https://translatewiki.net.
Change-Id: I00ff5d5c759f497f9257ad50ac9a34937d2342af
2017-03-30 23:01:26 +02:00
Translation updater bot 5fec2d3ff5 Localisation updates from https://translatewiki.net.
Change-Id: Ifa26f6248a355861c711664cac567f356357e7f5
2017-03-22 22:54:51 +01:00
Translation updater bot 715ea68eb1 Localisation updates from https://translatewiki.net.
Change-Id: Ia6bfabe4b6cd5e185f64a17dbf2bd3d97fe5a587
2017-03-21 22:39:27 +01:00
Translation updater bot 7759ae7138 Localisation updates from https://translatewiki.net.
Change-Id: I2cf1ec136d06008b1cd2854826d99463640f98e9
2017-03-16 23:19:33 +01:00
Translation updater bot 81d0df0d5c Localisation updates from https://translatewiki.net.
Change-Id: I064bc58bfb40cc0d5efaf1c6d4c883afd05c1e39
2017-03-14 22:40:51 +01:00
Translation updater bot cb3eaa69e1 Localisation updates from https://translatewiki.net.
Change-Id: I5f297fb1656ef230d976a0240b897c23645f57db
2017-03-12 22:45:48 +01:00
Translation updater bot b81baf507d Localisation updates from https://translatewiki.net.
Change-Id: Ibaf3ab65320807fcb9e68abffbb663bacfc6ce78
2017-03-10 09:49:38 +01:00
Translation updater bot 3bd913ff2c Localisation updates from https://translatewiki.net.
Change-Id: I1bd7b5904024b0943d97b5739154e7a69b54db4c
2017-03-09 23:21:50 +01:00
Translation updater bot 941c4e8abd Localisation updates from https://translatewiki.net.
Change-Id: Idf2ba307b6e6ef5651d7432049906472b4b58056
2017-03-07 22:45:30 +01:00
jenkins-bot 0443fb8a0e Merge "Update tests to Selenium 3" 2017-03-07 09:44:02 +00:00
Translation updater bot 09f1a3c9dd Localisation updates from https://translatewiki.net.
Change-Id: I94e774326559a122fc3492f7170fa146df825149
2017-03-05 22:40:27 +01:00
Translation updater bot 4a5409d39c Localisation updates from https://translatewiki.net.
Change-Id: Ibeec793edb6760d4e09a518890aef73cd4c03363
2017-03-04 22:51:21 +01:00
Translation updater bot 11e14a64c9 Localisation updates from https://translatewiki.net.
Change-Id: Ic4ee3b2760fcdd635688d6acf99980e7e176f8f5
2017-03-03 22:35:18 +01:00
Translation updater bot 2b23a971cc Localisation updates from https://translatewiki.net.
Change-Id: I87ff15435e59ff9a48d93b4c4df56b7a35402c10
2017-02-27 22:25:57 +01:00