Commit graph

776 commits

Author SHA1 Message Date
jenkins-bot a2478add67 Merge "Remove dead code around cog wheel dialogue" 2021-04-20 07:43:08 +00:00
Translation updater bot e7485da092 Localisation updates from https://translatewiki.net.
Change-Id: Icf29c65a6069b7edc2dd5551a0efd492d9be8ee1
2021-04-19 08:51:13 +02:00
WMDE-Fisch 190962cc5b Remove dead code around cog wheel dialogue
An "advanced" option was first introduced in 2014 via patch I374805e
(originally named "monitor-or-edit", renamed via patch I7b4f6d2).

The isNavPopupsEnabled() function was added in 2016 via patch
Ic660f48.

The code that disables the extension entirely the moment the NavPopups
gadget is enabled was added in 2017 via patch Ia474b1b (T151058) and
patch Ia837816 (T160081).

As of now, the "advanced" option can only be seen in an extreme edge
case:
* Only for anonymous users.
* Only if NavPopups is enabled by default for anonymous users.
* Only if the $wgPopupsConflictingNavPopupsGadgetName setting is
  misconfigured.
* … or if NavPopups is not a gadget in the first place, but e.g.
  loaded via Common.js.

In this situation the settings dialog opens with all *3* options. This
is broken for several reasons:
* The "simple" option enables the extension, but doesn't disable
  NavPopups. Both trigger, resulting in both popups being displayed
  the same time.
* Since "simple" is the default, this bogus behavior is the default
  for anonymous users.
* The "off" option doesn't stick. Every time the settings dialog opens
  "advanced" is checked instead.
* "Off" can't work anyway. There is no code to disable the gadget.
* Only the "advanced" option "works", but more by accident.

It's unclear how to fix this:
* There is no code that does anything with the "advanced" option. It's
  not even stored. The behavior of the option is identical to "off".
* The code appears as if "advanced" was meant to be shown instead of
  "off". I.e. anonymous users can only choose one of the popups, but
  not disable both. But there is no code to hide the "off" option.
* The bug when both popups are displayed was fixed in 2017 via an
  entirely different mechanism. Re-introducing "advanced" does not
  only mean duplication, it's unclear how the 2 mechanisms are meant
  to work together.

It really, really feels like this was just forgotten.

Bug: T278949
Change-Id: Iab21f3a649a5b2f19ebb0d0dbb45ce1450c65678
2021-04-15 15:29:16 +02:00
Translation updater bot b25a9d7935 Localisation updates from https://translatewiki.net.
Change-Id: I674dce17b80a01eb1a9a124cce91f033588af9e2
2021-04-15 08:43:55 +02:00
Translation updater bot 6dd616bab9 Localisation updates from https://translatewiki.net.
Change-Id: I5b1097b3e04bbbe19747ff14ea0574f051d5e983
2021-04-12 08:38:37 +02:00
Translation updater bot c09031c177 Localisation updates from https://translatewiki.net.
Change-Id: I716dc607010a31408ec699a874bc43ace1527817
2021-04-09 08:59:02 +02:00
Translation updater bot 941b5e156d Localisation updates from https://translatewiki.net.
Change-Id: I3414a093fb1c816ba4099b6d78e91f9e9fe756a8
2021-04-06 12:03:06 +02:00
jenkins-bot cc1ba5b82a Merge "Add title attribute to settings gear icon" 2021-04-02 19:57:18 +00:00
Clare Ming 4908f82c01 Add title attribute to settings gear icon
Add message, description, extension for title. Update createPagePreview, renderPagePreview methods to add title attribute to settings gear icon. Add test for title attribute. Increase maxSize, maxAssetSize, maxEntrypointSize. Add compiled js files.

Bug: T274887
Change-Id: Ibb29deb3418569d8283b954b4b22074423e78bda
2021-04-02 13:30:07 -06:00
Translation updater bot 90f40f6526 Localisation updates from https://translatewiki.net.
Change-Id: I85314a52614db07b1dd78275ebf7a0648ad8aedb
2021-04-02 09:49:16 +02:00
Translation updater bot 57f3814a0b Localisation updates from https://translatewiki.net.
Change-Id: I31ef156d9ad578660d8f891ac599e6b16a16e635
2021-04-01 08:37:55 +02:00
Translation updater bot d252f4c35d Localisation updates from https://translatewiki.net.
Change-Id: I3245065dc8521312698503279d25baee6ba53702
2021-03-31 08:36:24 +02:00
Translation updater bot 9b0d811265 Localisation updates from https://translatewiki.net.
Change-Id: I254917097a6fd7c4acb94a37024abc7fb70e8341
2021-03-30 08:33:29 +02:00
Andrew Kostka e4e07e509a Separate page and reference preview preferences
Bug: T277638
Change-Id: I8144625e0d3a2626511f35d4e92d082b6fa44bb4
2021-03-29 14:09:27 +02:00
Translation updater bot 6144e315ee Localisation updates from https://translatewiki.net.
Change-Id: I2ee36fb5ece1aaa83b79760ef6966ef09afd1bae
2021-03-29 08:36:55 +02:00
Translation updater bot 091b7aae59 Localisation updates from https://translatewiki.net.
Change-Id: I03ea5eb3306e3cdc51b74c7e632ecf53358705e9
2021-03-26 08:50:42 +01:00
Translation updater bot 13ea6453f5 Localisation updates from https://translatewiki.net.
Change-Id: I282a02ebabd53787ac375e5309f1f8c08e791c8c
2021-03-25 08:41:29 +01:00
Andrew Kostka 9a7539391f Messages for a separate reference previews preference
Bug: T277638
Change-Id: I8294cea7f8677b8ff09ce7deff3e69ed6e6ea93a
2021-03-24 10:25:56 +01:00
Translation updater bot 048bcd291f Localisation updates from https://translatewiki.net.
Change-Id: Ia3f246bd3d64cde4324b52a254ca000dd9c005d3
2021-03-23 08:25:23 +01:00
Translation updater bot 5964b33f46 Localisation updates from https://translatewiki.net.
Change-Id: Ic962c35f646d98d679d87a0c3c075416d2716cb7
2021-03-19 08:26:07 +01:00
Translation updater bot 626778db8b Localisation updates from https://translatewiki.net.
Change-Id: Iff3b8f0d6ac077a2e33d9b175249d7fb10438cc4
2021-03-17 08:25:46 +01:00
Translation updater bot 23a116ddf7 Localisation updates from https://translatewiki.net.
Change-Id: I695783192f9c89effb3fadadc53a55757ae15954
2021-03-15 08:41:19 +01:00
Translation updater bot 9aa779ba35 Localisation updates from https://translatewiki.net.
Change-Id: I1c8e248dd40abbfe876b03ad776f062da44ab39a
2021-03-12 08:46:38 +01:00
Translation updater bot 91d308ab6f Localisation updates from https://translatewiki.net.
Change-Id: Ia9902b85628e6ea9342d3fa3ddc42640aa1442a1
2021-03-11 08:38:25 +01:00
Translation updater bot 0a9b70f3fe Localisation updates from https://translatewiki.net.
Change-Id: I4d622ecd920c634fe7a7db1e11a87afe2355c71a
2021-03-10 08:32:33 +01:00
Translation updater bot a0781d21e1 Localisation updates from https://translatewiki.net.
Change-Id: I9f84a52bcaa6e31f082625e579e1ff98fa467d10
2021-03-08 08:46:58 +01:00
Thiemo Kreuz 919a7a5a30 Don't use {{int:…}} in full sentence messages
Directly referencing other messages is sometimes a good idea,
e.g. in a sentence like "Please look for a button with the
label \"{{int:cancel}}\"."

But here the word is used as part of a sentence. "This is
really not great, because in some languages the word can
change according to grammar." (T276218#6886266)

This patch doesn't change the wording of the messages, and
should not need PM approval. The qqq.json entries are
annotations for tranalators and don't need PM approval either.

The only additional change is that I update the gadget's names
to be their canonical ones everywhere.

Bug: T276218
Change-Id: I8a05f3871fa1d5d0570e1cba90ead29f9ea3b7df
2021-03-05 16:01:00 +01:00
Translation updater bot 3dea2e3c81 Localisation updates from https://translatewiki.net.
Change-Id: I843fa42f0401c6921d117a293fdf283fe061d59a
2021-03-05 08:56:29 +01:00
Thiemo Kreuz 66b5e307e1 Minor tweaks to the wording of gadget-related messages
Bug: T276218
Change-Id: I6b9ebec33f39e938855c5ee9b2f9665ea92560d0
2021-03-04 09:53:41 +01:00
Translation updater bot 39a309ddbc Localisation updates from https://translatewiki.net.
Change-Id: Ie8d5ee5889d0f00a035b3ae1b161b40de5a85b56
2021-03-04 08:39:08 +01:00
WMDE-Fisch f7e60f2016 Change wording around gadgets and user scripts
The text could be misleading. There are global user scripts but no
global gadgets currently.

Also removing spaces around the pipes in links.

Bug: T276218
Change-Id: Ic29258c107393640e605bffff2ebf1c73e09c363
2021-03-03 12:22:28 +01:00
Translation updater bot 2c51058bda Localisation updates from https://translatewiki.net.
Change-Id: I89f473db2434a432fb5f1b650493833f536f1a0b
2021-03-02 08:50:21 +01:00
jenkins-bot e441052cb0 Merge "Combine page and reference preview preferences" 2021-03-01 11:10:17 +00:00
Translation updater bot 89f5a27700 Localisation updates from https://translatewiki.net.
Change-Id: I4e4dd8ed1be2080395eeb2be48f3516ed94b386b
2021-02-26 08:57:24 +01:00
Andrew Kostka 82d54945e4 Combine page and reference preview preferences
Update copy and remove unnecessary reference preview preference
in favor of using the default preference. It seems there is no
stable method to link to the subsections on the preference page
for gadgets. So in all cases does the link just point to the
gadgets pref page.

These changes should only be visible when reference previews
are no longer marked as a beta feature.

Bug: T265709
Change-Id: I7b8ab91331092ada04b230315373548673b9272c
2021-02-25 10:21:16 +00:00
Translation updater bot 22ed5e2e1b Localisation updates from https://translatewiki.net.
Change-Id: I4f2f1f2ba204bfad97efc2eb1f2dabf7b6e4962a
2021-02-25 08:39:13 +01:00
Translation updater bot 97d064f363 Localisation updates from https://translatewiki.net.
Change-Id: Iae6fdfef8019d91b0177376f3ea27116c3da8fbc
2021-02-23 08:49:11 +01:00
Translation updater bot 94ed9fedb2 Localisation updates from https://translatewiki.net.
Change-Id: I100eb341d790d439fcde02eef97b383af872a13e
2021-02-22 08:53:23 +01:00
Translation updater bot 663963fdd3 Localisation updates from https://translatewiki.net.
Change-Id: I8887235e1a853d073865b7343ce59f6a9e02e656
2021-02-19 08:32:35 +01:00
Translation updater bot fc58c3b924 Localisation updates from https://translatewiki.net.
Change-Id: I6ca5d022cecf9c3dea3ccf54e0d05df674f00a4b
2021-02-18 08:43:38 +01:00
Translation updater bot b3215eec78 Localisation updates from https://translatewiki.net.
Change-Id: I20df74f3f92230b0fff370b2bbc6427d3519a574
2021-02-17 08:43:19 +01:00
jenkins-bot 8c575f9cef Merge "Add new reference type "note" without an icon" 2021-02-16 11:29:02 +00:00
Translation updater bot 9ceb0befe8 Localisation updates from https://translatewiki.net.
Change-Id: Icb9eddd48434940e7d9c41ef98392853f7b0440e
2021-02-15 10:06:10 +01:00
Thiemo Kreuz ef4b032513 Add new reference type "note" without an icon
Bug: T274343
Change-Id: Ib9f3fe98baf1d194e686b007a9c535f2b49ac19d
2021-02-11 10:15:36 +01:00
Translation updater bot 2aa2cd6841 Localisation updates from https://translatewiki.net.
Change-Id: Idffa237f6db34907df521897e9f996c4d8a71a47
2021-02-11 08:39:55 +01:00
Translation updater bot 2964abb369 Localisation updates from https://translatewiki.net.
Change-Id: I783faf0030b58c0b7f4474befc5ef006e7dfd8ea
2021-02-10 08:38:58 +01:00
Translation updater bot 7e69ea70ee Localisation updates from https://translatewiki.net.
Change-Id: Id8e4dbb5788d5b9a467cdf44178b43c8c47ac308
2021-02-08 08:43:47 +01:00
Translation updater bot c2ce779aa1 Localisation updates from https://translatewiki.net.
Change-Id: I8c767bb3d4740cf432d6b8c7202db96a42d8d909
2021-02-04 08:43:29 +01:00
Translation updater bot 66118a57b0 Localisation updates from https://translatewiki.net.
Change-Id: I6f8b511d17938f8183d520aefe3d7393352a6062
2021-02-03 08:39:46 +01:00
Translation updater bot b050d4abc0 Localisation updates from https://translatewiki.net.
Change-Id: Ie0d48210923def9108ad90744948ab9fd49d40fd
2021-02-01 08:48:30 +01:00