Commit graph

19532 commits

Author SHA1 Message Date
jenkins-bot
b97d825b1b Merge "Edit recovery: Ask to recover, not to discard" 2024-10-01 08:58:31 +00:00
Sam Wilson
3db5fd70a4 Edit recovery: Ask to recover, not to discard
Change the edit recovery prompt to ask before recovering the
saved data, instead of recovering and then asking whether to
revert the recovery.

Also change the button's to the shorter text, and so remove the
need to have them on separate lines.

Bug: T364664
Change-Id: I05e53f302a80a9ad8223d4d2cacf2ca5fca6cc65
2024-10-01 15:16:27 +08:00
Translation updater bot
bc9e19336a
Localisation updates from https://translatewiki.net.
Change-Id: I69596a668d82e3a7fa453894e0d43019fe3bbdb3
2024-10-01 09:05:30 +02:00
MusikAnimal
60b74e9e1b mediawiki.special.block [Vue]: surface server-side msgs + loading state
This adds a new message box for successful messages, and reworks the old
one to handle all error messages.

Error messages are inline for now (like the old Special:Block). Note
these are only the server-side messages, that chiefly serve as a
fallback for clientside error states which will be tackled in a future
patch.

A loading state is added for the block API request by simply disabling
the form fields. Once completed, the user is scrolled to the top to view
the appropriate messaging. This uses "smooth" scrolling so that it's a
bit less "in your face", but this is subject to design review. For now,
it's just important the user is brought to the approriate error message.

Other changes:
* Add a bit of left margin to the inline error message, consistent with
  the no-JS version of this page. Without this, things "jump" a bit as
  the Vue applicaton loads. More refinements for this to come later.
* Fix styles for .mw-block-partial-options to be exactly the same as
  Codex labels.
* Remove unnecessary IIFE from init.js, and add a class to the form
  so we can style it closer to the designs.

Bug: T369471
Bug: T358934
Change-Id: I47344e9581439289642c9424a5f229929805cdbe
2024-10-01 02:04:08 -04:00
jenkins-bot
5e4b3cfd3a Merge "Fix Manchu language configuration" 2024-09-30 18:32:58 +00:00
Amir E. Aharoni
d4921ec7aa Add Luba-Lulua (lua) to Names.php
Bug: T375999
Change-Id: I7eb614c7fd968f245e60b644a4c87028d2fe3fcb
2024-09-30 10:10:04 -04:00
Antoine Musso
5577d101a8 Restore "copyright" qqq message
The `copyright` has been marked as deprecated with
I5fd5607f8d43b6e934c8d4d35097cec430c56043 and was then removed by the
l10n bot in I6d82a827e20d18ff4d78d7351aa9e9c08129e400. Since the english
message has been kept, banana:core fails with:

>> 1 message lacks documentation in qqq.json:
>> * copyright

Restore the qqq message, I am assuming the deprecated `copyright`
message has been kept on english language for a good reason.

Bug: T45646
Change-Id: I116af83d7216ea492280183217d9528cfe7f14d1
2024-09-30 12:12:22 +02:00
Translation updater bot
e7efa029d2 Localisation updates from https://translatewiki.net.
Change-Id: I6d82a827e20d18ff4d78d7351aa9e9c08129e400
2024-09-30 07:46:10 +00:00
Amir E. Aharoni
045a561d6e Fix Manchu language configuration
This reflects the actual situation on translatewiki
and in the i18n json files:
* mnc is the main code, and it is in the Latin script
* mnc-mong is in the Mongolian script
* mnc-latn is a compatibility redirect to mnc

In the future, we may swap between mnc and mnc-latn,
but for now, let's at least make sure that the two
variants are supported in core properly.

This also adds namespace translations
given by User:MiiCii at
https://translatewiki.net/w/i.php?title=User_talk:MiiCii&oldid=12654825
(Note the different "Category" translation towards
the end.)

Bug: T284043
Change-Id: I3998d84aa51f3fced5642f611ba235687f4fe003
2024-09-30 00:50:25 -04:00
jenkins-bot
efd9035b81 Merge "Replace raw HTML copyright footer message with wikitext one" 2024-09-27 20:14:20 +00:00
Translation updater bot
1ec2185a55
Localisation updates from https://translatewiki.net.
Change-Id: Id0b4be4017b5ca34a72d2d9c251dc6adc75ba7fe
2024-09-27 09:00:55 +02:00
Ivi104
c6279a8390 #time should use Month-gen messages in Croatian
The mdy and ymd formats are removed because they are
not valid date formats in Croatian.

Bug: T373592
Change-Id: I579dd71c719aa14860b5cd7546e084c6ec6a21a3
2024-09-27 01:31:29 +00:00
jenkins-bot
c8edfb0425 Merge "mediawiki.special.block [Vue]: change messaging to not imply accounts" 2024-09-26 23:07:17 +00:00
Bartosz Dziewoński
943d089008 Replace raw HTML copyright footer message with wikitext one
Replaces 'copyright' with 'copyright-footer' and 'history_copyright'
with 'copyright-footer-history' (the original still takes precedence
if set). Adds SkinCopyrightFooterMessage hook which works the same
way as SkinCopyrightFooter for the new messages. Allows disabling
the old messages by setting $wgAllowRawHtmlCopyrightMessages = false.

Co-Authored-By: Gergő Tisza <tgr.huwiki@gmail.com>
Bug: T45646
Change-Id: I5fd5607f8d43b6e934c8d4d35097cec430c56043
2024-09-26 16:18:52 +02:00
Translation updater bot
d09548670a
Localisation updates from https://translatewiki.net.
Change-Id: I15fb926dc91124f365f643f28ca01c9ec2a7f863
2024-09-26 09:05:11 +02:00
MusikAnimal
92e66ad534 mediawiki.special.block [Vue]: change messaging to not imply accounts
IPs can be blocked, too :)

Bug: T373570
Bug: T368111
Change-Id: I7a292afec3e279088885e51991e6761d2ee345b8
2024-09-25 20:12:26 +00:00
Meno25
cb64d6c812 Updates for Arabic (ar) and Egyptian Arabic (arz)
Change-Id: I688c0966ae63cf8bc5b6afa8e3bc26f1f11fd169
2024-09-25 17:04:21 +00:00
jenkins-bot
d1e2448d4c Merge "Fix a recently changed message" 2024-09-25 13:39:28 +00:00
jenkins-bot
bb67774ccd Merge "TargetActiveBlocks/TargetBlockLog: Populate table components with blocks" 2024-09-25 13:22:16 +00:00
Amir E. Aharoni
ad6f046958 Fix a recently changed message
It was changed in Ie0dd06f51b1e2b85eef6be377f673a02732ce604,
and it looks like a mistake.

Change-Id: I0cae1aa78e2f3cb3b2a0773cde00e2a5b979ec33
2024-09-25 08:50:54 -04:00
TheresNoTime
f687a648a8 TargetActiveBlocks/TargetBlockLog: Populate table components with blocks
Add TargetActiveBlocks/TargetBlockLog tables to Special:Block.
Hide TargetActiveBlocks behind `blockEnableMultiblocks` flag.
Add util.js for common function(s)

Bug: T368062
Bug: T368111
Change-Id: Id4783c042cbf14a0de89a27f474cebbd102dff18
2024-09-25 13:06:11 +01:00
Translation updater bot
54cbffffec
Localisation updates from https://translatewiki.net.
Change-Id: Iecf2de76786a72d4757b4a8db1aede8dea02920b
2024-09-25 09:01:40 +02:00
Dreamy Jazz
0fa81768c2 Send temporary accounts to Special:CreateAccount on ::requireNamed
Why:
* When code throws a UserNotLoggedIn error for a temporary account,
  this takes them to Special:UserLogin and asks them to log in to
  an account
* Users using temporary accounts are less likely to have a named
  account, so should instead be sent to Special:CreateAccount
  (as described in T358586)
* When doing this, the warning message should be customised to
  talk about the user needing to create an account (and not
  log in)

What:
* Update UserNotLoggedIn to redirect to Special:CreateAccount
  when the user is logged in to a temporary account
** The code which constructs the exception object can override
   this and force the redirect to always be to Special:UserLogin.
* When the redirect is to Special:CreateAccount, allow customising
  the message shown by adding a '-for-temp-user' suffix to the
  message key in UserNotLoggedIn.
** This suffix is only added if the resulting message exists,
   so that code can choose whether they need a message that is
   different to the one on Special:UserLogin.
* Update SpecialPage::requiredNamedUser to allow special pages to
  force the redirect to always be to Special:UserLogin
** This is made use of in Special:ChangeEmail and
   Special:ConfirmEmail, as these special pages only make sense
   for use with an existing account.
* Update and add message keys to allow a different message for
  Special:CreateAccount.
* Update and add tests for these changes.

Bug: T358586
Change-Id: Ie0dd06f51b1e2b85eef6be377f673a02732ce604
2024-09-24 21:42:17 +00:00
Dreamy Jazz
4affdf161b Remove unused 'resetpass-no-info' message key
Why:
* The 'resetpass-no-info' message key was added in
  bceb3c7d1a but was no longer used
  after 854a462dc0.
* Removing this message will reduce the need for unnecessary
  translations.
** This will also help reduce the extra message keys needed as a
   result of T358586

What:
* Remove the 'resetpass-no-info' message as unused.

Bug: T358586
Change-Id: Ia3148c213732a03d04c13cae1203feb6d3ce30de
2024-09-24 21:42:01 +00:00
jenkins-bot
9db9f03a7a Merge "i18n: Change 'whatlinkshere-count' wording to use the active mood" 2024-09-24 14:27:29 +00:00
newtonkamau
976f64b6f1 i18n: Change 'whatlinkshere-count' wording to use the active mood
This changes the wording from "displayed" to "displaying" for the
whatlinkshere-count message.

Bug: T374759
Change-Id: I768167e1d5b8af6a297076bdc133121a05302502
2024-09-24 13:43:00 +00:00
Amir E. Aharoni
5c5adc9836 Remove fallback language for crh-ro
Requested at
https://translatewiki.net/w/i.php?title=Support&oldid=12623804#Proposed_changes_for_[crh-ro]_Dobrujan_Tatar

Change-Id: I0140d182882093a13492a82f4b69c86e71dacc24
2024-09-24 12:57:14 +00:00
Dreamy Jazz
6728c3373c Remove unused exception-nologin-text-manual message
Why:
* The 'exception-nologin-text-manual' message key was added in
  68f3a22654 but then made unused in
  d0439af89f
* The message key is unused and has been since 2014.
* Removing this message key will reduce unnecessary translation.

What:
* Remove the 'exception-nologin-text-manual' message key as unused.

Bug: T358586
Change-Id: Id4c868dfabbc133cb5aa9fb82956ccd70cf9f554
2024-09-24 09:59:00 +00:00
Translation updater bot
c7634053b5
Localisation updates from https://translatewiki.net.
Change-Id: I4f0106d7a3018253d98ce838e993493c5a99e465
2024-09-24 09:01:30 +02:00
jenkins-bot
8143b783be Merge "mediawiki.special.block: make submit destructive and use old messages" 2024-09-23 21:35:47 +00:00
Amir E. Aharoni
5c79249317 Add namespace gender aliases for Tigre (tig)
Translated by User:Bbeshir at
https://incubator.wikimedia.org/w/index.php?title=Talk:Wp/tig/Main_Page&oldid=6389257

Bug: T375052
Change-Id: Ifb87832927967e28b38b5d89fe9b1cc78df701a7
2024-09-23 14:17:29 -04:00
Amir E. Aharoni
fe485a0135 Add Interslavic (Cyrillic; isv-cyrl)
Also add gender aliases to Interslavic (Latin)
and custom plural rules for isv-cyrl.

Bug: T375360
Change-Id: I1ea5e36b09a4eecbc0edf085deb50a392f7fcca5
2024-09-23 10:15:53 -04:00
Translation updater bot
bc72d5b4f7
Localisation updates from https://translatewiki.net.
Change-Id: I88440f316b69c1196f0ad19f4aa1a826f0a02d84
2024-09-23 09:04:37 +02:00
Amir E. Aharoni
8d7246ae81 Add namespace translations for Tigre (tig)
Contributed by User:Bbeshir at
https://incubator.wikimedia.org/w/index.php?title=Talk:Wp/tig/Main_Page&oldid=6385826

Bug: T375052
Change-Id: Iae1e539ba96dc0447a8a84b7b7c3f041156f654c
2024-09-22 23:27:38 -04:00
jenkins-bot
c22e07fd1e Merge "Update English langauge name of Puxian (cpx) in comments" 2024-09-22 13:28:22 +00:00
jenkins-bot
5476caa7b8 Merge "Languages: Fix written script for Xiang (hsn)" 2024-09-22 08:34:28 +00:00
jenkins-bot
b912a90d21 Merge "Merge gan translations back to gan-hans and gan-hant respectively" 2024-09-22 08:28:26 +00:00
Winston Sung
c75df5c39b Merge gan translations back to gan-hans and gan-hant respectively
Bug: T286291
Bug: T296188
Change-Id: I18c90f3c26396699ec60b077bc438d626a0c5c7e
2024-09-22 07:56:28 +00:00
Winston Sung
18065ee139 Languages: Update fallback of Mindong (cdo)
This update the fallback language from Minnan (nan) to Minnan (Traditional Han script) (nan-hant).

Change-Id: I40182e667c72778ad8e00a1a541bbc941938b11f
2024-09-22 06:31:46 +00:00
Winston Sung
2bcd8f66c7 Update English langauge name of Puxian (cpx) in comments
Change-Id: I6b3a57958e1626f5ee7c1d8ac24ab87ff84c8dc8
2024-09-22 06:31:15 +00:00
Winston Sung
a60faebdbd Languages: Fix written script for Xiang (hsn)
The Xiang on translatewiki and Wikimedia Incubator Wikipedia-hsn were written in Traditional Han script (Hant) instead of Simplified Han script (Hans):

https://translatewiki.net/wiki/Portal:Hsn
https://incubator.wikimedia.org/wiki/Wp/hsn

Change-Id: I2b0566cb6f13556002b38f6bc9df08f7b9c6d2a4
2024-09-22 06:26:49 +00:00
Acamicamacaraca
e17f9be025 User and user talk namespaces should be gender-sensitive in Serbo‑Croatian
Bug: T373864
Change-Id: Ic9afbed7817f15031a508c3302e2b080cb48bfce
2024-09-22 04:10:47 +00:00
Acamicamacaraca
e8be5ba080 Standardize the Serbo-Croatian date and time format
Bug: T373754
Change-Id: I69957d7230f1fda5221ab4ce665b72d39cdd605a
2024-09-22 04:08:08 +00:00
Amir E. Aharoni
91074b8726 Add Tigre (tig) to Names.php
Bug: T375052
Change-Id: Ie7b2db805386e6eb3d3603f6d0686f27450bbf76
2024-09-20 17:24:01 +00:00
Translation updater bot
1f2a0fe3f4
Localisation updates from https://translatewiki.net.
Change-Id: I1f2e02ee4b6de6c5e18ea0a23f9a203b4e312999
2024-09-20 09:03:52 +02:00
Translation updater bot
5d95b85c16
Localisation updates from https://translatewiki.net.
Change-Id: Ibfd997603df7984c115477ed500501ab3b95ca87
2024-09-19 09:04:20 +02:00
MusikAnimal
de2b3f7a59 mediawiki.special.block: make submit destructive and use old messages
SpecialBlock calls HTMLForm::setSubmitDestructive(). This patch applies
that to the new Vue version of Special:Block.

Additionally, since we're not going to enable multiblocks in the initial
launch, the submit button message is changed to as it was before. "Save
block" is questionable even for multiblocks. It will likely be a while
before we iron out the UI for multiblocks, so we might as well remove
now-unused 'block-save' message.

The "[username] is already blocked" message is now also surfaced, i.e.
browsing to [[Special:Block/someblockuser]]. Like the old Special:Block,
changes to the block target field won't re-query to see if the user is
already blocked (though that would be a fine improvement). However
*unlike* the old Special:Block, such changes do make the message
disappear.

Bug: T373572
Change-Id: Iceaedbb1e3496c52b49a2b96d65445da45261b9f
2024-09-18 20:43:22 -04:00
jenkins-bot
7b4e02a2bd Merge "Fix "Special" namespace for Iban" 2024-09-18 17:09:00 +00:00
Amir E. Aharoni
53e0e73c62 Fix "Special" namespace for Iban
Requested at
https://translatewiki.net/w/i.php?title=User_talk:Song_GK&oldid=12634341

Bug: T375081
Change-Id: If87f0a66b4532198e11cd0b0f8aee387a3e2b9f1
2024-09-18 09:59:54 -04:00
jenkins-bot
258e2f08dd Merge "Add plural rules for Interslavic" 2024-09-18 09:13:01 +00:00
Translation updater bot
3b2bf19bb5
Localisation updates from https://translatewiki.net.
Change-Id: Iafd1d95fccf82d2091476d4f6d9afe2e2c161a4d
2024-09-18 09:04:37 +02:00
Translation updater bot
63eacb2696
Localisation updates from https://translatewiki.net.
Change-Id: I78eaf0aaf59391ba386f7acdec018eb89881076b
2024-09-17 09:01:30 +02:00
jenkins-bot
621614fab2 Merge "mediawiki.special.block: add reason field" 2024-09-17 01:18:28 +00:00
Translation updater bot
d3c6e08176
Localisation updates from https://translatewiki.net.
Change-Id: Ic51e65478510cfa340258992877d8eb8c53d4e59
2024-09-16 09:04:47 +02:00
jenkins-bot
6bba8cf9f4 Merge "Fix comma splice in logging-out-notify" 2024-09-13 16:20:46 +00:00
Pppery
0b4b6419e1 Fix comma splice in logging-out-notify
Change-Id: I730aa4bbea3b70b48ea0ad1329e3aa85378eb08d
2024-09-13 14:57:33 +00:00
Translation updater bot
3a72905917
Localisation updates from https://translatewiki.net.
Change-Id: Iee3f509371133869e9dba9195e88b6ff92173eee
2024-09-13 09:00:46 +02:00
jenkins-bot
bc055b6ca4 Merge "Customise Special:UserLogout success message for temporary account" 2024-09-12 11:18:07 +00:00
Dreamy Jazz
ab89fff633 Customise Special:UserLogout success message for temporary account
Why:
* When a temporary account exits their session, the
  Special:UserLogout page is loaded to indicate the success.
* However, the success page talks about the temporary account
  logging out which may cause confusion.
* Per design mocks shared on T374519, this should be modified
  to indicate that the user logged out of a temporary account.

What:
* Set 'templogout' as the page title when the user is logging out
  of a temporary account.
* Set 'logouttext-for-temporary-account' as the message shown
  for a logout success when the user is logging out from a
  temporary account
* Update mediawiki.page.ready/ready.js to add a flag to the
  URL Special:UserLogout URL that is redirected to once the
  logout API call has occured.
* Update tests for SpecialUserLogoutTest

Bug: T374519
Change-Id: Ib62cdb5ba716976321cd556aa9defe97b3446b33
2024-09-12 11:06:46 +01:00
Translation updater bot
2efc9ea4d3
Localisation updates from https://translatewiki.net.
Change-Id: I89f1352a188983ec09678412dfd3fb36a2ac4728
2024-09-12 09:04:15 +02:00
hmonroy
2d1a3660e3 mediawiki.special.block: add reason field
Add Html::listDropdownOptionsCodex() that takes a bulleted list like
[[MediaWiki:Ipbreason-dropdown]] and adapts the data struture for use
with a Codex Select component.

Currently optgroups are not supported (T367241) so we show the optgroup
labels as disabled options instead.

URL query string parameters do not yet prefill any fields. This will be
tackled as part of T368583.

Bug: T362912
Change-Id: Ib89dcf35ca2a1cd74404c42f5411d7c095b98952
2024-09-11 21:14:25 -04:00
Translation updater bot
d38689ae1d
Localisation updates from https://translatewiki.net.
Change-Id: I51b8b76b077599d5a96343ec13993d4cfe3b14fe
2024-09-11 09:04:29 +02:00
Translation updater bot
3d2c3032fd
Localisation updates from https://translatewiki.net.
Change-Id: Ia965b94753aa0a16be1deef703977b909b1f4dce
2024-09-10 09:01:15 +02:00
jenkins-bot
52791dc19a Merge "mediawiki.special.block [vue]: add new ExpiryField to enter block expiry" 2024-09-10 00:43:22 +00:00
Translation updater bot
b692f6210e Localisation updates from https://translatewiki.net.
Change-Id: I55d48a6c8844e87442f46a368f0e4112896825d3
2024-09-09 08:45:22 +00:00
jenkins-bot
a323ae9ccd Merge "parser: Add a new {{USERLANGUAGE}} magic word for use in wikitext" 2024-09-08 23:38:53 +00:00
jenkins-bot
2802ed4182 Merge "Add fr alias for Special:EditRecovery" 2024-09-08 15:39:16 +00:00
Sam Wilson
62f6aae8fe Add fr alias for Special:EditRecovery
Bug: T362974
Change-Id: I5595baafe68a9ff0af4b83758dd1ae2471f2cb17
2024-09-08 09:11:11 +08:00
dvorapa
10ab0e40a9 parser: Add a new {{USERLANGUAGE}} magic word for use in wikitext
Depending on configuration, this returns either the interface language
code of the current user or the current page language.

Bug: T4085
Change-Id: Iab7fda272ec81af88c74612727ff6bed014d4a81
2024-09-07 19:16:32 +00:00
Amir E. Aharoni
d7b68f9e74 Add plural rules for Interslavic
Bug: T369453
Change-Id: I824105682a49a23cfc7260d10467604b27a85e9b
2024-09-07 15:08:41 -04:00
Dreamy Jazz
6df22efc45 Update contributions-subtitle to include the word "Results"
Why:
* The contributions-subtitle message is used on contribution
  special pages as a subtitle with user links shown next to the
  text.
* To make this clearer, the word "Results" should be added as
  without the word it is not clear what the word "for" applies to.
* This change was specified in the designs shared in
  T367121#9962620 as part of adding Special:IPContributions to
  the CheckUser extension.

What:
* Update the contributions-subtitle message to include the word
  "Results"
* Remove the contribsub2 message key as unused, as it was made
  unused in 908e387e36. Furthermore,
  there are no usages of the message outside core shown in
  code search.

Bug: T374265
Change-Id: I3b0a2b852675b74f62863a273991ad04b81e6d4c
2024-09-06 17:24:28 +01:00
Translation updater bot
70d3cde9dd
Localisation updates from https://translatewiki.net.
Change-Id: Icbb1d6a70056709dcf21ff46b25a2b42f8b794a6
2024-09-06 09:04:08 +02:00
Translation updater bot
b2ffbb6b40
Localisation updates from https://translatewiki.net.
Change-Id: I92afbc50b48c8065e83c28beb22e08c78a469170
2024-09-05 09:04:50 +02:00
jenkins-bot
8c683a26bd Merge "Prevent cross-wiki assignment of groups to temporary accounts" 2024-09-04 18:36:37 +00:00
Dreamy Jazz
b4ce1e3f05 Prevent cross-wiki assignment of groups to temporary accounts
Why:
* On wiki farm installs, it is possible that temporary accounts
  are enabled on wiki but not another wiki
* Special:UserRights can assign groups to users on other wikis
* This currently allows temporary accounts to be assigned groups
  from a wiki where the feature is disabled and not known.
* The Special:UserRights page should disallow this by preventing
  cross-wiki assignment of rights when the target username is
  reserved by the temporary accounts system.
** This works because the reserved pattern is accessible even when
   the feature is not known
** Furthermore, the reserved pattern is expected to be set for all
   wikis in the farm if one wiki has temporary accounts enabled,
   so that the temporary account cannot be created on wikis which
   have the feature disabled.

What:
* Update SpecialUserRights::saveUserGroups and ::fetchUser to
  reject usernames when:
** The wiki ID for the username is not local
** Temporary accounts are not enabled on the wiki
** TempUserConfig::isReservedName returns true for the username
* Add a test to verify that temporary accounts cannot be given
  user groups by the special page.
* Testing the changes made in this commit will be difficult as it
  requires having a second wiki set up, and this is not done in
  CI (which makes the test non-blocking for CI).

Bug: T372046
Change-Id: I2d60c5b3322caa4629b4e73c0b0b525fd1028946
2024-09-04 15:26:25 +01:00
Amir E. Aharoni
3353abe82c Add plural forms for Levantine Arabic
Bug: T363690
Change-Id: I9d451e1fa53424ccccb1ef0df21e28fc1d2cfdf4
2024-09-04 13:35:57 +00:00
MusikAnimal
0f95e00e61 mediawiki.special.block [vue]: add new ExpiryField to enter block expiry
This uses a new three-part form to allow the features of manually typing
an expiry (i.e. "31 hours") but allowing to do so for non-English users,
who previously didn't have this capability unless it was set in
MediaWiki:Ipboptions. The ability to use MediaWiki:Ipb-default-expiry to
set a default expiry is still supported, assuming it is either a valid
option in MediaWiki:Ipboptions or in the new "Custom duration" field
(i.e. "31 hours"). See https://w.wiki/B65S for more, though this
functionality doesn't appear to be used anywhere on the WMF cluster.

"Expiration" is renamed in the code to "Expiry" to match the naming of
other MW components (ExpiryDef), but the user-facing message is still
"Expiration".

No validation is done yet, but will be added in a future patch.
Similarly, pre-supplying values via URL params is saved for T368583.

Bug: T359684
Change-Id: Iffb6fa3f539d29ed25802a19f4c13c627208259c
2024-09-03 21:24:56 -04:00
jenkins-bot
45e790aa69 Merge "Indicate IP contributions are legacy when temporary accounts enabled" 2024-09-03 23:23:38 +00:00
Srishakatux
3ab689526c Merge "Add a Messages file for Haryanvi in Arabic script" 2024-09-03 20:46:24 +00:00
Translation updater bot
b7b9c62b89
Localisation updates from https://translatewiki.net.
Change-Id: I62e6e477fbdd0807f7ed90c0e3b05bbed9adbf5b
2024-09-03 09:04:05 +02:00
Translation updater bot
909aac2eca Localisation updates from https://translatewiki.net.
Change-Id: I765638759751cb748490d3f2a3391854ae1dd986
2024-09-02 08:18:40 +00:00
Amir E. Aharoni
750e74f4c1 Add a Messages file for Haryanvi in Arabic script
To allow correct RTL display before full localization support.

Bug: T373561
Change-Id: I2edda23063a4c7d5490da7b920c5f7867ec3c5b2
2024-09-01 18:32:52 -04:00
jenkins-bot
9e9aeb9926 Merge "i18n: Use "Don't" over "Do not" in tog-diffonly" 2024-08-30 21:17:51 +00:00
Dreamy Jazz
858fd5fa0e Indicate IP contributions are legacy when temporary accounts enabled
Why:
* Special:Contributions and Special:DeletedContributions allow
  a user to view contributions from IP addresses and ranges.
* When temporary accounts are enabled, no new revisions will
  appear in the results when searching for IP addresses and ranges
* For this reason and to be consistent with designs on T369859,
  the Special:Contributions and Special:DeletedContributions pages
  should indicate that the contributions are legacy when
  temporary accounts are enabled.

What:
* Define ::getResultsPageTitleMessageKey for both
  SpecialContributions and SpecialDeletedContributions to return
  the "legacy" title when temporary accounts are enabled and the
  target of the search is an IP address or range.
* Because T269521 is resolved, remove the null default values for
  the constructor arguments of SpecialContributions. This is done
  because we are passing a new service through the constructor
  and defining it as null by default is unnecessary.
* Test these changes.

Depends-On: I63ac28917788f947894ea4f0bf71a7ff30d7a5aa
Bug: T369859
Change-Id: I5d1007d7d317323e93103260985be4a23cdb6848
2024-08-30 16:22:13 +01:00
Translation updater bot
d23abdc88d
Localisation updates from https://translatewiki.net.
Change-Id: I2ae92158d62ee51967518a9bf2eca32cb45fa43b
2024-08-30 09:01:05 +02:00
jenkins-bot
26dc737733 Merge "Add double-px-category tracking category for deprecated image size syntax" 2024-08-29 23:58:32 +00:00
jenkins-bot
83a075b4fb Merge "Modify namespace translation for Mongolian (mn)" 2024-08-29 22:15:24 +00:00
C. Scott Ananian
0450b5e4d5 Add double-px-category tracking category for deprecated image size syntax
For decades MediaWiki has allowed "extra" px modifiers in image size
specifications, for example `100pxpx`.  It has been suggested since at least
2008 (T15500#174968) that this behavior should be deprecated.  This is
not localized, so (for example) on eowiki we allow `100rapx` as well (!).

As one small step toward eventually removing this weird corner case behavior
add a tracking category whenever it is used on wiki.

In the process, emit deprecation warnings for
ImageGalleryBase::setWidths() or ::setHeights() if called without
ImageGalleryBase::setParser() having been set.  The ::setParser() method
already includes in its documentation that "If you do not set this and
the output of this gallery ends up in parser cache, the javascript will
break!", so please set the parser appropriately.

Bug: T15436
Bug: T15500
Bug: T372935
Change-Id: If86d949189a7d105595404d21447477499873b03
2024-08-29 17:54:38 -04:00
Srishakatux
8a6567d159 Modify namespace translation for Mongolian (mn)
To be merged after the following change has been deployed: https://gerrit.wikimedia.org/r/1060893

Bug: T366271
Change-Id: I1dd9a91bc37e32bde15f52271fbea2580943ab99
2024-08-29 21:01:39 +00:00
Msz2001
1b667a735d Translate special page names into Polish
Change-Id: Ibb3de5f1ec0faaf9dba1866c49e2d8b9aa10aa37
2024-08-29 14:07:15 +00:00
Translation updater bot
3624d128c4
Localisation updates from https://translatewiki.net.
Change-Id: I61445bcd27320e74d47d85cc4fc938f8544e84a1
2024-08-29 09:04:03 +02:00
jenkins-bot
cd5fe6c658 Merge "languages: Switch around formalityIndex for nl and nl-informal" 2024-08-29 02:26:26 +00:00
Amir E. Aharoni
3a275a80aa Add Haryanvi language (bgc)
Bug: T364737
Change-Id: Ic88ea60db67ed32dd8ac4534025f71537b1d0e11
2024-08-28 14:12:16 +00:00
jenkins-bot
d3b49baccd Merge "i18n: add ChipInput messages for aria-live attribute" 2024-08-28 13:11:46 +00:00
Translation updater bot
f0aecf7235
Localisation updates from https://translatewiki.net.
Change-Id: Ic5cfc584d8047dcd8f68e6b4a7e6a23a46e0bee4
2024-08-28 09:07:09 +02:00
lwatson
02391f2f5c i18n: add ChipInput messages for aria-live attribute
Bug: T364441
Change-Id: Ifabb9b94c22f5726a72007054157501e75b5b403
2024-08-27 17:35:32 -04:00
jenkins-bot
f093e5d551 Merge "Remove a vandal's username from translation file" 2024-08-27 19:03:13 +00:00
Nemoralis
ec372cbffd Update date format for Uzbek language
Bug: T369787
Change-Id: I0de4623ef30ff6746ffc29deb75e9cc62bc87917
2024-08-27 21:52:46 +04:00
mary123
2ca11e8774 Remove a vandal's username from translation file
Change-Id: I1f95616a994e832b6d5bd9a77d33411a97fbd919
2024-08-27 20:40:11 +03:00
jenkins-bot
8620c365f8 Merge "remove <em> from recentchanges-legend-plusminus" 2024-08-27 16:54:48 +00:00
Srishakatux
b5b7966355 Merge "Add namespace translations for Saint Lucian Creole (acf)" 2024-08-27 16:29:05 +00:00
Translation updater bot
ef87455d7c
Localisation updates from https://translatewiki.net.
Change-Id: I98881cc25322ba1cd658d086dd526736dea5f504
2024-08-27 09:04:53 +02:00
Amir E. Aharoni
be9bb3e048 Add Nupe (nup) namespace translations
Contributed by User:Misbahu umar at
https://translatewiki.net/w/i.php?title=User_talk:Misbahu_umar&oldid=12560109#Namespaces

Bug: T370123
Change-Id: Ied715350350606bd09887af7abf77ad34edf2ab1
2024-08-27 02:38:49 +00:00
Andrei Rybak
34c64601bc remove <em> from recentchanges-legend-plusminus
Bug: T373412
Change-Id: I4b2c9d2dec53c2c665c273b33e3d8caa3160e2ac
2024-08-27 01:51:00 +00:00
Translation updater bot
b371b0623e Localisation updates from https://translatewiki.net.
Change-Id: I7e7af2daaa92635881e5fc6840c6b11ae307c673
2024-08-26 07:14:14 +00:00
jenkins-bot
7cda754ced Merge "Localisation updates from https://translatewiki.net." 2024-08-24 17:23:55 +00:00
jenkins-bot
42113daef5 Merge "Allow change tags to have help links in separate messages" 2024-08-23 17:36:57 +00:00
Translation updater bot
ff41166ece Localisation updates from https://translatewiki.net.
Change-Id: I477ee59b7fae110acd4e93702e8242ae0d6a47ef
2024-08-23 07:14:45 +00:00
Meno25
0ba4018c76 Updates for Arabic (ar) and Egyptian Arabic (arz)
* These were added in the last two days

Change-Id: Ie6d5274ee9e695836a274a9af61ee313ab876b6a
2024-08-22 20:03:13 +00:00
Translation updater bot
48d236c669
Localisation updates from https://translatewiki.net.
Change-Id: I9ea7d1ef388af399da0cfc1cc2104d8fa579c7ac
2024-08-22 09:01:50 +02:00
Winston Sung
e037af51b8 Languages: Add nan-latn-tailo (Minnan - Tâi-lô) to Names.php
First export in commit 5c6b75659f
(Change-Id Ied5002d2ca82a05d69e55442561f254f610e0d5c ).

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

Bug: T354937
Bug: T369899
Change-Id: If68512a24cac67daa033a634b1fb57d872d0039c
2024-08-22 03:56:56 +00:00
jenkins-bot
42cdfc002d Merge "Add Special:NamespaceInfo" 2024-08-22 03:10:53 +00:00
DannyS712
16706f2b14 Add Special:NamespaceInfo
Bug: T263513
Change-Id: I2e863433608d13bcb6740b12d3336353c99f3ea3
2024-08-22 02:39:42 +00:00
jenkins-bot
1b4474380a Merge "Add __EXPECTUNUSEDTEMPLATE__ magic word to filter Special:UnusedTemplates" 2024-08-22 01:26:14 +00:00
Translation updater bot
7e05683718 Localisation updates from https://translatewiki.net.
Change-Id: I71a5f11ef9561dd67f71750fffbef6d9fbb49f30
2024-08-21 14:35:49 +00:00
Sophivorus
a82d14d66c Add __EXPECTUNUSEDTEMPLATE__ magic word to filter Special:UnusedTemplates
Bug: T184633
Change-Id: Id0ebb9bc1c67d41e951b7045d333231dcf83cb72
2024-08-20 05:07:45 -07:00
Translation updater bot
454510bc29
Localisation updates from https://translatewiki.net.
Change-Id: I5b50c4a668390cbb4ef42bc65220da96af2f66e3
2024-08-20 09:04:33 +02:00
jenkins-bot
41e63c2b26 Merge "Updates for Arabic (ar) and Egyptian Arabic (arz)" 2024-08-19 17:08:16 +00:00
jenkins-bot
08e76a57a7 Merge "Add Persian translations of remaining special pages aliases" 2024-08-19 15:54:51 +00:00
Translation updater bot
8bf816bd8c Localisation updates from https://translatewiki.net.
Change-Id: I27ba93f3431f6a6b7a9df70b73c7a1a6e901c5f0
2024-08-19 07:44:02 +00:00
Meno25
9a4c2ed706 Updates for Arabic (ar) and Egyptian Arabic (arz)
Change-Id: I71026626c1d9c0370a6a6abf0e9526ac79e28072
2024-08-19 07:26:13 +00:00
Ebrahim Byagowi
6a431a10fe Add Persian translations of remaining special pages aliases
Change-Id: I74a6cf00349cf388b5d3abf8773aa168c043217d
2024-08-19 00:09:50 +03:30
jenkins-bot
819487d8c3 Merge "Add GENDER to sp-contributions-blocked-notice-partial" 2024-08-16 19:05:48 +00:00
Translation updater bot
aa98ad8c6a
Localisation updates from https://translatewiki.net.
Change-Id: I858b92a5c8e04541ea3aa6fde6fc29d83dd34e41
2024-08-16 09:03:44 +02:00
Translation updater bot
eed7d5b323
Localisation updates from https://translatewiki.net.
Change-Id: Iff61f978735908aabd00c9863f74e9f7873ef884
2024-08-15 09:04:09 +02:00
Amir E. Aharoni
c0fe0c69d3 Add GENDER to sp-contributions-blocked-notice-partial
This makes it possible to use it in translations
without warnings on translatewiki and makes it
consistent with sp-contributions-blocked-notice.

Change-Id: I5437688f19496f8336b6cf4155cd9e282aae12e7
2024-08-14 18:36:08 -04:00
Translation updater bot
5c6b75659f
Localisation updates from https://translatewiki.net.
Change-Id: Ied5002d2ca82a05d69e55442561f254f610e0d5c
2024-08-14 09:04:41 +02:00
Bartosz Dziewoński
7bab3cd60e Allow change tags to have help links in separate messages
Many changes tags added by extensions include links in the 'tag-<tag>'
label messages, which point to help pages for the tags and the software
features that add them. This makes translating the labels unpleasant.

Introduce localisation messages like 'tag-<tag>-helppage' (following
the pattern of 'tag-<tag>-description'), which should contain a URL
or a page title of a help page for the given tag. When such link
message is defined, the tag description in changes lists, history
pages etc. is wrapped in a link that points to the given URL or page.

Unlike the label messages, the link messages are always used in wiki
content language, for easy on-wiki customization. For compatibility
with old translations and existing on-wiki overrides, if 'tag-<tag>'
already contains any links, 'tag-<tag>-helppage' is ignored.

Add buttons that allow editing the new links on Special:Tags. Correct
existing buttons that allow editing the labels to use user language.

Add help links using the new messages to the changes list filtering
interface (which can't display links in tag descriptions themselves).

Introduce a link message for 'mw-contentmodelchange' tag as an example.

Bug: T372175
Change-Id: I1e2242a8591597a110a5a430f4c251f0f601cfbe
2024-08-13 22:26:16 +02:00
Translation updater bot
b4b84bb5f5 Localisation updates from https://translatewiki.net.
Change-Id: I00eda4ce7eb827c644f88dd749beee958b76778d
2024-08-13 10:51:59 +00:00
Translation updater bot
803e854a20 Localisation updates from https://translatewiki.net.
Change-Id: If602f5635de9c22f25fb96ff90333f4a6144d1d8
2024-08-12 07:33:18 +00:00
Amir E. Aharoni
b880acd348 Add full stop into blockedtext-reason-comment
The following patches should be merged immediately
after this one:
I66fbebe2f43484973fa060285e1b41efae499864
I13c7d94b050a38e9d5599493af34266029e97225

Bug: T372213
Change-Id: Ice859477e511b38f7bf6c051082d04f6c83a10e7
2024-08-11 06:53:40 +00:00
Jon Harald Søby
322d198d76 Add namespace translations for Xhosa and Swazi
Add namespace submitted by User:Bobbyshabangu during the
Wikimania hackathon.

Bug: T372057
Change-Id: I1d7ea7f70f306e9df1993f942743c334e9eedc19
2024-08-09 18:53:23 +00:00
Translation updater bot
65df9fa819
Localisation updates from https://translatewiki.net.
Change-Id: I41ed8cf89f982f427c9acc7f7fd0aace319cd7c2
2024-08-09 09:05:52 +02:00
Ebrahim Byagowi
fe4bcd7db0 Make 'Mark this page as patrolled' a codex button
Change-Id: I883934b21e43aeb432aa0b91420abba9c3791428
2024-08-08 18:54:06 +02:00
jenkins-bot
bbcd8a2ddc Merge "i18n: Add new messages needed by Codex 1.11.0" 2024-08-08 16:23:08 +00:00
Translation updater bot
d98eb89fde
Localisation updates from https://translatewiki.net.
Change-Id: I74e0d5d5903b884e939d9a9dc61f56d84a26a4b0
2024-08-08 09:04:27 +02:00
Eric Gardner
47ba61e66b i18n: Add new messages needed by Codex 1.11.0
Codex 1.11.0 introduces a number of new message keys. These messages
should all be defined within MediaWiki's i18n system in advance of
the introduction of Codex 1.11.0 to MW Core.

In the future this process will be streamlined according to the
pland described in https://phabricator.wikimedia.org/T371330.

Bug: T371628
Change-Id: I038fe6a8fd02614a60aa8912796384ba986b4ca4
2024-08-07 15:34:59 -07:00
Translation updater bot
e5f6333d00 Localisation updates from https://translatewiki.net.
Change-Id: I92ecf5d9e9f884290d9aed26b6ead8792a25b8f3
2024-08-07 08:26:21 +00:00
Amir E. Aharoni
c14bbf4e2f Consistent spelling of "subpage"
Also:
1. Other minor fixes in comments touched by this patch.
2. Add a separate test for subpage with spaces.

Change-Id: I267f19027098e5778b1cd491826e1741fc7ee794
2024-08-06 04:01:02 -04:00
Translation updater bot
88770fc9c8
Localisation updates from https://translatewiki.net.
Change-Id: Iec681df4454bb40342aa5cc979951ac4859a17e4
2024-08-06 09:05:08 +02:00
Translation updater bot
ebad7aac24
Localisation updates from https://translatewiki.net.
Change-Id: I7ad8b096ec6b2ad566548a089de0a76b4e3a4259
2024-08-05 09:04:28 +02:00
jenkins-bot
771be6c7aa Merge "Restore password reset invalid email message" 2024-08-04 16:58:25 +00:00
Translation updater bot
cd80704e27
Localisation updates from https://translatewiki.net.
Change-Id: I2de7b7940855721c98548e758b766ce58a77553c
2024-08-02 09:05:05 +02:00
jenkins-bot
2d3c0375d1 Merge "Drop writeapi userright" 2024-08-01 21:06:33 +00:00
Translation updater bot
253429ecbd Localisation updates from https://translatewiki.net.
Change-Id: I93442491e1ee093ecd048e463fabc66a22da1325
2024-08-01 07:44:08 +00:00
jenkins-bot
512c78b8ea Merge "Make {{#language}} consistent with {{#dir}} and {{#bcp47}}" 2024-07-31 11:42:16 +00:00
jenkins-bot
52a10a36b1 Merge "Add {{#bcp47}} parser function" 2024-07-31 11:42:08 +00:00
Reedy
b52a8addf5 Drop writeapi userright
Bug: T294397
Depends-On: Ib34228a18917e404517d45e539bd786419d9c401
Change-Id: Ifad2edc782b36d21c8c67fecde7f011dce02c11b
2024-07-31 11:10:50 +00:00
Translation updater bot
286ec3c01d
Localisation updates from https://translatewiki.net.
Change-Id: Ia3fdf9eeb39730a6b607a8d5778d549100d978a5
2024-07-31 09:04:34 +02:00
jenkins-bot
f338ac3295 Merge "Add {{#dir}} parser function" 2024-07-30 20:34:27 +00:00