Commit graph

1354 commits

Author SHA1 Message Date
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
Željko Filipin 0f40aee52a Update tests to Selenium 3
Bug: T158074
Change-Id: Ie939cecfadd014fd69110a2f985516c753c2ee69
2017-02-27 15:53:37 +01:00
Translation updater bot 1a684fad9e Localisation updates from https://translatewiki.net.
Change-Id: I4d4445a4099f2538ca089163ab10d79fdcbda5d9
2017-02-26 22:39:30 +01:00
Translation updater bot 839aa87854 Localisation updates from https://translatewiki.net.
Change-Id: I2879b0254d2db47dc788c31206cdde1fbd91a810
2017-02-25 22:29:41 +01:00
Translation updater bot 4e1fb0f96a Localisation updates from https://translatewiki.net.
Change-Id: Ied5147a7b634bc6527cda7a9574ab062985a4696
2017-02-24 22:33:16 +01:00
Translation updater bot d1dadca0a4 Localisation updates from https://translatewiki.net.
Change-Id: I6640787909f86964c530c794ab3ac23c598809ce
2017-02-23 22:54:15 +01:00
jenkins-bot 30eece41c5 Merge "Correct "operators" message in chemSymbols.json" 2017-02-23 19:53:24 +00:00
Amire80 8674fdd47b Correct "operators" message in chemSymbols.json
Follow up to
I4452ceca55197fda5f1e1293a5741c6f5fb7c245

Change-Id: I061180179da83a7ad1229999ed97a783777bcfed
2017-02-23 19:34:54 +00:00
Translation updater bot e8af257c7e Localisation updates from https://translatewiki.net.
Change-Id: I0b6c118013cb8daaaebbc2f3b25ffb23e5a12f6b
2017-02-22 22:38:41 +01:00
jenkins-bot 87c2cb4ab1 Merge "Add support for chemical formulae in VisualEditor" 2017-02-21 23:42:46 +00:00
jenkins-bot 5dada7096d Merge "Remove 'ext.math.scripts' from styles queue on wikidata" 2017-02-21 08:20:24 +00:00
Amire80 848d762e24 Add support for chemical formulae in VisualEditor
The chemical and mathematical formula inspectors and dialogs
have a lot of similar functionality, and the common parts are
now moved to the common MWLatex class.

MWMath* classes now inherit from MWLatex*, and so do
the new MWChem* classes.

Bug: T153365
Change-Id: I4452ceca55197fda5f1e1293a5741c6f5fb7c245
2017-02-19 18:36:26 +00:00
jenkins-bot 74be597efb Merge "build: Bump stylelint and make pass" 2017-02-18 00:13:01 +00:00
James D. Forrester 6a6c68b387 build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 15:30:18 -08:00
Timo Tijhof fcdfc31611 Remove 'ext.math.scripts' from styles queue on wikidata
Follows-up 946a18d1, which accidentally added a scripts module
to the styles queue (which is a no-op).

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

Bug: T158376
Change-Id: Id026fbaa48cfab582b192bc0974ba7c6f01f37d0
2017-02-17 14:56:48 -08:00