Commit graph

1552 commits

Author SHA1 Message Date
Bartosz Dziewoński 870841b407 ArticleTarget: Remove misleading error message on 'badtoken' errors
This method was only called, and the message was only shown, when
retrying after the first 'badtoken' error and refreshing the token
fails again.

If this happens, it usually indicates some terrible problem with
the wiki, and it is not something that can be fixed by logging in
again (or anything else the user can do).

Let the default API error message appear ("Invalid CSRF token.").
While not very helpful to the user, it should be more helpful to
the site administrator trying to unbreak their wiki.

Remove the "visualeditor-savedialog-identify-trylogin" message.
Keep "visualeditor-savedialog-error-badtoken", which is re-used
in another error message. I'll fix that separately.

Change-Id: Ib680218bce5ae38aa52d7d941218a6410ab7e09e
2023-08-14 19:58:26 +02:00
Translation updater bot 09f3c43759 Localisation updates from https://translatewiki.net.
Change-Id: I83b5bde131a07055f4e775f9c6cf97f4c7181ea7
2023-08-14 09:18:53 +02:00
Translation updater bot 8e1c84c0a7 Localisation updates from https://translatewiki.net.
Change-Id: I53066eb145f551cf50b7e485d027cfc788de73fb
2023-08-11 09:02:13 +02:00
Translation updater bot 653ca76afe Localisation updates from https://translatewiki.net.
Change-Id: Ica378aef150f83a9a95e714cba7be09fdc788e7a
2023-08-10 09:42:28 +02:00
Translation updater bot 8db407d33a Localisation updates from https://translatewiki.net.
Change-Id: I83ec5340d6a079a98dcf6adcd11004a0a3915ec5
2023-08-09 09:16:02 +02:00
Translation updater bot d780084260 Localisation updates from https://translatewiki.net.
Change-Id: I08f845e049c45c5ee1a2bc408c83a6af96b6b140
2023-08-08 09:01:55 +02:00
jenkins-bot 2fb87f11e0 Merge "Add option to unify display of VE enable preference" 2023-08-07 15:33:40 +00:00
Translation updater bot 44d0e6f50f Localisation updates from https://translatewiki.net.
Change-Id: I73d6ee05d6b54ec06146f38333e049f6ab3b8bc1
2023-08-07 08:40:19 +02:00
Translation updater bot caa43546af Localisation updates from https://translatewiki.net.
Change-Id: I9f83bccbc29be5a4d61597399efef88794b68a1a
2023-08-04 09:21:28 +02:00
jenkins-bot e2efe5079a Merge "Use different tooltips for ca-edit and ca-ve-edit links" 2023-08-03 15:53:21 +00:00
Translation updater bot ab05a0a951 Localisation updates from https://translatewiki.net.
Change-Id: I343ad68f867d01454efe1f3c232dc525ec63519e
2023-08-03 08:49:18 +02:00
Dringsim cce52fae65 Use different tooltips for ca-edit and ca-ve-edit links
Bug: T337653
Bug: T341424
Change-Id: I3aa79fec71ca2c40a0ece3ca73dd934cf6c9d5a8
2023-08-02 16:36:54 +00:00
Translation updater bot 3241a2ab86 Localisation updates from https://translatewiki.net.
Change-Id: Idd0979149d1792fff8e86aaeeb2e593b880d133c
2023-08-02 09:04:57 +02:00
Translation updater bot bd7acbc677 Localisation updates from https://translatewiki.net.
Change-Id: I407d28affcffa7d0ab431e2d82f87821105e48e3
2023-08-01 08:37:25 +02:00
Translation updater bot 5a4be2957f Localisation updates from https://translatewiki.net.
Change-Id: I94eb5376139c93e9797d5f59f7d53cad313c45df
2023-07-31 09:02:09 +02:00
Translation updater bot e6ab69ab50 Localisation updates from https://translatewiki.net.
Change-Id: I53472b7088f41b18f9f680c3cd8616fefd7cf047
2023-07-28 09:21:35 +02:00
Translation updater bot f736c61b0a Localisation updates from https://translatewiki.net.
Change-Id: I2e04759088e059106982e2ba3c0bf2681860e0ad
2023-07-27 10:49:43 +02:00
Translation updater bot 0ac888377a Localisation updates from https://translatewiki.net.
Change-Id: Ie94a45b188256ab57fdde834a207bbe4c27f4b16
2023-07-26 10:28:00 +02:00
Translation updater bot 3da6365933 Localisation updates from https://translatewiki.net.
Change-Id: Icf4680a3fce0808a4b17b04cdf87d711971d2e76
2023-07-25 10:43:41 +02:00
Translation updater bot 3a9114c245 Localisation updates from https://translatewiki.net.
Change-Id: Id2dab457fae54cc171981cece8d4d987728daef2
2023-07-24 09:40:16 +02:00
Translation updater bot d52113b1ef Localisation updates from https://translatewiki.net.
Change-Id: Ibbe41c83cf81049c841211fa13a85d85db4a18df
2023-07-21 08:43:03 +02:00
Translation updater bot f56786d9a6 Localisation updates from https://translatewiki.net.
Change-Id: Ib70e645e90d661abd0e31962c0d3c5e0119cd063
2023-07-20 09:34:16 +02:00
Translation updater bot c683de8bab Localisation updates from https://translatewiki.net.
Change-Id: If344c1638141f094cf3868bd97c23e11f9fb93f2
2023-07-19 09:02:02 +02:00
Winston Sung 12e04f247d Follow-up of "Localisation updates from https://translatewiki.net."
Change-Id: Ic78a4e374a822d5e7465a12d8a763c30d680c449
2023-07-18 12:48:31 +00:00
Translation updater bot 30d2227535 Localisation updates from https://translatewiki.net.
Change-Id: Iddc8d92c8aa935d2b6283f63a778bd1474c8bda2
2023-07-18 09:50:12 +02:00
jenkins-bot 4231c7a328 Merge "Use different titles for "Edit" and "Edit source" links (section headings)" 2023-07-17 23:07:44 +00:00
Translation updater bot 34cdcc9604 Localisation updates from https://translatewiki.net.
Change-Id: I112afe5cf6900eb16a3c84e7d9faa6d24827adb9
2023-07-17 10:19:14 +02:00
Translation updater bot 1cdb276552 Localisation updates from https://translatewiki.net.
Change-Id: If39241dcf7411e2406c34dfe239697b49533a033
2023-07-14 09:36:17 +02:00
Translation updater bot 8aa6e2ec63 Localisation updates from https://translatewiki.net.
Change-Id: Ic99abf33e057c39145c164c2359d865cdc29d4a3
2023-07-13 10:50:39 +02:00
沈澄心 8523b5a876 Use different titles for "Edit" and "Edit source" links (section headings)
Bug: T337653
Change-Id: I6793d458b7a1573de6752177cab5a9bfae9ffca0
2023-07-13 02:47:50 +00:00
Translation updater bot 095b492631 Localisation updates from https://translatewiki.net.
Change-Id: I10d5d37cda7f11a14e6119d41eb646a42b4d20e5
2023-07-12 08:56:54 +02:00
jenkins-bot 7ae61934a3 Merge "Remove remains of lossy-switching and discard-switching" 2023-07-11 15:34:52 +00:00
Translation updater bot e3ad125753 Localisation updates from https://translatewiki.net.
Change-Id: Ib16f93a51d96c1de926a3fa1d9d1bf703943ff8f
2023-07-11 08:50:56 +02:00
Translation updater bot 43d0f9448b Localisation updates from https://translatewiki.net.
Change-Id: Iffdef1edd543b9fd6bfa39d5ea45c231ba957888
2023-07-10 09:39:29 +02:00
jenkins-bot 6a2b36bc16 Merge "Drop visualeditor-beta-warning from help menu" 2023-07-08 00:43:18 +00:00
Ed Sanders 0f33f7193f Drop visualeditor-beta-warning from help menu
Bug: T341350
Change-Id: I69b886e7681281057c92ddb4175de2998512f0ed
2023-07-07 15:54:15 +01:00
Translation updater bot 5dc4f474b4 Localisation updates from https://translatewiki.net.
Change-Id: I779b27c282bf064800584e2d57f40f97efe36c68
2023-07-07 09:11:30 +02:00
Esanders b33bb734af Revert "Revert "Add tag when reference added to the page""
This reverts commit 235e5aca00.

Reason for revert: Re-applying with fixes

Change-Id: I9dc5a77045ea5f15c90cf84a15815e13dffd5739
2023-07-06 17:50:08 +01:00
jenkins-bot 25f7097e9f Merge "Revert "Add tag when reference added to the page"" 2023-07-06 13:04:30 +00:00
Bartosz Dziewoński 235e5aca00 Revert "Add tag when reference added to the page"
This reverts commit d4460219bd.

Bug: T341202
Change-Id: I8e608a5a34a3bb18d1994d5c182c3918e6d6f89d
2023-07-06 11:35:50 +00:00
Translation updater bot 5d902e4fde Localisation updates from https://translatewiki.net.
Change-Id: Ifdcb1c757ec4803f4e8f907381de31899d05ceab
2023-07-06 10:17:11 +02:00
Translation updater bot f74aeaa843 Localisation updates from https://translatewiki.net.
Change-Id: Iee641fc5169a82b544fc3f9d037c5af52340dce8
2023-07-05 08:31:52 +02:00
Translation updater bot c9fceaedaa Localisation updates from https://translatewiki.net.
Change-Id: Ifac15d0fe9568b93b73e919113cac02e973c1864
2023-07-04 09:22:29 +02:00
Ed Sanders d4460219bd Add tag when reference added to the page
Bug: T325713
Change-Id: Ia4abe256c7ffffa749ad6cdb537dd26091ea07da
2023-07-03 15:09:12 +00:00
Ed Sanders d7d344035c Add tag when content added, according to EditCheck heuristic
Bug: T333714
Change-Id: Id806e6d4d856aead4af98d43078c534d4d46c7f0
2023-07-03 14:43:14 +01:00
Translation updater bot 68983da916 Localisation updates from https://translatewiki.net.
Change-Id: I89bcf683d6cbdf86fe2bdb4a15e55423d19da5d6
2023-07-03 10:16:55 +02:00
Bartosz Dziewoński be0b140965 Add option to unify display of VE enable preference
Setting `$wgVisualEditorUnifiedPreference = true` makes the VE enable
preference appear consistently on the preferences page, while still
being backed internally by the old 'visualeditor-enable' and
'visualeditor-betatempdisable' preferences.

(It effectively overrides `$wgVisualEditorEnableBetaFeature`, which
needs to remain unchanged to use the values from the right preference.)

Bug: T335056
Change-Id: Iad710a769c7176c4673c475d540dff2b7782e159
2023-06-29 01:33:51 +02:00
Translation updater bot 4467bdc37e Localisation updates from https://translatewiki.net.
Change-Id: Ifb1ef09ceebd950fc13a05386e1f8f4cd5edbbc8
2023-06-27 19:28:57 +02:00
Translation updater bot cd6c1c65f5 Localisation updates from https://translatewiki.net.
Change-Id: I2c6f8a915a3d900e200dc1e3cb156c692b2b87d5
2023-06-26 12:41:32 +02:00
Bartosz Dziewoński 34c6d3e1a3 Remove remains of lossy-switching and discard-switching
After the demise of RESTBase we are always able to switch from
wikitext to visual mode with changes, and we no longer need to
support these two poor experiences.

Bug: T339871
Bug: T339872
Change-Id: I2be4068447b21e16c87db0e56d6422ea64ba4708
2023-06-25 09:16:45 +00:00
Umherirrender 611b1988cf api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: Ic3d031da376b78d3ccfec27517ec9a288c54fdc4
2023-06-24 00:46:01 +02:00
Bartosz Dziewoński 5a792b6558 ApiVisualEditorEdit: Allow not returning the new revision content
Sometimes we call this API and then reload the page (or navigate to
another URL), without using the page content it returns. Save some
work and some data transfer and don't generate it in those cases.

Change-Id: Ic5fac61f3ef9b2dfce6ff757f1d414a9f41f217d
2023-06-22 21:08:15 +00:00
Translation updater bot 93f8519c66 Localisation updates from https://translatewiki.net.
Change-Id: I2591b819d7d9e41d0d075ad8042e562df828cae5
2023-06-20 09:51:10 +02:00
Translation updater bot 4437dd2fd2 Localisation updates from https://translatewiki.net.
Change-Id: Iec733b7bd761300bf844eeca6993ffca94b82bcf
2023-06-19 11:08:25 +02:00
Translation updater bot c9afdec94c Localisation updates from https://translatewiki.net.
Change-Id: I7536bbfcaa5b1c62c805b1896fdbc8d8c6fe4700
2023-06-14 13:08:21 +02:00
Translation updater bot fbd33d63ee Localisation updates from https://translatewiki.net.
Change-Id: I97610873b8e9a1852d2967a44efb84cb41206650
2023-06-12 13:08:34 +02:00
Translation updater bot d125506b79 Localisation updates from https://translatewiki.net.
Change-Id: Icf76ef411c9b39dd4069843b4bc37d8350594036
2023-06-09 09:15:11 +02:00
Translation updater bot 7c4210410e Localisation updates from https://translatewiki.net.
Change-Id: I794c26c8b0b05586f53fb8c7834b2d631f5fceed
2023-06-08 10:41:19 +02:00
Translation updater bot a9464b8453 Localisation updates from https://translatewiki.net.
Change-Id: If10ce94fd924dec32f044c3dd8ecbc2ae86e2890
2023-06-06 08:11:57 +02:00
Translation updater bot 948289cc85 Localisation updates from https://translatewiki.net.
Change-Id: I9c8ea5904dcfac3dcbe8c9cdb9a54cf896b6205a
2023-06-05 08:41:54 +02:00
Translation updater bot 8adceadac0 Localisation updates from https://translatewiki.net.
Change-Id: Iec715e9b7ebe90fdaf99640f60b994601a55bfa0
2023-06-02 09:25:03 +02:00
Translation updater bot 9ebdbccdab Localisation updates from https://translatewiki.net.
Change-Id: Ieca0c443dbd27de04bfd45ccb3b5caf4b1ad41f5
2023-06-01 08:44:25 +02:00
jenkins-bot 2cc586b9dc Merge "Add i18n for category sort key changes" 2023-05-31 22:46:19 +00:00
Ed Sanders 9e64821bd6 Add i18n for category sort key changes
Also treat the empty string as unset.

Change-Id: I72d9ab0180f416122ca31c44787fe86aa32e88e2
2023-06-01 00:23:23 +02:00
Translation updater bot 4b661a1fcd Localisation updates from https://translatewiki.net.
Change-Id: Ifc74c3970ddf847f860e6ec41f91abc3a810348b
2023-05-31 08:21:15 +02:00
Translation updater bot 32288de8a1 Localisation updates from https://translatewiki.net.
Change-Id: I226a77e67253d2c3448986017baa376edd43548f
2023-05-30 08:57:29 +02:00
Translation updater bot 8d491e51c3 Localisation updates from https://translatewiki.net.
Change-Id: I53feaf14d606b6aa43e9fd742d2c2f39b88b403d
2023-05-29 10:00:28 +02:00
Translation updater bot c0537de1f7 Localisation updates from https://translatewiki.net.
Change-Id: I3fe7c53c661e22acb6214e0284b7de9292d77bdc
2023-05-26 08:31:04 +02:00
Translation updater bot d9f1e753a1 Localisation updates from https://translatewiki.net.
Change-Id: I5d453991156a7a4e6940ebb5a9fa83575cf8ceb9
2023-05-25 09:11:14 +02:00
Translation updater bot f1a0209b41 Localisation updates from https://translatewiki.net.
Change-Id: Ie1f47e63dadbf626dd0a29bd4a9e427054ccc362
2023-05-23 08:23:14 +02:00
Translation updater bot 198b59b3ab Localisation updates from https://translatewiki.net.
Change-Id: I1284b424d88eb201a3458786c81a9589b7edb95d
2023-05-22 08:46:59 +02:00
Translation updater bot 32ccacac3a Localisation updates from https://translatewiki.net.
Change-Id: I8de2c3730ef0eda1a9a587cd341a31c6ed61ed89
2023-05-18 10:13:23 +02:00
Translation updater bot f16e870ff5 Localisation updates from https://translatewiki.net.
Change-Id: Ia1b7236830d940f39b957ffd630ce9da81b8ceaa
2023-05-16 08:19:38 +02:00
Translation updater bot 44bcbfbe65 Localisation updates from https://translatewiki.net.
Change-Id: Ib34de1e9968f77caac2964139049501e977f48dd
2023-05-15 08:34:09 +02:00
Translation updater bot 1810eca01b Localisation updates from https://translatewiki.net.
Change-Id: I3358a78141111b8f4747e643f97c8c0f0b62cbb0
2023-05-11 09:21:23 +02:00
Translation updater bot 285a5399e4 Localisation updates from https://translatewiki.net.
Change-Id: Iacc90bcea603c1524f2df05fa09a1baad6e4d735
2023-05-10 08:42:19 +02:00
Translation updater bot db451d7f20 Localisation updates from https://translatewiki.net.
Change-Id: I216e2c7b35d772721d4f7d37cb16e6c5b629056e
2023-05-09 08:56:06 +02:00
Translation updater bot 826471433a Localisation updates from https://translatewiki.net.
Change-Id: I683d77404e8a0de5d729f0915c667a5bf95eb6ee
2023-05-08 10:33:51 +02:00
jenkins-bot 3f43c00c2b Merge "Remove unused preferences code for "alpha" visual editor opt-in" 2023-05-05 16:39:13 +00:00
jenkins-bot d2d7a7886f Merge "Rephrase visual editor disable preference label" 2023-05-05 15:37:35 +00:00
Bartosz Dziewoński edec1ab393 Remove unused preferences code for "alpha" visual editor opt-in
Change-Id: I60601874f9442992c4f844304a842cf640f5b618
2023-05-05 16:22:46 +02:00
Bartosz Dziewoński 83d3d1f3ba Rephrase visual editor disable preference label
Visual editor is not in beta, and this preference is not temporary.

Change the message key to avoid outdated on-wiki overrides.

Unfortunately the internal preference name still has "betatempdisable"
in it. We should investigate renaming it later.

Bug: T197282
Change-Id: If1475a18474e85cd3a260224c738d087d472af70
2023-05-05 16:15:43 +02:00
Translation updater bot 2427ba1bde Localisation updates from https://translatewiki.net.
Change-Id: I5e8f948a97d69495c12750bce9911dfeffef3214
2023-05-05 10:41:29 +02:00
Translation updater bot bef44229b0 Localisation updates from https://translatewiki.net.
Change-Id: I8d7af66df5c7153c3acf4568bc7268e4911a988a
2023-05-02 09:00:52 +02:00
Translation updater bot ea1ba707e9 Localisation updates from https://translatewiki.net.
Change-Id: I813a8579cdb2ede11575d297625e2cd034e21116
2023-05-01 09:58:50 +02:00
Translation updater bot 9a87f0b353 Localisation updates from https://translatewiki.net.
Change-Id: I2809b8490de89b159ecdcf2a5f73861545856e9c
2023-04-28 08:57:48 +02:00
Translation updater bot 8cf5552b66 Localisation updates from https://translatewiki.net.
Change-Id: I9a87edaa517922527ed1d6ee4e078d0f31737e6d
2023-04-27 09:15:47 +02:00
Translation updater bot 175fa0d7ec Localisation updates from https://translatewiki.net.
Change-Id: I9959b5f6b7e2c5314ec55f7df9712ce565d33301
2023-04-26 08:44:25 +02:00
Translation updater bot 9b3b9ee45e Localisation updates from https://translatewiki.net.
Change-Id: I1572d144f721878f326fbc4d24fd5ceb42e5984a
2023-04-25 08:48:50 +02:00
Translation updater bot 1add952042 Localisation updates from https://translatewiki.net.
Change-Id: I1bd37533f49a0b4b779dcd709edc4c44bf22e5fb
2023-04-24 09:17:34 +02:00
Translation updater bot b00e6a0996 Localisation updates from https://translatewiki.net.
Change-Id: I18dc19f7030296accf95d1df6eac220f736f83a4
2023-04-21 09:01:10 +02:00
jenkins-bot 9cb6f54d3b Merge "Remove the BetaFeatures integration for historical visual diffs" 2023-04-20 09:44:13 +00:00
jenkins-bot eab43d2025 Merge "Remove the "Report incorrect…" button on visual diffs in save dialog" 2023-04-20 09:44:10 +00:00
Translation updater bot 2672e0bd22 Localisation updates from https://translatewiki.net.
Change-Id: Idf874d06f8930dd293d65782d6eb31860680ba2b
2023-04-20 08:49:31 +02:00
Translation updater bot 5f8483c863 Localisation updates from https://translatewiki.net.
Change-Id: Ib2ca9411b5cd880d08ecf2c081bfb6ecc49c1a10
2023-04-19 08:27:54 +02:00
Bartosz Dziewoński adc0bcdfcd Remove the BetaFeatures integration for historical visual diffs
Bug: T333448
Change-Id: If4f732851a42802b612cef618196c9854e2cf9da
2023-04-18 22:34:05 +02:00
Bartosz Dziewoński 1ca9261151 Remove the "Report incorrect…" button on visual diffs in save dialog
Bug: T282268
Change-Id: Ia6e0978fb43a7ffccaa8245728c86bc3a433a2c1
2023-04-18 22:28:51 +02:00
Translation updater bot 2fde6f2caa Localisation updates from https://translatewiki.net.
Change-Id: If1ce79cdcd2c1a543065bb9412458285394d19bd
2023-04-17 09:15:59 +02:00
Translation updater bot b0ed65b984 Localisation updates from https://translatewiki.net.
Change-Id: I309ebd6c30f590f072446e1f99cfda45e352e9d1
2023-04-14 09:27:38 +02:00
Translation updater bot b8638ee244 Localisation updates from https://translatewiki.net.
Change-Id: I8062515c5a3804186c2d6f5a1a00073c5798a994
2023-04-13 08:47:34 +02:00