Commit graph

1229 commits

Author SHA1 Message Date
thiemowmde ddda536792 Drop unused cite_reference(s)_link_prefix messages
Same as Icfa8215 where we removed the …_suffix messages.

This patch is not blocked on anything according to CodeSearch:
https://codesearch.wmcloud.org/search/?q=cite_references%3F_link_prefix

According to GlobalSearch there are 2 usages we need to talk about:
https://global-search.toolforge.org/?q=.&regex=1&namespaces=8&title=Cite.references%3F.link.prefix.*

zh.wiktionary replaces "cite_ref-" with "_ref-", and "cite_note-"
with "_note-", i.e. they did nothing but remove the word "cite". This
happened in 2006, with no explanation.

ka.wikibooks and ka.wikiquote replace "cite_note-" with "_შენიშვნა-",
which translates back to "_note-". One user did this in 2007,
16 seconds apart.

It appears like both are attempts to localize what can be localized,
no matter if it's really necessary or not.
https://zh.wiktionary.org/wiki/Special:Contributions/Shibo77?offset=20060510
https://ka.wikiquote.org/wiki/Special:Contributions/Trulala?offset=20070219
Note how one user experimented with an "a" in some of the edits to
see what effect the change might have, to imediatelly revert it.

The modifications don't really have an effect on anything, except on
the anchors in the resulting <a href="#_ref-5"> and <sup id="_ref-5">
HTML. It might also be briefly visible in the browser's address bar
when such a link is clicked. We can only assume the two users did this
to make the URL appear shorter (?). A discussion apparently never
happened. Bot users are inactive.

Both pieces of HTML are generated in the Cite code. Removing the
messages will change all places the same time. All links will
continue to work. The only possible effect is that hard-coded
weblinks to an individual reference will link to the top of the
article instead. But:
a) This is extremely unlikely to happen. There is no reason to link
   to a reference from outside of the article.
b) Such links are not guaranteed to work anyway as they can break
   for a multitude of other reasons, e.g. the <ref> being renamed,
   removed, or replaced.
c) Even if such a link breaks, it still links to the correct article.

There is also no on-wiki code on zh.wiktionary that would do anything
with the shortened prefix:
https://zh.wiktionary.org/w/index.php?search=insource%3A%2F_%28ref%7Cnote%29-%2F&title=Special%3A%E6%90%9C%E7%B4%A2&profile=advanced&fulltext=1&ns2=1&ns4=1&ns8=1&ns10=1&ns12=1&ns828=1&ns2300=1

I argue this is safe to remove, even without contacting the mentioned
communities first.

Bug: T321217
Change-Id: I160a119710dc35679dbdc2f39ddf453dbd5a5dfa
2024-01-04 13:17:42 +01:00
jenkins-bot 533869a8de Merge "Use 'html' instead of 'text' on headings in WikiEditor toolbar config" 2024-01-03 12:46:31 +00:00
Translation updater bot 086f5af8f8 Localisation updates from https://translatewiki.net.
Change-Id: I26541cfb187ee00cfee76e74d57ef702adcd8fed
2024-01-03 08:34:14 +01:00
Translation updater bot 07d75d4ebe Localisation updates from https://translatewiki.net.
Change-Id: Ie77f4c3e4e29cb1a67e40438443d4ad560404d7b
2024-01-02 08:48:22 +01:00
Translation updater bot 81502b4294 Localisation updates from https://translatewiki.net.
Change-Id: I540883ba46e78aaf77d20714bb3975ede2d676c3
2023-12-26 14:42:33 +01:00
Translation updater bot 12c414f4c4 Localisation updates from https://translatewiki.net.
Change-Id: Iaab9324e298b755d96678ac8868cbd98fc9d82f8
2023-12-22 17:45:28 +01:00
Fomafix 184fc92c3f Use 'html' instead of 'text' on headings in WikiEditor toolbar config
WikiEditor also uses 'html' instead of 'text' on headings. At the
moment both keys have the same behavior, but the original intended idea
is to have 'html' as already valid HTML (like on .parse()) and 'text'
on plain text which has to be escaped.

Change-Id: I1b4035a86ed56bfeb12d33b463d67099f7ae40e3
2023-12-22 13:29:39 +00:00
Translation updater bot 9b11e93bbe Localisation updates from https://translatewiki.net.
Change-Id: I04ba74f6fae07793f3a3180b204f3fbe89b16949
2023-12-21 19:45:01 +01:00
Translation updater bot e64d944194 Localisation updates from https://translatewiki.net.
Change-Id: Ice9b812492a0bce8ef003413a66501d9db1c75e2
2023-12-18 18:16:28 +01:00
WMDE-Fisch 2a02f5311d build: Update linter libs
* "eslint-config-wikimedia": "0.26.0"
* "grunt-eslint": "24.3.0"
* "grunt-stylelint": "0.19.0"
* "stylelint-config-wikimedia": "0.16.1"

Including auto fixes.

Change-Id: Iadacfc781a48675022144bb8c9489073d0bc19e3
2023-12-12 14:21:07 +01:00
thiemowmde 202c0d3636 Drop unused …_suffix and …_key_with_num messages
The three messages cite_reference_link_key_with_num,
cite_reference_link_suffix, and cite_references_link_suffix are not
used for anything.

According to CodeSearch:
https://codesearch.wmcloud.org/search/?i=1&q=cite_references?_link_(key|suffix)

According to GlobalSearch:
https://global-search.toolforge.org/?q=.&regex=1&namespaces=8&title=Cite.references?.link.(key|suffix).*
For comparison:
https://global-search.toolforge.org/?q=.&regex=1&namespaces=8&title=Cite.references?.link.prefix.*

They are not meant to be localized, as noted in qqq.json. As many
messages in Cite the idea is that individual wikis can customize the
generated HTML (!) via such messages. These particular ones apparently
have been introduced just because it's technically possible, but never
been used for anything. They exist since the very first commit from
2005: https://phabricator.wikimedia.org/rECITb714bf09

Note how these messages aren't even visible anywhere, except in the
browser's address bar as part of a #… fragment.

This obviously doesn't solve T321217 but helps minimizing the
surface.

Bug: T321217
Change-Id: Icfa82155e3b02df39bb6e924bc472f6edc565d5f
2023-12-08 09:26:05 +01:00
Translation updater bot d368264120 Localisation updates from https://translatewiki.net.
Change-Id: Icdbb6a0468db59a04887413a83afe7a90e02ea64
2023-12-05 09:14:17 +01:00
Translation updater bot c784c47de5 Localisation updates from https://translatewiki.net.
Change-Id: Ie8a88219eb6691d249af60195724a3ef428c5ef2
2023-12-04 09:03:37 +01:00
Translation updater bot 30607b4cf0 Localisation updates from https://translatewiki.net.
Change-Id: I840e39ba3d0fa4cc0687e148d865da0262373f12
2023-12-01 09:38:44 +01:00
Translation updater bot f8967415a8 Localisation updates from https://translatewiki.net.
Change-Id: I191f8a688ccf3b2085d9d993265f304da45d5085
2023-11-29 08:30:38 +01:00
Translation updater bot f8010df944 Localisation updates from https://translatewiki.net.
Change-Id: I981c304635cffc265ae0aed53db3829bc569471d
2023-11-27 08:31:55 +01:00
Translation updater bot c60d8d1f2f Localisation updates from https://translatewiki.net.
Change-Id: Ia43cb04dbac14774f8bad377c23f25b76fa93009
2023-11-23 11:55:51 +01:00
Translation updater bot eb2bd5ff15 Localisation updates from https://translatewiki.net.
Change-Id: I64d02118866e006a197e094f827696f3dc014573
2023-11-22 08:19:39 +01:00
Translation updater bot a56fc64d18 Localisation updates from https://translatewiki.net.
Change-Id: I9250b0f75e11df2b8ff685a8cb0a6fe22f2a2261
2023-11-20 08:50:57 +01:00
Translation updater bot 463e002854 Localisation updates from https://translatewiki.net.
Change-Id: Icb4e8c538d29fa667786df48b99ed3fa56fa0245
2023-11-17 08:52:12 +01:00
Translation updater bot f649124a7f Localisation updates from https://translatewiki.net.
Change-Id: I86b6ea8d3c0d85f4510dc71139c229b4fde5bf20
2023-11-16 09:08:57 +01:00
Translation updater bot 7ce0bb218c Localisation updates from https://translatewiki.net.
Change-Id: Idb7a47793b233425ecc0885910c9c2acdfd8a561
2023-11-15 15:43:23 +01:00
jenkins-bot 8ef6751c55 Merge "VE: Update group ordering when node is converted from placeholder" 2023-11-10 21:54:42 +00:00
Translation updater bot 483d5ad545 Localisation updates from https://translatewiki.net.
Change-Id: Ib733e398de88a624f11420d94bc1fbec444c83a1
2023-11-09 10:40:29 +01:00
Ed Sanders ada0820622 ve-cite: Remove unused messages for fake refernce headings
These were removed upstream in Iedc17c8ac9c.

Change-Id: Ic1240329de348a687db0373a9d247d3cd0780b46
2023-11-08 12:07:47 +00:00
Translation updater bot 2e006087fb Localisation updates from https://translatewiki.net.
Change-Id: I5520d02cb371d264d307fcf1e791b95d3123e131
2023-11-06 08:55:50 +01:00
Translation updater bot a4f9e88fc0 Localisation updates from https://translatewiki.net.
Change-Id: Ie76c448fff0963a1493e315335b1e3b3258844f7
2023-11-02 09:58:09 +01:00
Translation updater bot d4a54c4bc9 Localisation updates from https://translatewiki.net.
Change-Id: I3288c028e79553da2e120526a8e054ae9373c7c5
2023-11-01 09:07:54 +01:00
Translation updater bot 377a23e6dd Localisation updates from https://translatewiki.net.
Change-Id: I90e507e8b2c7846550387ac55c75b1a608aa3d7b
2023-10-31 09:08:41 +01:00
jenkins-bot 0daea7ed38 Merge "Remove closure in JavaScript files" 2023-10-30 20:53:31 +00:00
Translation updater bot b5e9632406 Localisation updates from https://translatewiki.net.
Change-Id: I5517aa23c58d76660b81254d522c716828e4d994
2023-10-30 17:58:55 +01:00
Volker E 677b2dd43a docs: Replace WikimediaUI Base reference in comment with Codex
Rely on Codex color palette descriptions.

Bug: T334934
Change-Id: Ib2456f5348183de938a68cf93f3000ea92f05393
2023-10-25 22:51:49 -07:00
Translation updater bot 2249b98685 Localisation updates from https://translatewiki.net.
Change-Id: Idaedffe51da8560e98da22caf7bdffd8addb8f8b
2023-10-23 09:50:22 +02:00
Translation updater bot a625c82c19 Localisation updates from https://translatewiki.net.
Change-Id: I7ba3ade6ca4ced17f9168b66d503480e9965b351
2023-10-19 08:41:18 +02:00
Ed Sanders b4b6dbba95 VE: Update group ordering when node is converted from placeholder
Logically depends on I45c7ab5fe5cd.

Bug: T332799
Change-Id: I143fa0d45572677d09320fff88076a53253ad714
2023-10-16 15:48:41 +01:00
Fomafix 38b208b1cc Remove closure in JavaScript files
In this JavaScript files the closure is not needed to prevent
declarations of functions and variables in the global scope.

Change-Id: I169a74c69a5e00b86fbcc9f56886a3c4157ebd0f
2023-10-10 09:00:00 +00:00
Fomafix 87beb87ea5 Remove unnecessary $() callback
The hook 'wikiEditor.toolbarReady' gets fired after DOM ready.

Change-Id: Ic503c3dffcaa4301b3a3b2ab95fd3a5b4f8e7e88
2023-10-10 05:25:31 +00:00
Translation updater bot 9ff56c0175 Localisation updates from https://translatewiki.net.
Change-Id: I1942a2736cf31c0720dd3e633eea9396f4d324bf
2023-10-03 09:32:17 +02:00
Translation updater bot 2336daf3dd Localisation updates from https://translatewiki.net.
Change-Id: I7bbaa5105d3af0748ab1243af5302e66c8973e15
2023-10-02 10:56:59 +02:00
Translation updater bot b9ccbb932c Localisation updates from https://translatewiki.net.
Change-Id: I549b165a33cf5999c5b38284b06ba2df6846c440
2023-09-25 08:45:56 +02:00
Translation updater bot 156d1e5707 Localisation updates from https://translatewiki.net.
Change-Id: I1fdf8642bb0bf16f703b84e302616ddea98038d6
2023-09-19 09:25:07 +02:00
Translation updater bot 0ed8d6329c Localisation updates from https://translatewiki.net.
Change-Id: I08369b96674a8f977a368902b6bfe6387e65daa0
2023-09-18 08:42:41 +02:00
Translation updater bot 2c0dc4f796 Localisation updates from https://translatewiki.net.
Change-Id: Iae26c7664f075fad1e4281fd530e4db052b7c35a
2023-09-12 08:26:28 +02:00
Translation updater bot 1a5dc02ff4 Localisation updates from https://translatewiki.net.
Change-Id: I9197dd4057b5189315971446a0aadb948edf8426
2023-09-11 09:03:10 +02:00
Translation updater bot 1ecd366a73 Localisation updates from https://translatewiki.net.
Change-Id: I50df01bb5a9deffcb20b19c884fd5f3a96bce041
2023-09-06 08:41:30 +02:00
Translation updater bot 70b7bcaa21 Localisation updates from https://translatewiki.net.
Change-Id: Ic5bd89ed2b7ed1773a8de4f8e62894f42edf7a81
2023-09-04 08:43:08 +02:00
Translation updater bot 12764fc265 Localisation updates from https://translatewiki.net.
Change-Id: I13110416bbeee8744467efed0fc9df4cc81ed454
2023-09-01 09:02:32 +02:00
Translation updater bot cf70ab30cb Localisation updates from https://translatewiki.net.
Change-Id: Ib0e501155e7f8380cae133e711ab0751813c71e9
2023-08-30 08:43:52 +02:00
Translation updater bot 621cb1d801 Localisation updates from https://translatewiki.net.
Change-Id: I3e1c8867f0ff928fe9ff7799842011eebe57edc0
2023-08-29 08:27:57 +02:00
Translation updater bot d98c55dd11 Localisation updates from https://translatewiki.net.
Change-Id: I9b65d36187860fe16aaa83ac9d203966efb06252
2023-08-28 09:29:46 +02:00