Commit graph

255 commits

Author SHA1 Message Date
Translation updater bot 63dfd2492a Localisation updates from https://translatewiki.net.
Change-Id: Ic393105b2217dda422df819c1c4f276c5225e2fb
2021-12-23 08:38:43 +01:00
Translation updater bot 955f360c52 Localisation updates from https://translatewiki.net.
Change-Id: I77a284fff376a37fdda6b839197b3612e745dc64
2021-12-06 08:20:32 +01:00
Translation updater bot 4abe4e4c71 Localisation updates from https://translatewiki.net.
Change-Id: I5b068748310886e4fae1044170b77542ef6ec290
2021-11-17 08:31:11 +01:00
Translation updater bot a5fa21f1f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic52a39e3672ecd4138516beb669c08fbb2af0eb4
2021-11-16 08:16:36 +01:00
Translation updater bot d57b3ad10d Localisation updates from https://translatewiki.net.
Change-Id: I689a7432ef84b9801092c48d551b1172df1e3699
2021-11-11 10:03:12 +01:00
Translation updater bot be30ca5ffd Localisation updates from https://translatewiki.net.
Change-Id: I59581127d4b7b586ab6a25b8e38a1a5ca96c844b
2021-11-01 09:34:52 +01:00
Translation updater bot a0cfdf7cde Localisation updates from https://translatewiki.net.
Change-Id: I67ef6fff8b227267b3553de27840eb0262bc8928
2021-10-20 08:38:09 +02:00
Translation updater bot 47fa7bc308 Localisation updates from https://translatewiki.net.
Change-Id: I6dcd90a920473f3811d302b21571aca72cbb2fdc
2021-10-18 15:21:43 +02:00
Translation updater bot 74eedd61dd Localisation updates from https://translatewiki.net.
Change-Id: I2d1d4eed6572bb3aa19b54e071ae8322e486329a
2021-09-23 12:28:11 +02:00
Translation updater bot 8b05105981 Localisation updates from https://translatewiki.net.
Change-Id: I0ee0b80d0afc75033db114df53a17454e7a77089
2021-09-21 08:09:35 +02:00
Translation updater bot ecf3b9b388 Localisation updates from https://translatewiki.net.
Change-Id: Ieb257e045e7d996f595b9ff9b808fabdd7e754e0
2021-09-20 08:19:50 +02:00
Translation updater bot 273cfbdd61 Localisation updates from https://translatewiki.net.
Change-Id: Ic670bf1485047ea92ea9f5e6df6d70bb9d16f1bf
2021-09-13 08:30:34 +02:00
Translation updater bot fec6c43353 Localisation updates from https://translatewiki.net.
Change-Id: I231e9fba493e3b9fcc356bc0aa11d16c0e2f76b1
2021-09-06 08:21:29 +02:00
Translation updater bot fa0792e002 Localisation updates from https://translatewiki.net.
Change-Id: I1b12838127487dc724384dfb32e80561ecb32ea5
2021-09-02 08:26:58 +02:00
Translation updater bot 8ca81204e9 Localisation updates from https://translatewiki.net.
Change-Id: Ie94f81beac0844834160f7eb2340883fd09e0480
2021-08-17 08:19:53 +02:00
Translation updater bot 258178a04c Localisation updates from https://translatewiki.net.
Change-Id: I475fa9297b8668b343da1d2a268d3c81a703762c
2021-08-16 08:17:02 +02:00
Translation updater bot 8b809794cd Localisation updates from https://translatewiki.net.
Change-Id: Ia7bdf54324026eb4955787ae339e158228bfe3e3
2021-07-26 08:12:53 +02:00
Translation updater bot 951f025b1d Localisation updates from https://translatewiki.net.
Change-Id: I2fab4aa94b253d84a3dbb89562efdcec5aec537d
2021-07-20 08:21:12 +02:00
Translation updater bot 7fcb36385c Localisation updates from https://translatewiki.net.
Change-Id: I6eebaea4f621aad4d198de30c7bb7259c9251ea5
2021-07-06 08:38:58 +02:00
Translation updater bot 96f4b4d716 Localisation updates from https://translatewiki.net.
Change-Id: I6d049225c75087f978117ff20f863123ad203c1a
2021-07-05 08:07:30 +02:00
Translation updater bot 3ecdcf63c6 Localisation updates from https://translatewiki.net.
Change-Id: Ieb541ae46b1f4732e687c6bab256c6ac26187db7
2021-07-02 08:31:39 +02:00
Translation updater bot 080de68972 Localisation updates from https://translatewiki.net.
Change-Id: If7d122051b2bcd459499863f9be1964dc51ac3aa
2021-06-29 08:14:01 +02:00
Translation updater bot 10c84cbf34 Localisation updates from https://translatewiki.net.
Change-Id: I969f946dcaa771f76cdd829618797c8b329e1772
2021-06-02 14:36:10 +02:00
Translation updater bot f3757befa7 Localisation updates from https://translatewiki.net.
Change-Id: I54df46dce949f7b87de42e6b565e966db5468dd4
2021-05-31 08:33:30 +02:00
Translation updater bot 1811893632 Localisation updates from https://translatewiki.net.
Change-Id: Ib05124e2d7e1d387b94227db2e75cd0af7933610
2021-05-21 08:34:55 +02:00
Translation updater bot 04e468e5d3 Localisation updates from https://translatewiki.net.
Change-Id: I1772bfc3d8a05789bf5126180a7a8bd81960c321
2021-05-18 08:48:10 +02:00
Translation updater bot 03c277e96a Localisation updates from https://translatewiki.net.
Change-Id: I0e8507be3cf38c993020e5ea05144b6a53eeba33
2021-05-11 09:08:30 +02:00
Translation updater bot 752cc487e2 Localisation updates from https://translatewiki.net.
Change-Id: Ie07dc3f2354dadbb464c60706a11c8339c1653e4
2021-05-10 08:54:22 +02:00
Translation updater bot 39dea795d9 Localisation updates from https://translatewiki.net.
Change-Id: I59dd6fb5c903595e0995998bd0e290c6ac14ca83
2021-05-07 08:43:59 +02:00
Kosta Harlan f035ce51f1 Introduce VisualEditorApiVisualEditorPostSaveHook
What:

Add hook that runs after a save attempt is made in ApiVisualEditorEdit.
The hook receives the same data available in ApiVisualEditorEdit, and
implementations of the hook can modify the API response.

Also introduce templated
parameters (https://www.mediawiki.org/wiki/API:Templated_parameters) in
the API parameters; this allows plugins to pass arbitrary data along
with their request using e.g. plugins=linkrecommendation&data-linkrecommendation=foo

Add ServiceWiring files, a PHP namespace, and a HookRunner class to
support the above changes.

Why:

VE plugins may wish to send additional data when saving an edit and take
action based on that data on the server-side. See for example the
AddLink plugin in I7a052f8e which sends annotation data, and then uses
the new hook to perform a database operation.

Change-Id: I392691475fbdcec766acbd832600e82efcb5bfe8
2021-04-30 20:50:01 +02:00
Translation updater bot 788b168073 Localisation updates from https://translatewiki.net.
Change-Id: Icefa5c0035c1f39e9c63d54f15dce401e317d323
2021-04-23 08:37:42 +02:00
Translation updater bot d0b48d9bbf Localisation updates from https://translatewiki.net.
Change-Id: I2989ccbec957e54c5b885445bf3261129e81c5d7
2021-03-26 08:51:21 +01:00
Translation updater bot 86db8ff85f Localisation updates from https://translatewiki.net.
Change-Id: Ia31770f454e29c4e901c9e6a91830ad085a2e236
2021-03-09 08:33:42 +01:00
Translation updater bot 256145cadf Localisation updates from https://translatewiki.net.
Change-Id: I8f8b2c9950ceba3975a008810dad475c15bcce5f
2021-03-02 08:51:05 +01:00
Translation updater bot 9b73bc0da8 Localisation updates from https://translatewiki.net.
Change-Id: I70b96aae24e85e3af50e2b8846e6ac9ed4c94af1
2021-03-01 08:54:12 +01:00
Translation updater bot a4da38dcbe Localisation updates from https://translatewiki.net.
Change-Id: I41bc686d863baa1709e6d3cca088c27b3cbf650c
2021-02-22 08:54:16 +01:00
Translation updater bot 4b34308bc0 Localisation updates from https://translatewiki.net.
Change-Id: Ib3f15f4cd49192e43424dd8ba3152308fa0a774c
2021-02-18 08:44:18 +01:00
Translation updater bot 84da14f22f Localisation updates from https://translatewiki.net.
Change-Id: I7cf79e7641e90ec3bb670b8d7d823920492bedab
2021-02-15 10:06:57 +01:00
Translation updater bot 4dffd99bc7 Localisation updates from https://translatewiki.net.
Change-Id: I0857022e8dc470853cf2078dad76788929e1f9ae
2021-02-11 08:40:50 +01:00
Translation updater bot 8a6616629e Localisation updates from https://translatewiki.net.
Change-Id: I6988a87ef5f30303a5f1c53a3f690c0e902e6f0a
2021-02-08 08:46:27 +01:00
Translation updater bot 5789eb680b Localisation updates from https://translatewiki.net.
Change-Id: I1ca01a75350be7eb95675ccdecdcbcaee08baf6b
2021-01-21 08:33:11 +01:00
Translation updater bot 8c48722e52 Localisation updates from https://translatewiki.net.
Change-Id: I47271ac438febe5126d9252a526574fdf8c5cb56
2021-01-12 08:38:45 +01:00
Translation updater bot 94621896a4 Localisation updates from https://translatewiki.net.
Change-Id: I7d2d6b407d9035b05b81e21043d25b1d1c764252
2020-12-30 10:15:37 +01:00
Translation updater bot 12860d0a53 Localisation updates from https://translatewiki.net.
Change-Id: I89cb809619d007280f4edc2e6917c1d39c9b6763
2020-11-30 08:48:20 +01:00
Translation updater bot 9768adbedb Localisation updates from https://translatewiki.net.
Change-Id: I6296c6d09e103366ba51f9afc7404936bc280578
2020-10-22 08:32:01 +02:00
Translation updater bot 714e255a4d Localisation updates from https://translatewiki.net.
Change-Id: I1adbc96c45d1655eb793652974281fef517bad16
2020-10-21 08:28:16 +02:00
Translation updater bot 5a5a6deb28 Localisation updates from https://translatewiki.net.
Change-Id: Idff525109ce1bbda0b0140962050025fabdda819
2020-10-20 08:31:48 +02:00
Translation updater bot 0a6ccea046 Localisation updates from https://translatewiki.net.
Change-Id: If31185e403e1bb5ec99f25b4fba0583537d69183
2020-10-16 08:30:07 +02:00
Translation updater bot b69212a202 Localisation updates from https://translatewiki.net.
Change-Id: Ib658ca951b2f64ca5c6fad520cfb214d3c5c7f01
2020-10-15 08:39:18 +02:00
Translation updater bot 3012300634 Localisation updates from https://translatewiki.net.
Change-Id: Iafdce1295603d8982461de6115d0defd8902ce1c
2020-10-05 08:44:11 +02:00
Translation updater bot af6bed0144 Localisation updates from https://translatewiki.net.
Change-Id: Iebb35cc12c2adaa4fc269058353c9e7ffbf179b1
2020-09-28 08:30:41 +02:00
Translation updater bot ca2fff6571 Localisation updates from https://translatewiki.net.
Change-Id: Ica73762778ace1b2740fc7fde62a903480c858e4
2020-09-14 09:16:56 +02:00
Translation updater bot 1dfc545dd6 Localisation updates from https://translatewiki.net.
Change-Id: Icd42685f085c7a4aeebb0ff4df3328aa3e53efb7
2020-09-06 20:57:09 +02:00
Translation updater bot e6f180aabc Localisation updates from https://translatewiki.net.
Change-Id: Ie66432be6cc9834f82f03608fe7439a550697fea
2020-08-24 11:59:36 +02:00
Translation updater bot 6c8dd899b2 Localisation updates from https://translatewiki.net.
Change-Id: I311205f32b68e4bc985a25d328eac157880fb774
2020-08-14 08:39:58 +02:00
Translation updater bot 480c379791 Localisation updates from https://translatewiki.net.
Change-Id: I2844a9aa8a23e49e39ab5c093e89764d56f49784
2020-08-10 09:02:21 +02:00
Translation updater bot a218c1b52c Localisation updates from https://translatewiki.net.
Change-Id: I36b86e0a8d1e78269a9c5c1fc0500a1ae3f8ffd0
2020-08-03 08:34:21 +02:00
Translation updater bot 8faabdc576 Localisation updates from https://translatewiki.net.
Change-Id: I4fcea4815899d50243bd41e70037f244886e0a08
2020-07-23 08:29:16 +02:00
Translation updater bot f2ba8f2360 Localisation updates from https://translatewiki.net.
Change-Id: Icae9c0a72b06ec792e35c9638e2f2d6114290855
2020-07-21 09:14:07 +02:00
Translation updater bot 4d396b5dc9 Localisation updates from https://translatewiki.net.
Change-Id: I6401ad1e956b7281297ff02235eb87db24243ae6
2020-06-08 08:53:10 +02:00
Translation updater bot d1d0be61c8 Localisation updates from https://translatewiki.net.
Change-Id: I097d8af2a9b854bfc05e954fc29f75a4c8ca47d2
2020-06-05 08:54:26 +02:00
jenkins-bot a28a263192 Merge "Drop linting from the VE API" 2020-06-04 17:12:54 +00:00
Ed Sanders f01d4ab35d Drop linting from the VE API
Calling the linter is very slow as the result is not
cached. Extensions needing this (DiscussionTools) should
just call the Linter extension API directly.

Bug: T253799
Change-Id: I994b52ca70c29a32900741a36087f10144396720
2020-06-04 18:51:38 +02:00
Translation updater bot 0aae60f0a4 Localisation updates from https://translatewiki.net.
Change-Id: Ia3e96962c15481a736512e668dfb6adf9b1ea691
2020-05-28 08:41:40 +02:00
Translation updater bot c8779b8cb6 Localisation updates from https://translatewiki.net.
Change-Id: Ib554a153bd545d4cfc59b5e092c9376f7f90c47f
2020-05-26 08:38:07 +02:00
Translation updater bot 70a7f8775b Localisation updates from https://translatewiki.net.
Change-Id: Ib93923f85bb1191b8f46f1655baccfd63928829e
2020-05-20 08:36:08 +02:00
Translation updater bot a5b0eaaaec Localisation updates from https://translatewiki.net.
Change-Id: I5109f6fe7ec20ea87291f337efb7fc6b5b498a31
2020-05-11 08:39:18 +02:00
Translation updater bot 4e30398c2e Localisation updates from https://translatewiki.net.
Change-Id: I75d5228ffd8e67e4827f160f66f671b7e0df071d
2020-04-29 08:37:39 +02:00
Translation updater bot cb6ecae7fd Localisation updates from https://translatewiki.net.
Change-Id: I14ef3d4f5bec62dc522a1beeab53f7de69e628b7
2020-04-27 09:04:25 +02:00
jenkins-bot e4fe634201 Merge "ApiVisualEditor: Add option to return lint errors from Parsoid" 2020-04-24 10:03:40 +00:00
Bartosz Dziewoński ae86f7290b ApiVisualEditor: Add option to return lint errors from Parsoid
Depends-On: I6bbe2fc5aea07c65eb99768f2c44ed42601792a3
Depends-On: I6bdf5635763ef8a44d44a031c64cd7f289261a32
Change-Id: I723ec766d1244d117f8d624440026fe5af0d3403
2020-04-21 22:49:29 +02:00
Translation updater bot 71b3c4baf9 Localisation updates from https://translatewiki.net.
Change-Id: I029aee12ff3f313f653c7d361b46db7b9d42dfd9
2020-04-20 08:43:37 +02:00
Translation updater bot 5ff8784aab Localisation updates from https://translatewiki.net.
Change-Id: If060672a70c66f4fa7a4571c0e9951233c72e005
2020-04-16 09:34:21 +02:00
Translation updater bot 403071cced Localisation updates from https://translatewiki.net.
Change-Id: Ic78d4925d724c0deb6a4529873f638e9b463bcb0
2020-04-07 08:52:40 +02:00
Translation updater bot 080097b3be Localisation updates from https://translatewiki.net.
Change-Id: Iacd44754a5e5944fd1a7ace56503c1db5f62f3e7
2020-04-06 09:03:07 +02:00
Translation updater bot ba2895ca5d Localisation updates from https://translatewiki.net.
Change-Id: I2b4bd2cda45d17f374dd8dd8f674196879073f03
2020-03-30 09:15:41 +02:00
Translation updater bot 4b0f8c621d Localisation updates from https://translatewiki.net.
Change-Id: I17d6622f88ee3ced73f8dcddb32ea292ed81f99d
2020-03-25 08:34:03 +01:00
Translation updater bot 57a0d7d847 Localisation updates from https://translatewiki.net.
Change-Id: Iae5ac813cdf3e486e87d4ff5bb710e0252a10b90
2020-03-24 08:50:52 +01:00
Translation updater bot 6efa7b337a Localisation updates from https://translatewiki.net.
Change-Id: I58c766e7efcfd9a08574755c5efb98f6b0399a61
2020-03-16 16:03:04 +01:00
Translation updater bot f43d76e1a6 Localisation updates from https://translatewiki.net.
Change-Id: Ib8eca312f8fe91a51277586b184ed9619f53735a
2020-03-13 08:55:26 +01:00
Translation updater bot d84cf9f11c Localisation updates from https://translatewiki.net.
Change-Id: I55640b9bb38d4700220b31e7abf7914aa7b84061
2020-03-05 08:40:28 +01:00
Translation updater bot 8b696b27b0 Localisation updates from https://translatewiki.net.
Change-Id: I98c98f0b229c1f5f5627b9bb133d3fcb7af5f3fb
2020-03-04 08:54:20 +01:00
Translation updater bot e2489406e4 Localisation updates from https://translatewiki.net.
Change-Id: Ifbf60de2b50c050451793e238aedbafcb9d6d915
2020-03-03 08:15:29 +01:00
jenkins-bot becafcdadf Merge "Fix checkbox handling in the API" 2020-03-02 18:06:36 +00:00
Ed Sanders 42194ec411 Fix checkbox handling in the API
The code for setting 'watchlist' in the EditAPI request
was completely broken as it always evaluated to 'unwatch'.
Instead pass through 'watchlist' directly from the client
where it must be set to 'watch' or 'unwatch'.

Bug: T245579
Change-Id: Ia5a2bb76ef35a685b39bcc0c4727796acd0f510d
2020-02-29 17:35:29 +00:00
Translation updater bot b260f4196f Localisation updates from https://translatewiki.net.
Change-Id: Id2a5c1176cfeac39c180eeb1eedc73b12b9c327c
2020-02-27 08:38:02 +01:00
Translation updater bot c21380cd5a Localisation updates from https://translatewiki.net.
Change-Id: I58af5e859a97df404cc60cf23d904d7617c9e997
2020-02-20 09:28:08 +01:00
Translation updater bot e5de680272 Localisation updates from https://translatewiki.net.
Change-Id: I1f69b23613709c810ace50e22e984b01ec7b6f88
2020-02-19 08:27:05 +01:00
Translation updater bot f9f2ef6c8e Localisation updates from https://translatewiki.net.
Change-Id: I38496e87be951e9c540afe9862731272ad2093c0
2020-02-17 08:48:10 +01:00
Translation updater bot e95bb8cc6c Localisation updates from https://translatewiki.net.
Change-Id: Icbc3acdecf9cd802141959b1825585687c8567ab
2020-02-14 08:26:51 +01:00
Translation updater bot d07ea1a9ff Localisation updates from https://translatewiki.net.
Change-Id: I5198ad8e141134188962e3c46c90647149fb4d90
2020-02-10 08:36:24 +01:00
Translation updater bot 1cb6407364 Localisation updates from https://translatewiki.net.
Change-Id: I2bc3b51422caac84be780c597590ccda9c4772e2
2020-02-07 09:58:18 +01:00
Translation updater bot bbf304c8f1 Localisation updates from https://translatewiki.net.
Change-Id: Icbae912ed98594af2756757ee1b76e3ace7b98ae
2020-02-06 08:20:16 +01:00
Bartosz Dziewoński 6ee5db11dc Correct API documentation for 'tags'
The message wasn't updated when we changed our minds during the
development of d85d30f9b3. Now the
normal tagging is done in client-side code, so it's effectively
always "suppressed" when calling the API.

Change-Id: Ie75ce31e7c723ff2677e8caa205666f5394405fa
2020-02-05 14:20:31 +01:00
Translation updater bot 2cca81a662 Localisation updates from https://translatewiki.net.
Change-Id: I3e5487a089b0a92ba9d0521f6d1d464bea7041d6
2020-02-05 08:19:56 +01:00
jenkins-bot 124ae7a444 Merge "Tag VE edits from the client-side" 2020-02-04 16:43:59 +00:00
David Lynch d85d30f9b3 Tag VE edits from the client-side
This opens up the API so that other tools can use it without being
forced to tag those edits as being from VE.

Also, document that tags is a working parameter that can be passed
through to the edit API.

Bug: T242184
Change-Id: I2c1d0f8d69bc03e5c1877c790247e165f160e966
2020-01-29 21:55:07 -08:00
Translation updater bot 4984b3d7da Localisation updates from https://translatewiki.net.
Change-Id: I0898365c628b60cbd351a806fd0297fe60c0b71f
2020-01-24 08:16:00 +01:00
Translation updater bot 24480a24bd Localisation updates from https://translatewiki.net.
Change-Id: I4ab6ba49c3319a880c9a8df293c2e1d4cd43afe5
2020-01-14 10:59:54 +01:00
Translation updater bot a335e3acdf Localisation updates from https://translatewiki.net.
Change-Id: I917f992c01e252317149598a1ba30156b113a4a9
2020-01-13 09:12:32 +01:00
Translation updater bot 208f7d72bb Localisation updates from https://translatewiki.net.
Change-Id: I9cf1085b6b79e5be2ea8f75adf4768d2f9cd334b
2019-12-26 16:22:32 +01:00
Translation updater bot 80c8656fad Localisation updates from https://translatewiki.net.
Change-Id: I57a5e8c3e0c017c598474f599b222e17b1061c43
2019-12-16 12:16:02 +01:00
Translation updater bot 801050ba5b Localisation updates from https://translatewiki.net.
Change-Id: I6e4410830ead7a986caa7df0d8a638feaaa70162
2019-12-09 09:37:30 +01:00
Translation updater bot 4d4bee2eb0 Localisation updates from https://translatewiki.net.
Change-Id: I73391b0ffde3fca6fd77c58e777ecc2b2179ba5c
2019-12-06 09:35:35 +01:00
Translation updater bot f1dbf95639 Localisation updates from https://translatewiki.net.
Change-Id: Ia9943451a96450305ca0414513af9a849bd264ed
2019-12-04 09:30:07 +01:00
Translation updater bot 7662ae2b8e Localisation updates from https://translatewiki.net.
Change-Id: Ia0fc0bafe27ddbb5aa5a0f3d43b73d5cca6dfef6
2019-12-02 09:24:34 +01:00
Translation updater bot 0c1ee6f9bd Localisation updates from https://translatewiki.net.
Change-Id: If77bf5138d50d9d2ab3fff09c1e2737b8d3c3580
2019-11-11 15:35:01 +01:00
Translation updater bot 45eb1a6fbb Localisation updates from https://translatewiki.net.
Change-Id: I53274b90e57c7d9aa59480dd677c3d4e97e102ca
2019-11-04 10:18:17 +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 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
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 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 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 05b60a5b8f Localisation updates from https://translatewiki.net.
Change-Id: I0e590a54e78cd316807d7232fbb00a60c644a7aa
2019-08-31 15:58:20 +02:00
Translation updater bot e4c7fbe580 Localisation updates from https://translatewiki.net.
Change-Id: I54cc287abd7eb26b75ff305cbb0dca96dfead461
2019-08-30 10:05:42 +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 86919974e3 Localisation updates from https://translatewiki.net.
Change-Id: I9c836119d79c1ee63e212f6d8ebf190931dd3756
2019-08-06 09:12:09 +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 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 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
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 dd4a4e1e05 Localisation updates from https://translatewiki.net.
Change-Id: I3dff2c929879cfb6a26016931b737c322d054027
2019-05-10 09:21:29 +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 f6d082926b Localisation updates from https://translatewiki.net.
Change-Id: Ida951876a80d41457d44689ed382d238d3af5765
2019-03-19 22:17:11 +01:00
Bartosz Dziewoński a5c5257e71 Directly call action=query&prop=langlinks from JS rather than PHP wrapper
When this code was written in 2013 (1a5bdd5bd2),
the langlinks API did not have a way to return the language names (autonyms).
This has been added in 2014 (4ba3a9aea96ee21c035c69999be23580e23f4e0a).

Change-Id: I70edb846d94b1108b079caf5915532234190da8f
2019-03-18 23:27:44 +01:00
Translation updater bot 279706e170 Localisation updates from https://translatewiki.net.
Change-Id: I4ca93978ee92b82ceecc8e3d848448e752a490e9
2019-02-21 22:21:59 +01:00
Translation updater bot 2644783553 Localisation updates from https://translatewiki.net.
Change-Id: Ibcd06854fc427078a947a3e9409751ae74042278
2019-01-31 22:26:30 +01:00
Translation updater bot 660e052eec Localisation updates from https://translatewiki.net.
Change-Id: I0bf933a6ed1a5c8085a2163d55885dc06d8e4490
2019-01-25 22:29:36 +01:00
Translation updater bot 726ba9aaaf Localisation updates from https://translatewiki.net.
Change-Id: I39df68be7067a27630196e763ead778697b0ac24
2019-01-08 22:30:26 +01:00
Translation updater bot cf26be8dd1 Localisation updates from https://translatewiki.net.
Change-Id: Id2ac1c69d98fe1cb3d395d017f40282460874137
2018-12-17 22:19:43 +01:00
Translation updater bot 4f483bf144 Localisation updates from https://translatewiki.net.
Change-Id: I2c070666d1429507d67fe2f25ce586c41e52dda0
2018-12-14 22:22:33 +01:00
Translation updater bot 08f5bb021f Localisation updates from https://translatewiki.net.
Change-Id: I3aec0023f5edc6d6e4c3fc5a5f776bf04b82db0c
2018-12-07 22:21:55 +01:00
Translation updater bot 0f862703fd Localisation updates from https://translatewiki.net.
Change-Id: I8b37d79b9739eb528cab7b5e9eaf31c25b096b9a
2018-11-18 22:48:53 +01:00
Translation updater bot 0cd1017c71 Localisation updates from https://translatewiki.net.
Change-Id: I92aef7d5478233355e25857290adf7d880ad1cf1
2018-11-10 22:28:34 +01:00
Translation updater bot d3d399b845 Localisation updates from https://translatewiki.net.
Change-Id: I477632773d59751873011fa1501db0e6767c4925
2018-10-15 22:16:11 +02:00
Translation updater bot da28f190ec Localisation updates from https://translatewiki.net.
Change-Id: I9698270527f007eb32052c1f8b6152486d91bd86
2018-10-14 22:25:47 +02:00