Commit graph

1416 commits

Author SHA1 Message Date
Translation updater bot 0e3fb7dc4c Localisation updates from https://translatewiki.net.
Change-Id: I999dc9a2e6109807408661448ce1a069daf1c7a2
2022-11-24 08:18:33 +01:00
Translation updater bot 46a3c0c805 Localisation updates from https://translatewiki.net.
Change-Id: I3c63b32c421dde8458d950928518c6e1a8e9f6c7
2022-11-23 08:33:52 +01:00
Translation updater bot 5c93d514d2 Localisation updates from https://translatewiki.net.
Change-Id: Ieddebab9e640560eaa1f4c4a57edc8c7e307ce68
2022-11-22 08:34:51 +01:00
Translation updater bot 783a20bccb Localisation updates from https://translatewiki.net.
Change-Id: I3fd5e993e9cc76a05e4bed30a2636be1df2a3348
2022-11-21 08:17:29 +01:00
Translation updater bot 4d59bf627a Localisation updates from https://translatewiki.net.
Change-Id: If4f19cd77980b939e5a649d60fdcb7b998fc699f
2022-11-18 09:20:14 +01:00
Translation updater bot 5f9fc0ad10 Localisation updates from https://translatewiki.net.
Change-Id: I3152dd1bc8ec012492b17a03fe704da42ab9d3a8
2022-11-17 08:28:19 +01:00
Translation updater bot 62a93b066a Localisation updates from https://translatewiki.net.
Change-Id: I011e4e5bde6112f0dd809d27e358f4382a630150
2022-11-15 08:24:50 +01:00
Translation updater bot 9d8772b07d Localisation updates from https://translatewiki.net.
Change-Id: Iabc7cd99af4fddb799ac35eae1436d867446e8ef
2022-11-14 08:11:33 +01:00
Translation updater bot d47a0b7c3f Localisation updates from https://translatewiki.net.
Change-Id: I7aa5fd1ec34dd787a6e7bf05117ea92096bba43f
2022-11-11 08:42:47 +01:00
Translation updater bot d584c5414a Localisation updates from https://translatewiki.net.
Change-Id: Ib80991107be4535df64d183d40ceec44bb8addf3
2022-11-10 08:13:00 +01:00
Translation updater bot 60227b0b4e Localisation updates from https://translatewiki.net.
Change-Id: Ia39b26cad63b0ada5f433bf85d50d5bf27a1ce26
2022-11-09 08:59:54 +01:00
Translation updater bot c137b51e39 Localisation updates from https://translatewiki.net.
Change-Id: I4631e29409fc513a8f891a6eb329ce2337b41a57
2022-11-08 08:21:47 +01:00
Translation updater bot 1e9a456365 Localisation updates from https://translatewiki.net.
Change-Id: Id2e137fa1b4ed1de20b5f55008a54a309cf60aa6
2022-11-07 08:36:20 +01:00
Translation updater bot 97c506d028 Localisation updates from https://translatewiki.net.
Change-Id: I165f8aef3df7a34bf9874164d7aaf4f939bb6eda
2022-11-04 10:19:16 +01:00
Translation updater bot d3196b7b7f Localisation updates from https://translatewiki.net.
Change-Id: I2eaff7b85e77652694c11ebf1c263206fe4dd808
2022-11-04 09:04:26 +01:00
Translation updater bot 17b983a20b Localisation updates from https://translatewiki.net.
Change-Id: I0bedef6844fabd5496d45ef9fa6918a1cbaadb68
2022-11-03 08:25:45 +01:00
Translation updater bot ce93f4c577 Localisation updates from https://translatewiki.net.
Change-Id: If75cc6447015398c79a284c13ee92b1cdce687dc
2022-11-01 08:55:38 +01:00
Translation updater bot b0c98cfaef Localisation updates from https://translatewiki.net.
Change-Id: I9056cb8779beeb4a2958c4fa04210170eda1b564
2022-10-31 09:47:10 +01:00
Translation updater bot d800ed737a Localisation updates from https://translatewiki.net.
Change-Id: I9a5691314c598ea17b92754b32bf320b1df5c1e8
2022-10-27 08:56:38 +02:00
Translation updater bot 71fed9ac51 Localisation updates from https://translatewiki.net.
Change-Id: Ibee77b9aa9a373ccda651f0d566fd0fec49f09c0
2022-10-26 08:20:40 +02:00
Translation updater bot acb3ef1227 Localisation updates from https://translatewiki.net.
Change-Id: Id6d1aa62f4b9b6b430d68066913d2b7e593658b5
2022-10-25 08:25:12 +02:00
Translation updater bot 11a6fe2bb5 Localisation updates from https://translatewiki.net.
Change-Id: Id6301e2e7e0fe02f347ba3d6d064fa3e78061df8
2022-10-24 08:24:00 +02:00
Translation updater bot fc6c025e02 Localisation updates from https://translatewiki.net.
Change-Id: I5a390dddbdb50fc5a77e7402462c9130d46f7499
2022-10-20 08:32:33 +02:00
Translation updater bot 2130737dde Localisation updates from https://translatewiki.net.
Change-Id: I3bcc180c3fa645ef0da220367ebbd6ffec1ada23
2022-10-19 08:21:15 +02:00
Translation updater bot a763ee7086 Localisation updates from https://translatewiki.net.
Change-Id: I1447ff7962f7a281f3a1680509425ffd200c1ad2
2022-10-18 08:23:39 +02:00
Translation updater bot 59f476dd8e Localisation updates from https://translatewiki.net.
Change-Id: I953297a88dfaede07a41fc1d6ebc7ede0b63fd1f
2022-10-17 08:22:54 +02:00
jenkins-bot 669cbcea37 Merge "Use RevisionLookup methods instead of ApiParsoidTrait methods" 2022-10-14 14:16:46 +00:00
Translation updater bot 307f5c376b Localisation updates from https://translatewiki.net.
Change-Id: I66c92f482653fa924ef4d0e9cc18f8944316f377
2022-10-14 08:43:25 +02:00
Translation updater bot 09555e4315 Localisation updates from https://translatewiki.net.
Change-Id: I4834936506b2b9e511a2e4da1a10ef287a201a9b
2022-10-13 08:10:11 +02:00
Bartosz Dziewoński d2e49b16f7 Use RevisionLookup methods instead of ApiParsoidTrait methods
Part of my secret plan to delete ApiParsoidTrait.

* Inject RevisionLookup into ApiVisualEditor
* Use RevisionLookup::getRevisionById instead of ApiParsoidTrait::getValidRevision
* Use RevisionLookup::getRevisionByTitle instead of ApiParsoidTrait::getLatestRevision
* Use standard MediaWiki error messages
* Delete unused ApiParsoidTrait::getValidRevision
* Delete unused ApiParsoidTrait::getLatestRevision

Depends-On: I7244ee4916fb011fad5faa1d9f837e83f6ac2dc1
Change-Id: I8089c0c516d9dba52e931a0a80740c0361216dbd
2022-10-11 14:54:40 +00:00
Translation updater bot 80504b2c03 Localisation updates from https://translatewiki.net.
Change-Id: Ife6a6cf66ded6188dc69455a3ce887105f2b7da9
2022-10-11 09:17:46 +02:00
Translation updater bot 7b1a6c987c Localisation updates from https://translatewiki.net.
Change-Id: I3789a38b0117a506953adee06c69cb4af131684d
2022-10-10 10:21:38 +02:00
Translation updater bot 2c7876eeb1 Localisation updates from https://translatewiki.net.
Change-Id: I4614e2bb87d3b372a1816878de707b80e839856b
2022-10-06 08:16:32 +02:00
Translation updater bot 78612067c1 Localisation updates from https://translatewiki.net.
Change-Id: If2ea8076d668f76d00b34da72c6732480ca46e91
2022-10-05 08:25:26 +02:00
Translation updater bot 1de359e7eb Localisation updates from https://translatewiki.net.
Change-Id: Iab6b37758543ee81cadb6cbc3c39f5431c501e81
2022-10-04 08:30:22 +02:00
Translation updater bot 5c5673bc2b Localisation updates from https://translatewiki.net.
Change-Id: I6fc288a7b158f9d5ca463d5b32a279af9f1ae8ef
2022-10-03 09:46:46 +02:00
Translation updater bot a509020bee Localisation updates from https://translatewiki.net.
Change-Id: If9817782dfbd79ec98cde40ee8c7d3069063c30a
2022-09-30 08:55:15 +02:00
Translation updater bot ba17184845 Localisation updates from https://translatewiki.net.
Change-Id: I459fcd72595dc72c3b38926ca1df46d33882385f
2022-09-29 08:28:30 +02:00
Translation updater bot 50c6aa8c01 Localisation updates from https://translatewiki.net.
Change-Id: I570e749eee9827e540bb1aa1d9e55c7b9cbc37d0
2022-09-28 08:23:17 +02:00
Thiemo Kreuz 4ca12d6555 Use same formatting for "Parameters:" in qqq.json
Change-Id: I236a8c360a141e68a079f9dd6878e930332ed856
2022-09-27 16:49:13 +00:00
Translation updater bot fc265cef49 Localisation updates from https://translatewiki.net.
Change-Id: If77c6f4664af13e977035761f9f6698573970d27
2022-09-27 08:32:55 +02:00
Translation updater bot 571b2a2cba Localisation updates from https://translatewiki.net.
Change-Id: Ib577f29030525d628bc0c629e50c2ee2b80c78b8
2022-09-26 08:16:44 +02:00
Translation updater bot 944a2b3cf1 Localisation updates from https://translatewiki.net.
Change-Id: I865f2f749a9065448ba5036d1668c605311b37ab
2022-09-23 08:30:29 +02:00
Translation updater bot 62fa3a1903 Localisation updates from https://translatewiki.net.
Change-Id: I53228cb2c3236df742edf70af600b5110a02fa13
2022-09-22 08:47:41 +02:00
Translation updater bot 095d462165 Localisation updates from https://translatewiki.net.
Change-Id: Iceccacde27b4a33554e9a817cb9c873a656588fd
2022-09-21 08:30:02 +02:00
Translation updater bot cd913b4f18 Localisation updates from https://translatewiki.net.
Change-Id: I884506f98bb22eb0c3ac46884482c6df6edbd440
2022-09-20 08:35:03 +02:00
Translation updater bot 185bdb1371 Localisation updates from https://translatewiki.net.
Change-Id: I5cb12b5423304482ec3aa3a51a7cd70a6a1e9693
2022-09-19 08:26:12 +02:00
Translation updater bot 26bc9756fe Localisation updates from https://translatewiki.net.
Change-Id: I3f0cb4841f3673c74c2f871a9f43a39b2898a15b
2022-09-15 09:55:52 +02:00
Translation updater bot c09f6b2d03 Localisation updates from https://translatewiki.net.
Change-Id: I2268528fbe3f561afc6bd40fd06c5d4ab384b6a5
2022-09-14 10:32:15 +02:00
Translation updater bot 4ebdbc2487 Localisation updates from https://translatewiki.net.
Change-Id: Id72f24e0900fc2bc35f18b9f4fb1fcabb2d0101f
2022-09-13 09:26:31 +02:00
Translation updater bot 60e69a0841 Localisation updates from https://translatewiki.net.
Change-Id: I6e831c93427a76ba49188f173fad9f8a4a0c2317
2022-09-12 09:37:23 +02:00
Translation updater bot 6c31c28a11 Localisation updates from https://translatewiki.net.
Change-Id: I8f2be21444913f86be49f7136151281f419b63ab
2022-09-09 10:11:04 +02:00
jenkins-bot ee9866bfc9 Merge "Make "(undocumented parameter)" part of the parameter label" 2022-09-08 11:52:52 +00:00
Translation updater bot bd173ad476 Localisation updates from https://translatewiki.net.
Change-Id: I37351c6027bc65b7400bcfee32fd02f653c3cfa9
2022-09-08 10:00:12 +02:00
Translation updater bot 948773fd15 Localisation updates from https://translatewiki.net.
Change-Id: I3f3acd353c4cfcc1ba484374a17f7f7e25341bb7
2022-09-07 09:55:25 +02:00
jenkins-bot 47cba98037 Merge "Improve some API param docs and validation" 2022-09-06 22:40:13 +00:00
Translation updater bot df2309bd9f Localisation updates from https://translatewiki.net.
Change-Id: I85d94f1eb1aab3293c3da1ed220bc24bbfabcbeb
2022-09-05 10:12:21 +02:00
Bartosz Dziewoński 6f3de6d7f0 Improve some API param docs and validation
Change-Id: Ic1319f82e581b1a3c2108ab32449ce75aa187831
2022-09-02 04:20:41 +02:00
Translation updater bot 3b0a4c60ae Localisation updates from https://translatewiki.net.
Change-Id: I86ceeb77df14a063f764ef6c0918ea8c55526468
2022-09-01 09:35:09 +02:00
Translation updater bot 5eef7c3036 Localisation updates from https://translatewiki.net.
Change-Id: Ic25644afabb8deb1993c36c83fc29896fa99b1de
2022-08-31 09:36:04 +02:00
Translation updater bot 75ba4b9bcd Localisation updates from https://translatewiki.net.
Change-Id: Ifda2701f04d66e4eea570b50d3b4799ceacfc303
2022-08-30 09:31:00 +02:00
Thiemo Kreuz 299738307e Make "(undocumented parameter)" part of the parameter label
This makes it possible to click on "(undocumented parameter)"
to focus the input field – the same effect as when clicking the
parameter name.

This also lower-cases the initual "(U…". This is not the beginning of
a sentence.

Change-Id: Ibfa5bbaee39c2b3a4fefbcee33102b85ca3ba9c0
2022-08-29 17:00:23 +02:00
Translation updater bot dc70a0e599 Localisation updates from https://translatewiki.net.
Change-Id: I5174c709e38f5be173c144a2d0eaba31fdf33bb5
2022-08-29 09:16:16 +02:00
jenkins-bot 9ac8195013 Merge "Improve error messages for RESTBase errors" 2022-08-26 18:41:17 +00:00
Translation updater bot 47d0d5075d Localisation updates from https://translatewiki.net.
Change-Id: Iad9c2b4db5bdfb665f92cc860e487659e62ea39e
2022-08-26 08:23:43 +02:00
Translation updater bot 5a8aadae90 Localisation updates from https://translatewiki.net.
Change-Id: I86064a9ace9b729c122800d7bed755bb07e0dbc1
2022-08-25 08:27:27 +02:00
Translation updater bot 607e031d85 Localisation updates from https://translatewiki.net.
Change-Id: I84436595a4a4fb2327cc6f67c46644a1427e8687
2022-08-24 08:25:18 +02:00
Translation updater bot 31ecd99b94 Localisation updates from https://translatewiki.net.
Change-Id: I0f742133413485003aadedf9f839c29062bfa6a9
2022-08-23 08:11:32 +02:00
Translation updater bot e51c055a8e Localisation updates from https://translatewiki.net.
Change-Id: I0ab0a136de50bf078343139d7593140bccaca92a
2022-08-22 08:24:24 +02:00
Bartosz Dziewoński f2df5dc7b9 Improve error messages for RESTBase errors
For error responses, the response body should be JSON containing a
'detail' key with a human-readable error message.

Remove old debug logging for T233320, it's no longer needed and it
stopped working on WMF wikis anyway (again, previously it was broken
due to T234564).

Change-Id: I64d0b934c90c7e9582e5433ae7a1b9ed2bc0c9a2
2022-08-19 21:13:35 +00:00
Translation updater bot c10a63e23b Localisation updates from https://translatewiki.net.
Change-Id: I505f770e39fb1fcf9e40dcf01d118a753460ce9b
2022-08-19 08:30:56 +02:00
Translation updater bot 45049b4507 Localisation updates from https://translatewiki.net.
Change-Id: Id358f0ae5fc406b0edd8808987eb1884b946319f
2022-08-18 08:39:56 +02:00
Translation updater bot e9560b58b9 Localisation updates from https://translatewiki.net.
Change-Id: Ide31402c2270f6158503829cf6f0e9ecb5eb6edd
2022-08-17 08:25:32 +02:00
Translation updater bot 1c90c8150f Localisation updates from https://translatewiki.net.
Change-Id: I4fdd541d50613ee8a8b2cb4e8594a14196cabeab
2022-08-16 08:35:12 +02:00
Translation updater bot f1c257d590 Localisation updates from https://translatewiki.net.
Change-Id: I7eb99309da43cef286f0a6b4a8710e510ec37419
2022-08-15 08:27:32 +02:00
Translation updater bot 57c8f01b7b Localisation updates from https://translatewiki.net.
Change-Id: I18ba55242d9a97efa35d029409fee01945815d52
2022-08-12 08:44:28 +02:00
jenkins-bot efdde38f85 Merge "Create Parsoid helper for use outside of action API" 2022-08-11 13:39:29 +00:00
Bartosz Dziewoński 8d735bbd9e Create Parsoid helper for use outside of action API
ApiParsoidTrait depends on some ApiBase methods, which is inconvenient
when one wishes to access Parsoid HTML outside of the action API. Move
the bulk of the code into a new class ParsoidHelper, which doesn't.

Replace the uses of methods:
* dieWithError: throw a different kind of exception where it makes
  sense, or change the method to return a StatusValue instead of
  throwing where it doesn't
* getPageLanguage: use Title::getPageLanguage() or pass as parameter
* getConfig: pass to constructor
* getLogger: pass to constructor
* getRequest: pass the only required part to constructor,
  leave some other API-specific code using it in ApiParsoidTrait

Bug: T314565
Change-Id: I90656cc74bb1cb1f2f3c82ad51cfb164cb8a4a4b
2022-08-10 23:20:59 +00:00
Translation updater bot 2154e6d39e Localisation updates from https://translatewiki.net.
Change-Id: Id2833a6e2ca1af8bee95a1542b8821110bae63cf
2022-08-10 08:24:31 +02:00
Translation updater bot f411e5ac21 Localisation updates from https://translatewiki.net.
Change-Id: I7a0fef43f0ef62a6b4b1e594889d0116fea36bcb
2022-08-09 08:20:32 +02:00
Translation updater bot 95b923abef Localisation updates from https://translatewiki.net.
Change-Id: Id9009b4f2251171dd529ee8633c0e38e1431771a
2022-08-08 08:59:51 +02:00
Translation updater bot e422826a33 Localisation updates from https://translatewiki.net.
Change-Id: I1e5a5257d4a6257a746c14f169bf8f149ccdb7ed
2022-08-05 08:34:47 +02:00
Translation updater bot 1df7dbbd6c Localisation updates from https://translatewiki.net.
Change-Id: I04bf8706f60fd39a5f53e317cb75400d8a18439d
2022-08-04 08:43:58 +02:00
Translation updater bot b7fb7e64e2 Localisation updates from https://translatewiki.net.
Change-Id: Ib1a37d16265b138ac2547a7f618ec35b3d1acd75
2022-08-03 08:19:06 +02:00
Translation updater bot c626f93a1f Localisation updates from https://translatewiki.net.
Change-Id: I83504e154779ce7d6e0d440cf972de900920cc56
2022-08-02 08:14:10 +02:00
jenkins-bot f8fd06dbaf Merge "Remove 5 more very old unused messages" 2022-08-01 09:46:45 +00:00
Translation updater bot 799c0b86ea Localisation updates from https://translatewiki.net.
Change-Id: I5851d2c86d2ae51dbc44f791387d40456e93667b
2022-08-01 08:23:49 +02:00
Translation updater bot fb8a9396ed Localisation updates from https://translatewiki.net.
Change-Id: I5b58f46c1baf929867084da6a7e3450d5d12fce9
2022-07-29 08:54:32 +02:00
jenkins-bot 15c56b442c Merge "Remove unused template dialog title message" 2022-07-28 10:25:12 +00:00
Translation updater bot 461a6bea84 Localisation updates from https://translatewiki.net.
Change-Id: I1a944644e38391c26d61cb691aa86a4edf6aff2f
2022-07-28 08:58:20 +02:00
Thiemo Kreuz b8b5ed3eaa Remove 5 more very old unused messages
* "visualeditor-dialog-transclusion-options" was added in 2013 via
  I3bcf924. It was used as the label for multiple FieldsetLayouts in
  ve.ui.MWTransclusionDialog.js. In 2013 a larger rewrite was done via
  I51e74b3. The FieldsetLayouts with this message don't exist any more
  since then.
* "visualeditor-dialogbutton-meta-tooltip" was added in 2013 via
  Ibf63329. It was used as the button label in
  ve.ui.MWMetaButtonTool.js. This file was deleted in 2013 via
  I3bb61d5. That patch added a new message "visualeditor-meta-tool"
  that says the same as the old message". The old message is unused
  since then.
* "visualeditor-savedialog-label-create" is a new key for a message
  that existed before. The old key was "visualeditor-create-page". It
  was used in ve.init.mw.ViewPageTarget.js as a button label. This
  usage was removed in 2012 via I5f59482. The renamed message was
  never used.
* "visualeditor-savedialog-label-report" was added in 2012 via
  I5f59482. It was used as a button label in
  ve.init.mw.ViewPageTarget.js. The feature was removed in 2013 with
  no replacement, see I8a5e0ab. Some of the messages that became
  unused got removed in the same patch, but not all of them.
* "visualeditor-savedialog-warning-dirty" was added in 2013 via
  I3daf631. It was used for a confirmation popup in
  ve.init.mw.ViewPageTarget.js. I8c0db01 moved the code to
  ve.ui.MWSaveDialog.js. In 2015 the confirmation popup was removed
  with no replacement, see I9091534.

Change-Id: Iae7961612d5b5be9cdd294a67a9ce40ee8cb9b4d
2022-07-27 09:01:21 +02:00
Thiemo Kreuz 91b5cea852 Remove unused template dialog title message
The message "visualeditor-dialog-template-insert" was added in 2021
via I5da4003. It was used as a dialog title in
ve.ui.MWTemplateDialog.js. In 2021 we introduced three new messages
via Ib9b76ca. One of them still says the same as the old message, but
got a new key assigned. It appears like we forgot to remove the old
message.

Change-Id: Ie3854114197e3f36b48bb7efd8dd96a1f9651198
2022-07-27 08:54:31 +02:00
Translation updater bot d70e425fc9 Localisation updates from https://translatewiki.net.
Change-Id: I9edc9a6a56dc59abb0a8a0b8519024238edaec46
2022-07-27 08:27:02 +02:00
jenkins-bot 7e55a99917 Merge "Add a checkbox to use the image caption as the alt text for galleries" 2022-07-26 20:00:48 +00:00
Translation updater bot bf829f4681 Localisation updates from https://translatewiki.net.
Change-Id: If8f03962e2280a53b18bc6057eea8ce8aefcd6ee
2022-07-26 08:26:05 +02:00
Translation updater bot 576f27e3d5 Localisation updates from https://translatewiki.net.
Change-Id: Id8ba7dd358d976435816667f17ab2a06aab7da65
2022-07-25 09:51:04 +02:00
Translation updater bot f4497c9ddd Localisation updates from https://translatewiki.net.
Change-Id: I480a16f3d6d2a3ca838deb4fd4bc0879d940f686
2022-07-25 08:39:48 +02:00
Arlo Breault 94c4d619a7 Add a checkbox to use the image caption as the alt text for galleries
The need for something like this was anticipated in
I2bf43c7e83283f43e047229eb53c244918fcbb0c.

As of version 2.5.0 of Parsoid's output, if alternate text is missing
for an image but a caption is present and image isn't displaying the
caption (ie. it isn't a thumb or frame), then the text content of the
caption will be set as the alt attribute.  Parsoid will then drop the
alt attribute when serializing if it matches the caption text, since
it's unnecessary.

However, if the caption is modified and the alt text isn't, the alt will
be serialized.  This is likely to be unexpected to editor.  They may
have missed that the both the caption and alt are populated in VE and
only edited one place.

Since all of the above is happening only for images where the caption
isn't visible, it doesn't appear to be a much used feature since, at
least for inline images, the experience of caption editing was already
less than optimal.

However, because of a quirk in how galleries are rendered in Parsoid,
this affects gallery caption editing, which is visible and presumably
used more often.  See T268250 for a discussion on an improved gallery
structure.  But for now, gallery images are effectively inline and set
the alternate text, thus subject to the above.

Here we add a checkbox so that the default is to ignore the alt if it's
the same as the caption.  And only make use of it if it differed
originally or was explicitly unchecked to modify.

Bug: T311677
Change-Id: Idf297d8a98995971c5835b0cea56c3317a3626e2
2022-07-22 15:46:55 -04:00
Translation updater bot 3a0b3e07d5 Localisation updates from https://translatewiki.net.
Change-Id: I588ff3e1e5b5a5b783c0b8941cf38b64a3b06877
2022-07-21 09:04:57 +02:00
Translation updater bot da2c04abb7 Localisation updates from https://translatewiki.net.
Change-Id: Iad665489aa8418e345f8f4cf1a69cc85c1abd64a
2022-07-20 08:28:37 +02:00
Translation updater bot 29cace0be3 Localisation updates from https://translatewiki.net.
Change-Id: I8c4dc5ef4fb727d1397fc355a2e6f4173b89d391
2022-07-19 08:17:46 +02:00
Translation updater bot fc85f06dd1 Localisation updates from https://translatewiki.net.
Change-Id: Id75506d4b41ba26ad25fa5de5c3861808a0ad975
2022-07-18 08:16:01 +02:00
Translation updater bot 3081c2f09d Localisation updates from https://translatewiki.net.
Change-Id: I00b6762101fb8aea78c0f8872367a51e98f6a387
2022-07-15 08:48:25 +02:00
Translation updater bot 6440b62341 Localisation updates from https://translatewiki.net.
Change-Id: I1c2233043ecfa7a2ad9374f2d1009d4c03b9cdcb
2022-07-14 08:49:10 +02:00
Thiemo Kreuz 139e6547d1 Remove unused media/meta-related messages
visualeditor-dialog-media-thumbdimensions
Added in 2014 via I7b4d019, but never used, as far as I can tell.

visualeditor-dialog-media-searchselect
Unused since I65aed34 from 2015.

visualeditor-dialog-meta-settings-displaytitle-enable
The feature was removed in 2017 via I46db6b1.

This patch also marks some other messages as being used via comments.

Change-Id: Ia10b6a5c0ea83dd670e2cfdbaa768c41fc0cf392
2022-07-13 13:56:41 +02:00
Translation updater bot 83fbbba390 Localisation updates from https://translatewiki.net.
Change-Id: I244decbe1796492a7ec251b6b3aab1db8afa05f9
2022-07-13 08:18:24 +02:00
Translation updater bot b3306567e9 Localisation updates from https://translatewiki.net.
Change-Id: I210d73dbdf5f20030b152175873c1d68f603497c
2022-07-12 08:15:57 +02:00
Translation updater bot 1e580da334 Localisation updates from https://translatewiki.net.
Change-Id: I3aff596dc6bb3cc20576f18d815d9a5d018cbc5c
2022-07-11 09:50:54 +02:00
Translation updater bot 106c550c83 Localisation updates from https://translatewiki.net.
Change-Id: I734076267445eeed4ba011faa6ac3d9d5e6bfb35
2022-07-08 08:53:20 +02:00
Translation updater bot b0937f243d Localisation updates from https://translatewiki.net.
Change-Id: I60354d290905322952297de3a7c0fb7654b14a86
2022-07-07 08:51:17 +02:00
Andrew Kostka d5b8107902 Use "Add template" label in the sidebar and as the header
Bug: T311107
Change-Id: Ib85c08c5d72e621a7687dc393b2f8d9443f13b06
2022-07-06 10:55:43 +00:00
Translation updater bot 3117f9a535 Localisation updates from https://translatewiki.net.
Change-Id: I35f351704c7683843fd5893b805667ae75044cff
2022-07-06 10:18:52 +02:00
Adam Wight 0c87f16057 Shorten text for add buttons
This makes layout easier on small screens.

Bug: T311107
Change-Id: I506ac8ae721cf7b77f20c39b8049455d40d319de
2022-07-05 13:50:47 +02:00
Translation updater bot d7d953aefe Localisation updates from https://translatewiki.net.
Change-Id: I8754be18daa834dddf51905392db7bee5d9fd9ff
2022-07-05 08:39:14 +02:00
Translation updater bot bfea60d921 Localisation updates from https://translatewiki.net.
Change-Id: I4c66ef05e3b5629afa6b7d5ac010335354f18e7d
2022-07-04 08:23:09 +02:00
Translation updater bot 11f48d1e1a Localisation updates from https://translatewiki.net.
Change-Id: I4fe9881134214b767ebe364a2a20d0ba969df1fd
2022-07-01 08:54:02 +02:00
Translation updater bot 3d77052c94 Localisation updates from https://translatewiki.net.
Change-Id: I1638ef8b83fedc1f79bd0731d0ef8c561cf03697
2022-06-29 08:35:52 +02:00
Translation updater bot c716ab294c Localisation updates from https://translatewiki.net.
Change-Id: I137073ca319be860062bfcde57b41dd186e8f5fe
2022-06-28 08:40:29 +02:00
jenkins-bot 1e094a8868 Merge "Fix broken error message 'visualeditor-saveerror'" 2022-06-27 19:07:18 +00:00
Translation updater bot bf6eecb1e4 Localisation updates from https://translatewiki.net.
Change-Id: I18e3adacec441e1678e5214e9ba9fd42aecbeddd
2022-06-27 08:18:54 +02:00
Translation updater bot 28f3e9ac0b Localisation updates from https://translatewiki.net.
Change-Id: Ib564d607b009515524f6b8ae8c8d01c0dae535fb
2022-06-24 09:31:40 +02:00
Translation updater bot 72748f59d5 Localisation updates from https://translatewiki.net.
Change-Id: If0afe0972a3f03b6b07018e4f521082d0bfc38f0
2022-06-23 09:04:29 +02:00
jenkins-bot c19a44e246 Merge "Remove unused media info messages" 2022-06-22 19:36:00 +00:00
Adam Wight 15ef2dc3c6 Remove inaccessible ARIA annotation from old sidebar
This was added via I3b792ff. It's about the old sidebar which isn't
accessible any more.

Bug: T311069
Change-Id: I29919285255a84bd58aa06ee1b2816d25a8112a6
2022-06-22 13:44:23 +02:00
Thiemo Kreuz f0bce1c845 Remove unused media info messages
The "visualeditor-dialog-media-info-…" messages are part of a larger
info panel that appears after searching for an image. This was
introduced via I7b4d019, a patch with 52 patchsets, developed between
September 2014 and January 2015.

The "credit" message appeared first in patchset 2, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/161342/2/modules/ve-mw/i18n/en.json

The "dateformat" message appeared first in patchset 12, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/161342/11..12/modules/ve-mw/i18n/en.json
This message appears to be special in so far that it was never used
to begin with.

The other two messages appeared first in patchset 21, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/161342/20..21/modules/ve-mw/i18n/en.json

3 of the 4 messages are used at this point. The message keys are
constructed in code via `"visualeditor-dialog-media-info-" + key`.
This piece of code was also introduced in patchset 21, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/161342/20..21/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js#629

This was entirely rewritten in patchset 41, see
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/161342/40..41/modules/ve-mw/ui/dialogs/ve.ui.MWMediaDialog.js#b670
Since then the messages are unused. The info panel still exists and
still shows all information, but the 3 fields "ImageDescription",
"LicenseShortName", and "Credit" just show an icon and the field's
value, but no label (any more).

Change-Id: Ief35a85d8c5cbf49b662adbfd068dbecd8e4f154
2022-06-22 09:09:07 +00:00
jenkins-bot 1ba1bc76f4 Merge "Remove dead code in MWTemplatePage" 2022-06-22 06:29:47 +00:00
Translation updater bot 04e6954fd9 Localisation updates from https://translatewiki.net.
Change-Id: Icea5faddda50244e4c81eaf0d4f2cf3647429392
2022-06-22 08:14:21 +02:00
jenkins-bot 4eceae3962 Merge "Remove two unused placeholder messages from gallery dialog" 2022-06-22 00:38:19 +00:00
WMDE-Fisch 11f5f6cb59 Remove dead code in MWTemplatePage
Bug: T310859
Change-Id: Ie55d82fb6f3be0b90b8f42aecdd761624b94afca
2022-06-22 00:20:00 +00:00
jenkins-bot 3b9e0bf0dc Merge "Remove unused media position messages" 2022-06-21 17:37:06 +00:00
jenkins-bot b2bd7516f1 Merge "Remove dead code in MWTransclusionDialog" 2022-06-21 14:49:18 +00:00
WMDE-Fisch 8535fa72ab Remove dead code in MWTransclusionDialog
Removing CSS will go into a follow up.

Bug: T310859
Change-Id: I05a0c12ab98ca428aca64181469d8c9cf6311f03
2022-06-21 14:22:47 +02:00
Thiemo Kreuz ec2a961d00 Remove two unused placeholder messages from gallery dialog
Both messages are unused since I1e93c3a. As I understand the patch
what it did was replacing two plain text input fields with WYSIWYG
editors. These don't use placeholders.

Change-Id: Ia4ac7d7c9ae86dedd02040a81300a9722e94d1b7
2022-06-21 14:20:33 +02:00
Thiemo Kreuz a01163d097 Remove unused media position messages
All 4 messages are introduced via I15fbd1e in January 2014.

The "none" message is unused since Iddd78c9 from February 2014. It
was replaced with a checkbox with a different label.

The other 3 messages are unused since I7057997 from February 2015.
A more generic widget is used since then. It uses messages that are
named "visualeditor-align-widget-center" and so on.

Change-Id: I7ad4772cb4fdec7e478cee23dccd5ae600834caf
2022-06-21 14:11:53 +02:00
Translation updater bot 0cdf8f23e0 Localisation updates from https://translatewiki.net.
Change-Id: I89185325aa63903b99158e48b8bb2b3c081e2daa
2022-06-21 08:32:20 +02:00
jenkins-bot d61bac4907 Merge "Remove unused "enabled in namespace" messages" 2022-06-20 16:22:35 +00:00
Thiemo Kreuz ca4755eeba Remove unused "choose media size" messages
The three messages have been added via Ib973ea2 (tracked via T49804)
and I6778705 in 2014. They have been used exclusively in the file
ve.ui.MWMediaEditDialog.js.

They have been removed from the file via I017a017 in 2014. The commit
message is a bit confusing. It sounds like the changes are copied
from the core submodule. But said submodule is only lib/ve. All other
changes in the patch are done to adapt to the changes made in the
submodule.

TL;DR: Unused since I017a017.

Change-Id: Ib475cce34f55a70d6fb7d3a36b197ced0b043337
2022-06-20 17:35:33 +02:00
Thiemo Kreuz 0238b12341 Remove unused "enabled in namespace" messages
One of the two messages was introduced via I4ef25c0 in 2012.
Back then it was meant to be used as part of the
"visualeditor-preference-enable" message.

Both are, as far as I can see, unused since I9d7786b (tracked via
T58205) from 2013.

Change-Id: Icdfeb431553883f2b105ddd1c3b36873ba7c0b67
2022-06-20 17:04:02 +02:00
WMDE-Fisch 6396b030d5 Remove dead code in MWTemplatePlaceholderPage
Bug: T310859
Change-Id: I04de9c4bd3828e8769136d5776037e927ba7b4ab
2022-06-20 10:30:31 +02:00
jenkins-bot 92feea3068 Merge "Remove dead code in MWTransclusionContentPage" 2022-06-20 08:24:49 +00:00
Translation updater bot 237673dadd Localisation updates from https://translatewiki.net.
Change-Id: I6b08eebca1cce9a916155a706efe519f74f6fecb
2022-06-20 08:18:16 +02:00
WMDE-Fisch bf2f40e8d4 Remove dead code in MWTransclusionContentPage
The outline item is only used by the new sidebar for the move and
remove flags it seems.

Bug: T310859
Change-Id: Ia74e5b0e3dbf81e745137b181ed34a4d48dac42c
2022-06-17 16:46:30 +02:00
jenkins-bot e2a3629aa8 Merge "Remove redundant error message used sometimes when switching" 2022-06-17 13:24:10 +00:00
WMDE-Fisch 3273b7e5bd Remove dead code in MWParameterPage
Parameters do not have an "OutlineItem" anymore so the code for
that was completely removed.

Bug: T310859
Change-Id: Ie57f462b8fda4505b99ee5bc9d788908d18d9c64
2022-06-17 12:25:40 +02:00
Thiemo Kreuz 218ac78960 Remove obsolete "search for a parameter" page and widgets
… as well as messages, CSS, and icons that are now unused.

Bug: T310859
Change-Id: I1a2797728788cf1a86299414c1430ded0b362d4e
2022-06-17 10:23:00 +02:00
Translation updater bot 02377f4b0f Localisation updates from https://translatewiki.net.
Change-Id: I506d3ec0d599761c21219b021b249fc764d10b45
2022-06-16 09:25:52 +02:00
Bartosz Dziewoński 5622576ef9 Fix broken error message 'visualeditor-saveerror'
The message 'visualeditor-error-invalidresponse' doesn't exist,
it has been removed in 5f1c68945d.
MediaWiki API methods can return an error message for this case.

The message 'visualeditor-saveerror' is not used anywhere else.

Change-Id: I3f5617b94135fa602b714aafc0eb6b16f2cd77df
2022-06-16 00:35:13 +00:00
Bartosz Dziewoński 559d85f0f4 Remove redundant error message used sometimes when switching
The API error messages already explain everything well enough,
we pass them directly into a very similar popup in #loadFail.
This message is older than the pretty API error responses,
and didn't work with them well.

Bug: T306763
Change-Id: Ie0d8dc24c967cce02579d6c0539a55ba14372f84
2022-06-16 01:28:19 +02:00
WMDE-Fisch 82718bf70a Remove feedback message link
The testing phase for the implemented features is finished. So the
feedback link for the project can be removed.

Also added missing documentation for a message key used.

Bug: T307188
Change-Id: I2e2e4ff58d2bacda5ae841bcf6f418e786a3967e
2022-06-15 12:37:14 +00:00
Adam Wight 1b4c81c27d Remove $wgVisualEditorTransclusionDialogInlineDescriptions feature flag
The feature is always enabled now.

Bug: T307188
Change-Id: Id8b39d44901dee9118837fc4670d7faa4ef19b43
2022-06-15 12:09:47 +02:00