Commit graph

452 commits

Author SHA1 Message Date
jenkins-bot 6341a4ddb7 Merge "Fix visualeditor-dialogbutton-media-tooltip message" 2019-10-31 22:13:37 +00:00
Translation updater bot dd65c0fac6 Localisation updates from https://translatewiki.net.
Change-Id: I97267311e73ad710c27301753f45758a03bf9995
2019-10-31 09:30:10 +01:00
Translation updater bot 9cfe9714c5 Localisation updates from https://translatewiki.net.
Change-Id: Ied0521d893e03e94a14a8ab5562281b73adc3839
2019-10-30 09:34:22 +01:00
Translation updater bot c26c8dc6b1 Localisation updates from https://translatewiki.net.
Change-Id: Ia141cef7662939b9a06f4793b19a61d00bdfcedc
2019-10-29 09:39:48 +01:00
Translation updater bot a5eb16f681 Localisation updates from https://translatewiki.net.
Change-Id: I6f2849f46d2cc875a52aefc41fbc971c1b57137e
2019-10-28 16:37:05 +01:00
Translation updater bot 96ee9ebd5d Localisation updates from https://translatewiki.net.
Change-Id: Ia44b81d8161cddbc10871f52edc5dac23477370e
2019-10-25 09:19:46 +02:00
Translation updater bot e1f09e45c7 Localisation updates from https://translatewiki.net.
Change-Id: I9db7be57966bbda4751160c818ec2ce8e3d96960
2019-10-24 10:48:51 +02:00
Translation updater bot bcfd96477f Localisation updates from https://translatewiki.net.
Change-Id: Id718c4eb13106f3ce0f899e29b4c0511c1b491d0
2019-10-23 09:54:17 +02:00
Translation updater bot 43f1ee59f7 Localisation updates from https://translatewiki.net.
Change-Id: I877cb15aa7086decef34ca74d34ff6c620056055
2019-10-22 09:15:38 +02:00
zoranzoki21 3aed6486fc Fix visualeditor-dialogbutton-media-tooltip message
Bug: T223775
Change-Id: Iba7e77ea523215bcdd1831db1274549829bdecb1
2019-10-21 21:33:19 +02:00
Translation updater bot 7792044600 Localisation updates from https://translatewiki.net.
Change-Id: If5f9fd6cd9fbf7027f311bd87ba2d86488c0b68a
2019-10-21 10:01:17 +02:00
jenkins-bot 932286063f Merge "Improve message for the infamous "HTTP 404" error" 2019-10-18 10:57:17 +00:00
jenkins-bot 4452062bab Merge "Detect mangled etags from RESTBase and retry via MediaWiki API" 2019-10-18 10:50:39 +00:00
Bartosz Dziewoński 3a7f5703dd Improve message for the infamous "HTTP 404" error
(This is the error from T233127.)

It's still somewhat unhelpfully generic because it can appear in many
situations. But at least it'll be searchable, and less ambiguous about
where the 404 happened when a user reports getting this error.

Change-Id: I9e771934c436f39dd380fa5a06edcfbce9efad4c
2019-10-18 11:05:19 +02:00
Translation updater bot b901f8f107 Localisation updates from https://translatewiki.net.
Change-Id: I8067e58fda7ae83d73f86fc60a8d280bda7c7e34
2019-10-17 09:54:06 +02:00
Translation updater bot 0ee9f78297 Localisation updates from https://translatewiki.net.
Change-Id: I6aa2e183d73f7253bae6be5f59aaa886c2bdb546
2019-10-16 20:42:57 +02:00
Bartosz Dziewoński 5d1a67757a Detect mangled etags from RESTBase and retry via MediaWiki API
Something is causing the 'ETag' headers produced by the "public"
RESTBase (queried directly from the client) to be mangled or lost.
My theory is that some proxy or browser extension is doing that.

When we detect a bad etag when fetching the page contents, discard
the result and try querying the "private" RESTBase via the MediaWiki
API (similar to what we do on private wikis, except there we talk
directly to Parsoid instead of RESTBase). After I463a84de63, that
returns the etag as part of the payload rather than HTTP headers,
and should pass unharmed through whatever is mangling the data.

Also compare and log the two etags.

Bug: T233320
Change-Id: I2ef0ca872597566f74b650aea71bf3f15747a6d7
2019-10-16 19:53:43 +02:00
Translation updater bot bae38531bd Localisation updates from https://translatewiki.net.
Change-Id: I03dbafb688c8af17cdad08d67ad30da560793ca0
2019-10-16 10:41:39 +02:00
Translation updater bot 435d6d2a63 Localisation updates from https://translatewiki.net.
Change-Id: Iacfa47502110f9c0089f18f759603b4ff7a887fa
2019-10-10 09:34:02 +02:00
Translation updater bot 955a114c01 Localisation updates from https://translatewiki.net.
Change-Id: I7c04a8109d0a39803f028e9d2b5422b66d2a2c71
2019-10-08 09:34:53 +02:00
Translation updater bot 1c6baa06cb Localisation updates from https://translatewiki.net.
Change-Id: I9c1dae30cc92347719eedca4604976e0fc9677cf
2019-10-03 10:06:37 +02:00
Translation updater bot d3a4135854 Localisation updates from https://translatewiki.net.
Change-Id: I2d9fdb5e43b745203306f5ac7188ecc82743f6d3
2019-10-02 09:23:34 +02:00
Translation updater bot cb5354b77e Localisation updates from https://translatewiki.net.
Change-Id: Ie95508ee53d56e140b70911d6df286e0be296a54
2019-10-01 09:26:53 +02:00
Translation updater bot a70c9f4c1a Localisation updates from https://translatewiki.net.
Change-Id: I9899dde1be23258efba26d482e2315263f94b419
2019-09-27 09:22:04 +02:00
Translation updater bot 4d4228f7ad Localisation updates from https://translatewiki.net.
Change-Id: I217c3cf42562c1e12bb5785395e2243ec300eace
2019-09-26 09:15:40 +02:00
Translation updater bot 8e55547e4c Localisation updates from https://translatewiki.net.
Change-Id: Iba96ba8ec5658722dff777f62a3c906c748c83a4
2019-09-23 09:27:23 +02:00
Translation updater bot 3193fc2543 Localisation updates from https://translatewiki.net.
Change-Id: I38e4369baaae5b2fa42527e287304e45b0895bf1
2019-09-19 10:00:31 +02:00
Translation updater bot 3da0f705d7 Localisation updates from https://translatewiki.net.
Change-Id: I9ca9d6cb298337d777e5e1b967d93344a98e42be
2019-09-17 09:10:26 +02:00
Translation updater bot a586842339 Localisation updates from https://translatewiki.net.
Change-Id: I570c7b1354e83e43732b482d5284b72f7cc5aab1
2019-09-16 09:58:20 +02:00
Translation updater bot 8dc9650510 Localisation updates from https://translatewiki.net.
Change-Id: I01dcda8d4557a1575fbb14fe8586805087782d2d
2019-09-04 10:16:23 +02:00
Translation updater bot fc3c41fdc0 Localisation updates from https://translatewiki.net.
Change-Id: I4f82551b13e2c56e97dfd545c1a0fe37620f7a28
2019-09-03 10:30:43 +02:00
Translation updater bot d47b57c5c3 Localisation updates from https://translatewiki.net.
Change-Id: Ie0240b5a176a467fb00f6cc602749427ea969e7f
2019-09-02 10:21:07 +02:00
Translation updater bot 05b60a5b8f Localisation updates from https://translatewiki.net.
Change-Id: I0e590a54e78cd316807d7232fbb00a60c644a7aa
2019-08-31 15:58:20 +02:00
jenkins-bot 518e5e199c Merge "Localisation updates from https://translatewiki.net." 2019-08-30 19:58:23 +00:00
Ed Sanders e5f5a49344 Support for defined template context items
Context items can be created for specific template titles. Titles
are mapped to context items using an on-wiki message.

Bug: T211243
Change-Id: Icfc39e350452da238d0e0c17cb2305c60d9ca16a
2019-08-30 13:02:47 +01:00
Translation updater bot e4c7fbe580 Localisation updates from https://translatewiki.net.
Change-Id: I54cc287abd7eb26b75ff305cbb0dca96dfead461
2019-08-30 10:05:42 +02:00
jenkins-bot 5849de920c Merge "ve.init.mw.ArticleTarget: Use errorformat=html when saving" 2019-08-28 13:43:59 +00:00
Translation updater bot 7902d599aa Localisation updates from https://translatewiki.net.
Change-Id: I375166dcfd50df852b1f0b938a655a1fe06a89e8
2019-08-28 10:54:02 +02:00
Translation updater bot de6fdb0b31 Localisation updates from https://translatewiki.net.
Change-Id: If2dfeec7d09526999a736754390030abbccd244b
2019-08-27 11:05:58 +02:00
Translation updater bot b4d74b314b Localisation updates from https://translatewiki.net.
Change-Id: I300c93288d73642772ef33685b6bf55d4b2e5d2c
2019-08-25 10:32:38 +02:00
Translation updater bot 3df39a1082 Localisation updates from https://translatewiki.net.
Change-Id: I3dd366aaffefb2ad96ebec5d6a017e71de13c8e9
2019-08-23 09:49:59 +02:00
Translation updater bot 6dff2dd032 Localisation updates from https://translatewiki.net.
Change-Id: I0cefdc0b02238bb1d506522d8b95acc2825d43a0
2019-08-22 10:10:30 +02:00
Bartosz Dziewoński 756572ed8a ve.init.mw.ArticleTarget: Use errorformat=html when saving
When saving fails for a reason we don't handle explicitly, the error
message will have HTML formatting and will respect any on-wiki
overridden messages, rather than being plain text generic message.

Extensions providing custom SaveErrorHandlers may need to be updated.
The only one in Gerrit that requires a fix is TitleBlacklist:
Ibeae79c95557a7af699716c9d921f34c310bee6d.

* Remove handling for errors returned in .visualeditoredit.edit.info
  rather than .errors (.error in old format). AFAIK this is only used
  by some extensions, it is probably incorrect to do (T229539) and all
  extensions I know of that do this (AbuseFilter, SpamBlacklist,
  ConfirmEdit) have custom SaveErrorHandlers.

* Remove custom error messages for 'readonly' (identical to API
  response) and for 'hookaborted' (very unhelpful and there is a
  chance that the API response is better, if the extension causing
  this error generates any error message).

* Add a silly shim for MobileFrontend integration, because we allow it
  to handle error responses, and it expects them in the old format.
  This is probably subtly wrong in many ways, but MobileFrontend code
  only uses this for logging, so it shouldn't explode. In the future
  we will hopefully change it to use errorformat=html (T228897#5366960).

Bug: T229532
Change-Id: I3b9c4fefc0869ef7999c21cef754434febd852ec
2019-08-22 00:37:15 +00:00
Translation updater bot 66223e011b Localisation updates from https://translatewiki.net.
Change-Id: Ie12883ab889384c3b36ed5417747ec8f8bce79e0
2019-08-21 10:11:51 +02:00
Translation updater bot e2348eef46 Localisation updates from https://translatewiki.net.
Change-Id: I9b858efabbf1a390d3984b62f368ec865312e825
2019-08-20 10:28:50 +02:00
Translation updater bot a2ac605ad3 Localisation updates from https://translatewiki.net.
Change-Id: Ib7a3436239f4aa463b6ce6ddee358e784fe5bf8e
2019-08-18 09:34:09 +02:00
Translation updater bot 08a5daeceb Localisation updates from https://translatewiki.net.
Change-Id: Ic6bb33d07dc484779b074ecc022227fb1ff1b71b
2019-08-16 09:19:41 +02:00
Translation updater bot 21dca00701 Localisation updates from https://translatewiki.net.
Change-Id: I48726698afd509243018c20293364669c45d7e29
2019-08-14 09:16:44 +02:00
Translation updater bot 3b75e86a19 Localisation updates from https://translatewiki.net.
Change-Id: I56e158eb64ff55a3c4c31a1e0ddf7e310f60ef10
2019-08-13 09:17:01 +02:00
Translation updater bot b062f93511 Localisation updates from https://translatewiki.net.
Change-Id: I77227a8e58ce7212fc50737a6a57a48b7b50c3a5
2019-08-12 09:07:48 +02:00