Commit graph

489 commits

Author SHA1 Message Date
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 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
Translation updater bot ecffdff814 Localisation updates from https://translatewiki.net.
Change-Id: Ida828f4de44f39ada7a05f43813d21604eed8913
2019-07-03 22:46:50 +02:00
Translation updater bot e7d8c89010 Localisation updates from https://translatewiki.net.
Change-Id: I00d571201b4ad4212bdd69fd8e364eac0ca69178
2019-06-30 22:40:07 +02:00
Translation updater bot fd9bd2ed32 Localisation updates from https://translatewiki.net.
Change-Id: Ic656031b4196efe128fd0c005d56b3b32c378b11
2019-06-24 08:40:34 +02:00
Translation updater bot 71f0bba6d1 Localisation updates from https://translatewiki.net.
Change-Id: I3dc685284886808cadcad317d05529384067c686
2019-06-17 22:34:32 +02:00
Translation updater bot bf4acae10b Localisation updates from https://translatewiki.net.
Change-Id: Ie0cd5443876335478d305a1da9468b01484d5f5e
2019-06-13 22:41:00 +02:00
jenkins-bot 67f9e17b44 Merge "Cleanup mwcore messages and dependencies" 2019-06-11 21:16:20 +00:00
jenkins-bot 53722cb92a Merge "Remove switch confirm dialogs" 2019-06-11 20:52:39 +00:00
Ed Sanders 2b7bbf0737 Cleanup mwcore messages and dependencies
* Move many messages from mwcore to articletarget or mwsave
* Delete old unused messages
  - visualeditor-beta-label
  - visualeditor-toolbar-savedialog
  - visualeditor-toolbar-savedialog-short
* Remove unused core messages (showtoc/hidetoc)
* Fix typos in comments

Change-Id: I59455f4cad272db9fd05f45f8a66069e5da0421d
2019-06-11 20:42:01 +00:00
Ed Sanders 7ad624f0a3 Remove switch confirm dialogs
Bug: T220007
Change-Id: I81b39a02d573d96bcb6b4238aabbcd077e874906
2019-06-11 22:35:34 +02:00
Translation updater bot e43c446e11 Localisation updates from https://translatewiki.net.
Change-Id: I2332f42f1c1092ccaf91eb173dec1e9802588e4f
2019-06-10 22:56:10 +02:00
Translation updater bot edaa1d86d6 Localisation updates from https://translatewiki.net.
Change-Id: Idda8d8498ee74e4790a2c100c2c70512d4adcec1
2019-06-06 22:49:22 +02:00
Translation updater bot 742564d1d2 Localisation updates from https://translatewiki.net.
Change-Id: Id625d72c939e7b643ebb6bfc0ce4c05cb20597a0
2019-06-02 22:31:12 +02:00
Translation updater bot 142810144b Localisation updates from https://translatewiki.net.
Change-Id: I3af7db8676dde62427c9b66167f963ca9db05e06
2019-05-30 22:54:40 +02:00
Translation updater bot cc85c307f2 Localisation updates from https://translatewiki.net.
Change-Id: Ib7b6c7cee86ba48537b8665f0b562e9fd80fa2a5
2019-05-28 08:56:29 +02:00
Translation updater bot 1be7ab0488 Localisation updates from https://translatewiki.net.
Change-Id: I31c01a1de08b1ddd6f25da7c5d448e9faa84e023
2019-05-26 22:23:50 +02:00
Translation updater bot 37c239fadd Localisation updates from https://translatewiki.net.
Change-Id: I88a668ff5b24842a4a734bfaa0a251f849a99b48
2019-05-23 23:06:43 +02:00
Translation updater bot 42411c942c Localisation updates from https://translatewiki.net.
Change-Id: If7270724d65450fd86d1ff6ae2e4e11415c0faed
2019-05-22 22:32:22 +02:00
Translation updater bot 07bf8b723c Localisation updates from https://translatewiki.net.
Change-Id: I68d0f801fa1732a328b574c9fb13b18bef0d05ad
2019-05-20 22:31:29 +02:00
Translation updater bot ffcda8b9ce Localisation updates from https://translatewiki.net.
Change-Id: Id1269fe72a790f85c18963a632afa19f4b9bdef3
2019-05-16 09:10:43 +02:00
Translation updater bot 88820032ab Localisation updates from https://translatewiki.net.
Change-Id: I9eea7b3fbca2511d3320592f9f15b9e6c6ba8720
2019-05-15 09:15:16 +02:00
Translation updater bot 29f3a6b2b6 Localisation updates from https://translatewiki.net.
Change-Id: I6f238f05ec1abf6c79ec178ec729f2805e8719ec
2019-05-13 23:23:01 +02:00
jenkins-bot e59da0183f Merge "Section switch from wikitext to VE" 2019-05-13 19:24:58 +00:00
Ed Sanders 3a4822c2fe Section switch from wikitext to VE
Use an API 'parse' call with a sectionid to trigger
a full document expansion using replaceSectionAtRev.

Then send this off the RESTBase to convert to HTML
and statsh.

Ensure the etag is passed back to the API response.

Bug: T117716
Bug: T223023
Change-Id: I1b35b28e428a1f86d2e34d90ddbe73361ce14818
2019-05-13 19:49:10 +01:00
Translation updater bot 4c2ef4d7ca Localisation updates from https://translatewiki.net.
Change-Id: Ic19ad0873c3021f832c956589fa63a8838d32c02
2019-05-12 22:34:31 +02:00
Translation updater bot dd4a4e1e05 Localisation updates from https://translatewiki.net.
Change-Id: I3dff2c929879cfb6a26016931b737c322d054027
2019-05-10 09:21:29 +02:00
Translation updater bot 0d897967ae Localisation updates from https://translatewiki.net.
Change-Id: I5744e2d6385d33e83e76967ee1c4a62fa7ab66f6
2019-05-06 09:05:42 +02:00
Translation updater bot d547853523 Localisation updates from https://translatewiki.net.
Change-Id: If0337c5fae7d08c2763d7cc7754b36f423e588e1
2019-05-01 22:30:38 +02:00
Translation updater bot c1ee2f012f Localisation updates from https://translatewiki.net.
Change-Id: I37dfecc96f5520db732c20725e218122a76f52e0
2019-04-30 22:18:34 +02:00
Translation updater bot 8c1f00ffd0 Localisation updates from https://translatewiki.net.
Change-Id: Iafb4b732248a2f55e7dd6099d8168f7aa78b277c
2019-04-29 22:16:32 +02:00
Translation updater bot ffdd2f33b7 Localisation updates from https://translatewiki.net.
Change-Id: I94203ebb0b5e66eee60908ddce7cd82c869de86d
2019-04-26 22:28:39 +02:00
Translation updater bot c444f0e40a Localisation updates from https://translatewiki.net.
Change-Id: Ic11c1dff4e6161ffdb4c366a11a1e2d71fabb6ee
2019-04-24 22:21:43 +02:00
Translation updater bot 950fee47bf Localisation updates from https://translatewiki.net.
Change-Id: I02b8587b25e8bcb2575fe6771fa60349e109332c
2019-04-22 09:24:20 +02:00
Translation updater bot 19ba1bfee2 Localisation updates from https://translatewiki.net.
Change-Id: I52fab1c643b61d056223819758c74a6f645f20ff
2019-04-19 09:54:26 +02:00
Translation updater bot cc2b18bdd8 Localisation updates from https://translatewiki.net.
Change-Id: I12dbe0919d2ca8247fb8098b00c0d86971799097
2019-04-15 22:54:50 +02:00
Translation updater bot e68090b168 Localisation updates from https://translatewiki.net.
Change-Id: I1f0ccca8ae4ce9a6cec47d89d6905ecc0835bc0c
2019-04-14 22:30:51 +02:00
Translation updater bot 2fe6b20d6c Localisation updates from https://translatewiki.net.
Change-Id: I10bc0fa563df5b7b5a1d3eff3e90c8cf48e19dde
2019-04-10 09:23:42 +02:00
Translation updater bot 31f6fb1ed2 Localisation updates from https://translatewiki.net.
Change-Id: I52310f4645dc916f8f1669c7a48c3cdb83a2b19d
2019-04-05 22:27:54 +02:00
Translation updater bot 2455b94f18 Localisation updates from https://translatewiki.net.
Change-Id: I5bb495971e5970f033da8f4f6367e79a8dfe8e9d
2019-04-04 14:55:17 +02:00
Translation updater bot 748b3d17c7 Localisation updates from https://translatewiki.net.
Change-Id: Ib37aa5b29c0ea2f8050dd2492447fe790f1bf0b9
2019-04-01 22:41:30 +02:00