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
Translation updater bot
46e34297e0
Localisation updates from https://translatewiki.net .
...
Change-Id: I7458126e05a90cd33e7a63f3c2b8b41a0ba632fb
2018-10-10 22:24:47 +02:00
Translation updater bot
9b5242d836
Localisation updates from https://translatewiki.net .
...
Change-Id: I6080aca55b55cc53901853055e79fbb0eb8cf726
2018-10-04 22:24:31 +02:00
Translation updater bot
706f3c2dfc
Localisation updates from https://translatewiki.net .
...
Change-Id: I81a2d420b82f94bd1ab6ff89baabd888e1c4feb5
2018-10-03 18:53:59 +02:00
Translation updater bot
048736b1b5
Localisation updates from https://translatewiki.net .
...
Change-Id: I2f561ff3a463a190ab35f7752e623d57109281f1
2018-09-26 13:46:43 +02:00
Amir Aharoni
d80c383ad2
Move VisualEditor apihelp/apierror messages to a separate i18n file
...
Should be merged along with the corresponding translatewiki change:
I89310a638e75f974af77db313bb9ca090c437bf2
Change-Id: Ie5be8dc09051907d3aea53e33bdd1b3f849ead1e
Big: T189982
2018-09-26 01:53:54 +03:00