Commit graph

19150 commits

Author SHA1 Message Date
Amir E. Aharoni
2ebd610140 Add support for the Musi language (mui)
Autonym according to Ethnologue is "Baso Palembang".
This is also the name most commonly used by the
language's speakers according to the article
Alsamadani, Mardheya; Taibah, Samar (2019).
"Types and Functions of Reduplication in Palembang".
Journal of the Southeast Asian Linguistics Society.

Bug: T364291
Change-Id: I4a867a8671ab32366aa459d49361682305b67dcb
2024-05-06 11:34:54 +00:00
Translation updater bot
79b5bb0402 Localisation updates from https://translatewiki.net.
Change-Id: Iff7def6ee4ac16680016d93aef1a3229bcf31add
2024-05-06 07:38:21 +00:00
jenkins-bot
95122e49f1 Merge "Add MessagesXx.php files for some RTL languages" 2024-05-05 11:14:40 +00:00
Jon Harald Søby
a80674a1d0 Add MessagesXx.php files for some RTL languages
These languages have some content in the Wikimedia Incubator
and/or Translatewiki, but because they don't have
MessagesXx.php files (with $rtl = true;), they get the
default LTR direction, and we needed to add some CSS &
Javascript hacks to get them to display correctly (and
even then, only partially).

The presence of these files does not enable these languages
in the preferences, it only sets the RTL setting for pages
with any of these languages as a page language.

Change-Id: I5c78889474d02850198519de04d2a553f1f97a9e
2024-05-05 11:09:32 +03:00
Waldir Pimenta
79c46b5400 Add link to diff in post-edit confirmation message
Co-authored-by: Alberto Leôncio <albertoleoncio@hotmail.com>
Bug: T364264
Change-Id: Id71e50d80cef007a5750878ca5da8f8d3667d2af
2024-05-05 09:40:05 +03:00
Lewis Cawte
d0073f50d4 Remove "withoutinterwiki-legend" message.
Unused since 944fc8152d.

Change-Id: Id165e4941ef9d6741309d90771669ae2495e0a6b
2024-05-04 23:10:46 +00:00
jenkins-bot
bfcff4ba12 Merge "i18n: Move preferences messages to a separate i18n file" 2024-05-04 16:08:50 +00:00
Amir E. Aharoni
9157b9f464 Add namespace translations and linkTrail for Hausa
Discussed at
https://ha.wikipedia.org/w/index.php?title=Wikipedia:Kofan_al%27umma&oldid=417373#Namespace_name_translations

Change-Id: Idfc753df0407ebf42e4709f6713174ba029d042a
2024-05-04 12:15:58 +00:00
addshore
3ab0eff2a6 Add months as duration to Language:formatDuration
I think there is further room for improvement
here, such as a method that takes 2 points in time
and gives you a more precise summarization of the duration
in terms of actual dates.
(And we will do this in a followup)

To avoid changing behaviour where this method is called
the default interval of `month` is not specified, so
existing calls return as they did before.
For callers that want `month` granularity, they can
specify month.

Bug: T219397
Change-Id: I5a07e14629fd9f67b1f17df3db75b68f98295dfb
2024-05-04 08:19:20 +03:00
Winston Sung
629ccda2c4 i18n: Move preferences messages to a separate i18n file
Bug: T167762
Change-Id: Ice0b4c07857344b4ae6b2558d823ea6311e61101
2024-05-04 01:07:11 +00:00
James D. Forrester
4ad61e8f6e
i18n: Change default label of Special:Log, and entry in drop-down to 'Main'
This is, and has always been, a filtered list even of public logs, so let's
change the label for now to that it's less misleading. There are many, many
difficulties with the log pages' design but there's no apparent appetite to
tackle this in the short- or even medium-term, so a minor fix might help to
be slightly less bewilderingly wrong.

Bug: T237729
Change-Id: I103e5ffd4751d6cae4c4f3b654c51eb20cfda471
2024-05-03 14:34:54 +03:00
Translation updater bot
1dc2c14dbc Localisation updates from https://translatewiki.net.
Change-Id: I5fd1f1ccca1d94442dab5f7a6f773feb4f61f799
2024-05-03 09:04:43 +02:00
jenkins-bot
6b83700ff0 Merge "InfoAction: Specify days directly in pageinfo-visiting-watchers" 2024-05-02 18:54:46 +00:00
Translation updater bot
d3b6a5fa3c Localisation updates from https://translatewiki.net.
Change-Id: Ib047f59a0e5cf6e25ff0e7f0cc58263a724d50c0
2024-05-02 09:04:35 +02:00
Translation updater bot
03a920e9c9 Localisation updates from https://translatewiki.net.
Change-Id: I9c8f425bbcdd10f301f76c2b53ed8d1377984724
2024-05-01 09:05:27 +02:00
Derk-Jan Hartman
12fc918b4c Add apc autonym to MediaWiki
MessagesApc.php is mostly copied from MessagesAr.php.

Bug: T290657
Change-Id: I10c94ca1bbb168c2d8ec0825a9b9e13cd854d284
2024-04-30 20:54:38 +03:00
Jon Harald Søby
e841683909 InfoAction: Specify days directly in pageinfo-visiting-watchers
Use a number of days directly in the message, instead of
indirectly via `Language::formatTimePeriod()` (which will
yield 'days' for any reasonable value of WatchersMaxAge),
to aid with translation.

Follows-Up: I898c463f5cb4efc40877f0bc67156a296bd506e4
Bug: T363659
Change-Id: Ic3c9f94232264aead3cb6e058a5603256f5eebf2
2024-04-30 12:57:41 +02:00
Translation updater bot
0e18e1dc3a Localisation updates from https://translatewiki.net.
Change-Id: I47e4889fcf3dc5159a8f5317b1e74a97c9789a7f
2024-04-30 09:05:54 +02:00
Translation updater bot
1a7e43d923 Localisation updates from https://translatewiki.net.
Change-Id: I8c5ea11326762f08fc6cbb8db61c886471b7e51b
2024-04-29 09:05:43 +02:00
Translation updater bot
587a623824 Localisation updates from https://translatewiki.net.
Change-Id: Ie8c672d34451df3dd141ebce9f3cd6f3339042b4
2024-04-26 09:07:30 +02:00
Translation updater bot
5b3a4a85fd Localisation updates from https://translatewiki.net.
Change-Id: I86a6fd36ee2309b300b40ed0ea55fb5ee18ce3a6
2024-04-25 09:04:37 +02:00
Translation updater bot
0c844b5edf Localisation updates from https://translatewiki.net.
Change-Id: I7800c80790c2065ee5982e7ba7b6afbee855104a
2024-04-24 09:05:24 +02:00
Translation updater bot
d3fa91db62 Localisation updates from https://translatewiki.net.
Change-Id: Ic5cdf47ff6dcfc05a903a3dfb4d87d04c956bb89
2024-04-23 09:05:34 +02:00
Translation updater bot
2045687bc5 Localisation updates from https://translatewiki.net.
Change-Id: Ie61eccca7d801fd832b615f3ca7c6dbe6aabeedc
2024-04-22 09:05:29 +02:00
Winston Sung
0e4684b4e5 Languages: Add nan-hant (Minnan - Traditional Han script) to Names.php
First export in commit d00df6b018
(Change-Id Ie05945912bfed800b5627a306559f21109ccafd2 ).

Language codes nan, nan-hani, nan-latn will be used for language
converter codes.

Bug: T354937
Bug: T362041
Change-Id: Id78405dea23858ea8369fbfc1e655e98d827e89a
2024-04-19 14:08:20 +00:00
Translation updater bot
640f0a45e3 Localisation updates from https://translatewiki.net.
Change-Id: I46682a171764cf7331f400106c4cd1dd442a968d
2024-04-19 09:05:11 +02:00
Translation updater bot
54d943c4c0 Localisation updates from https://translatewiki.net.
Change-Id: I34398e6fa2cbeb58bf2c1abfbe441101719ae9a8
2024-04-18 09:04:24 +02:00
jenkins-bot
bf6e071339 Merge "mediawiki.special.block: Set up "Additional details" fields" 2024-04-18 02:47:26 +00:00
jenkins-bot
61f58f54fb Merge "Edit Recovery: Add error messages to special page" 2024-04-17 23:20:26 +00:00
hmonroy
989385d724 mediawiki.special.block: Set up "Additional details" fields
Added "Additional details" fields.

Added 'block' function that will be responsible for submitting to API:Block

Modified userLook field so that the value is the username since the API
needs a username rather than a userid.

Bug: T361148
Change-Id: I1e77a63133b8c8ea043c680ddb8af0e044a6fb31
2024-04-17 15:18:49 -07:00
Translation updater bot
fb71cd6d87 Localisation updates from https://translatewiki.net.
Change-Id: I2dc4e30fb6b1c5ff184577649b7c9eca693b0802
2024-04-17 09:06:20 +02:00
Translation updater bot
68e97d0013 Localisation updates from https://translatewiki.net.
Change-Id: Id9b705a44efaa35442d3dd72258c15530c4d1cc0
2024-04-16 09:05:40 +02:00
Sam Wilson
6933629be1 Edit Recovery: Add error messages to special page
Add two new error messages to the Special:EditRecovery page, one
for when the user is not logged in, and one for when the
preference is not enabled.

Bug: T361721
Change-Id: I28eeab7192e7ab037d95d77406b4743717b0b5bc
2024-04-16 09:36:38 +08:00
jenkins-bot
66cdfc9d4e Merge "Translate special page names into Polish" 2024-04-15 18:11:11 +00:00
TheresNoTime
357f37f1f5 SpecialEditRecovery: Add deletion
Add a link/button to delete a given EditRecovery entry.
Add i18n `edit-recovery-special-delete`

Bug: T353996
Change-Id: I77d94eb0400c0a54df8d3b3cfae6e3adf37805d5
2024-04-15 14:47:12 +01:00
Translation updater bot
0fce78fe49 Localisation updates from https://translatewiki.net.
Change-Id: I308f15e4c38d6e89ccd7c1fd0f95c42e5a89825b
2024-04-15 09:06:54 +02:00
Translation updater bot
51c2322a27 Localisation updates from https://translatewiki.net.
Change-Id: I413d0807cc90d87d47df34ecba2158c6a0e7c16c
2024-04-12 09:06:40 +02:00
jenkins-bot
0721b0af62 Merge "Implement language converter for Standard Moroccan Amazigh (zgh)" 2024-04-11 15:37:17 +00:00
Jon Harald Søby
1df54ce20e Implement language converter for Standard Moroccan Amazigh (zgh)
Requested by the zgh community in the Wikimedia Incubator at [1];
the converter is the same as for Shilha (`shi`); the main difference
between the two languages is that the main script for `zgh` is
Tifinagh, which can't be losslessly converted to the Latin script
(the former is unicameral, the latter is bicameral), so the
converter and configuration added here is essentially one-directional.

[1] https://incubator.wikimedia.org/wiki/Special:PermaLink/6060805

Change-Id: I483a1594f001226439497f0870176e9a1e447458
2024-04-11 16:40:50 +02:00
Translation updater bot
5293046f03 Localisation updates from https://translatewiki.net.
Change-Id: I564353ce85714f326ae847b53a72a66002976561
2024-04-11 09:05:02 +02:00
Meno25
9bf8586e19 Update specialPageAliases for Arabic (ar) and Egyptian Arabic (arz)
Change-Id: I7de4d00bd8e7a72320b2ccf340486c462e28c9e9
2024-04-11 05:16:01 +00:00
James D. Forrester
6ab4c1e82c InfoAction: Explain to users how long WatchersMaxAge is, not just 'recent'
Bug: T336250
Change-Id: I898c463f5cb4efc40877f0bc67156a296bd506e4
2024-04-10 10:39:45 -04:00
Msz2001
87f5440c61 Translate special page names into Polish
(Special:EditRecovery, Special:Mylog, Special:PageLanguage)

Change-Id: Ie0ce6e80c6b8ff96b5a3cc4e987ecf1870563ebe
2024-04-10 12:05:22 +00:00
Translation updater bot
ea07eed0dc Localisation updates from https://translatewiki.net.
Change-Id: Ie7300ed680f3032911117b17d232cdbd0991140c
2024-04-09 09:06:23 +02:00
jenkins-bot
940b0c8242 Merge "Set up component for "Block Details" field" 2024-04-09 06:08:25 +00:00
hmonroy
3bed223619 Set up component for "Block Details" field
Added "name" attribute to user look up field.

Added component to handle the "Block Details" field which is a checkbox group.

Bug: T361147
Change-Id: I343aa7758c9f5d83c17f29498af59f6eba7bf658
2024-04-08 18:54:20 -07:00
Translation updater bot
d00df6b018 Localisation updates from https://translatewiki.net.
Change-Id: Ie05945912bfed800b5627a306559f21109ccafd2
2024-04-08 09:05:21 +02:00
Dreamy Jazz
aa4da4fe3e Use i18n strings for truncated subpage message in SpecialMovePage
Why:
* Now that the security patch for T357760 has been uploaded to
  gerrit, the hardcoded English strings can be replaced with
  i18n message keys. The use of hardcoded English was necessary
  to avoid causing a localisation cache refresh on every WMF
  production deployment.
* While this is being done, it would be useful to add tests
  to verify that the changes being made are correct and that
  the security fix continues to work.

What:
* Replace the hardcoded English strings with i18n message keys
  in SpecialMovePage::showSubpagesList
* Add tests for SpecialMovePage to verify these changes, which
  also provide test coverage for the class which was previously
  untested.

Bug: T357760
Change-Id: Ib0603f9188f624229b3c9e6d30b8c7266420f8ce
2024-04-06 02:06:04 +00:00
Translation updater bot
0f2d0d7bbb Localisation updates from https://translatewiki.net.
Change-Id: I1d2d8b47ddbdcfd85492e1646a82d6811e78283f
2024-04-05 09:05:41 +02:00
Translation updater bot
bc624593bd Localisation updates from https://translatewiki.net.
Change-Id: Ib8f03d481f8888325c6aa245c7ef2b2af90c076f
2024-04-04 09:04:41 +02:00