Commit graph

428 commits

Author SHA1 Message Date
jenkins-bot 4452062bab Merge "Detect mangled etags from RESTBase and retry via MediaWiki API" 2019-10-18 10:50:39 +00: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 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
Translation updater bot 99def73efa Localisation updates from https://translatewiki.net.
Change-Id: I1781a43249a969506979426f96736ab0713a3842
2019-08-10 22:50:22 +02:00
Translation updater bot 32c7418c65 Localisation updates from https://translatewiki.net.
Change-Id: Iaa8eaf0c88f3a7014cfaa652ee775d7783a8e43b
2019-08-09 09:11:38 +02:00
Translation updater bot 8b3ec008e9 Localisation updates from https://translatewiki.net.
Change-Id: Ie90e7f506bb89a70db21ffcd8f866e8033261421
2019-08-07 09:45:20 +02:00
Translation updater bot 86919974e3 Localisation updates from https://translatewiki.net.
Change-Id: I9c836119d79c1ee63e212f6d8ebf190931dd3756
2019-08-06 09:12:09 +02:00
Translation updater bot 06de101c54 Localisation updates from https://translatewiki.net.
Change-Id: I10fbdb1e085741706f650abd3fe74d3fde764954
2019-07-30 09:09:10 +02:00
Translation updater bot 982af588cc Localisation updates from https://translatewiki.net.
Change-Id: I0560fd667f24b8820c4bd56e224a4d8e24553940
2019-07-29 09:16:20 +02:00
Translation updater bot 8bd19828c9 Localisation updates from https://translatewiki.net.
Change-Id: Ic10e902185dbb343420c092f52a25c1e13253d9e
2019-07-27 09:32:02 +02:00
Ed Sanders 9a1994e47c Update VE core submodule to master (7cb9caca1)
New changes:
28aea2e4d Edit cards v2 design
739017973 Track usage of the new "close context" button

Local changes:
* Edit cards v2 pull through

Bug: T222396
Change-Id: I1ca885e8d8127e7827a059755315ed789a7b9210
2019-07-25 22:24:48 +02:00
jenkins-bot 2d25d15a39 Merge "Add number of images to gallery context" 2019-07-15 23:26:30 +00:00
Ed Sanders c958ea383d Add number of images to gallery context
Change-Id: I3e54c6cb2b29ecb1153afd5f2f61adaabceb095b
2019-07-16 01:04:08 +02:00
Ed Sanders fba9585dbf Add validation feedback to external link
Bug: T227899
Change-Id: I165ed59402bdffb63b0c79b68a41d509c4574837
2019-07-15 22:35:46 +00:00
Translation updater bot abda55d5dd Localisation updates from https://translatewiki.net.
Change-Id: I5b11126d64c28b18e1b272062a7ffe8bf0c95511
2019-07-15 08:35:39 +02:00
Translation updater bot 7ed1a9ba95 Localisation updates from https://translatewiki.net.
Change-Id: If146cd0932f83bb8b1e2f9324f1c9555e050953f
2019-07-12 08:45:01 +02:00
Translation updater bot e6c654c6e4 Localisation updates from https://translatewiki.net.
Change-Id: I6cfaabf68d29c794391986bde37d09a18a22145c
2019-07-07 22:42:02 +02:00