提交图

1401 次代码提交

作者 SHA1 备注 提交日期
libraryupgrader 7c8c898de0 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* grunt-banana-checker: 0.11.1 → 0.12.0

Change-Id: I8edcfd5413e3c90c9db05910c9c9e4bb3ea211d5
2024-05-10 03:07:24 +00:00
Translation updater bot 6ea312f1a9 Localisation updates from https://translatewiki.net.
Change-Id: I61fa6f36a0eddc9d2c495a7d996b31eaa40cd6cf
2024-05-06 09:25:24 +02:00
libraryupgrader 3c95fed5e8 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* ejs: 3.1.8 → 3.1.10
  * https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: I16c8cd5ad458c563919f312cfd91237316da4d65
2024-05-02 03:20:17 +00:00
Translation updater bot 504e920af7 Localisation updates from https://translatewiki.net.
Change-Id: I26315c039699d197ba1b50074e54b05e4df0910d
2024-04-29 09:23:03 +02:00
Translation updater bot 36784de660 Localisation updates from https://translatewiki.net.
Change-Id: I6b8670a014d84c805d6fcb5a138a800bcccf96c6
2024-04-26 09:47:58 +02:00
Translation updater bot 717bd593c2 Localisation updates from https://translatewiki.net.
Change-Id: I677e55d52712e36e3fa6fcc35b8975064cb1ed22
2024-04-25 09:17:31 +02:00
Translation updater bot b623a6ab3f Localisation updates from https://translatewiki.net.
Change-Id: I2d976697b9a33221bc97e9a278ddd8ab740c57eb
2024-04-24 09:18:35 +02:00
Taavi Väänänen 734a795fc3
Replace use of deprecated User::isBlockedFromEmailuser()
Change-Id: Ic03e63d4585416fa60f602b3d42faaafe8559118
2024-04-23 19:23:19 +03:00
libraryupgrader 8e3a7b3c93 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: Ia245e8f07787bc640822643889167fc0ac3bf30f
2024-04-17 00:27:42 +00:00
Translation updater bot 863ed27059 Localisation updates from https://translatewiki.net.
Change-Id: Ic8f74fa28ee56c93d868b020ca83901860cea107
2024-04-16 09:27:40 +02:00
Translation updater bot a26ed41663 Localisation updates from https://translatewiki.net.
Change-Id: Ief5c9c074daaac5c5ce3c5950482bc633f044ed6
2024-04-11 09:21:07 +02:00
Translation updater bot 249664cefc Localisation updates from https://translatewiki.net.
Change-Id: Ia7140163464a0933a086a5ebdf1076e91c6c51f8
2024-03-26 08:19:22 +01:00
Translation updater bot 70dc86d7f2 Localisation updates from https://translatewiki.net.
Change-Id: I4172e0bd04080b1bd73d2fd62173984df530fc5c
2024-03-21 08:54:41 +01:00
Dmitry Brant 56e540c606 Add optional parameter to show message if user is blocked.
If a user or IP address is blocked from sending emails, they will not be
able to access the Contact form. For our purposes of account vanishing,
this is problematic because the user will not see any further
instructions on how to proceed with account vanishing, and would instead
see instructions for appealing the block.

This patch provides a simple mechanism for showing a message if the
account or IP is blocked (instead of the default block template), which
may contain other instructions for the user in specific cases like ours.

Bug: T343536
Change-Id: I77b4b049b07f9f1e729a9a0ca6b63a6d15343848
2024-03-19 11:14:01 -04:00
Translation updater bot 561aadc974 Localisation updates from https://translatewiki.net.
Change-Id: I90c432110e3e63db95889d7064654f660f330d6d
2024-03-18 08:30:41 +01:00
libraryupgrader dff675e8f8 build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: Iccc1b02c51d5af528898ffe0c0b44ca70a1406d0
2024-03-17 16:39:35 +00:00
Translation updater bot 4b5850170d Localisation updates from https://translatewiki.net.
Change-Id: Iee04a7e56831d68294f0b2fd4044694938fb5a68
2024-03-11 08:26:37 +01:00
Translation updater bot 63e2bc922a Localisation updates from https://translatewiki.net.
Change-Id: Ib88ecb7ab5075611950e8a3f0b4bbaa05892ef56
2024-02-26 08:35:45 +01:00
Translation updater bot ba3626502f Localisation updates from https://translatewiki.net.
Change-Id: I8c1702b7e67921731b3a3f302aa213c42f6981b5
2024-02-19 08:39:55 +01:00
jenkins-bot e5422cddbb Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()" 2024-02-17 02:42:49 +00:00
Bartosz Dziewoński 0e07661d64 Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994
Change-Id: I0b76d2dd0dc195c6d5562bc3c68e86a54d3867b3
2024-02-17 02:56:21 +01:00
Translation updater bot 7285e71ac9 Localisation updates from https://translatewiki.net.
Change-Id: Ib1d6a1aa1d11d8d3b737c2b93272639694b7e143
2024-02-14 08:18:32 +01:00
libraryupgrader 1895c1d3a9 build: Updating mediawiki/mediawiki-phan-config to 0.14.0
Change-Id: Ie1d125de45bc6d78520fafe8397ce66c59af68d1
2024-02-10 07:57:55 +00:00
libraryupgrader 96e3cf5402 build: Updating eslint-config-wikimedia to 0.26.0
Change-Id: I86c6ed77d183e5f2a489532709e6310ebbe57855
2024-02-09 01:11:32 +00:00
Translation updater bot 1c90e5ccda Localisation updates from https://translatewiki.net.
Change-Id: I9757c2dd9df3d60cc24de4177819acb17d60a6fb
2024-02-08 09:14:53 +01:00
Translation updater bot 6f9b10766f Localisation updates from https://translatewiki.net.
Change-Id: Ibe5dec2966ba25b9d312245eaf4bd27903dc82ce
2024-02-07 08:26:37 +01:00
jenkins-bot fff0fc2376 Merge "Follow-up: Add config options to disable name, email, subject modification" 2024-02-05 18:26:52 +00:00
Translation updater bot 39bde284e0 Localisation updates from https://translatewiki.net.
Change-Id: I5630f9a814639a0775f2e80f32bb038b8235fdb1
2024-02-05 08:49:29 +01:00
libraryupgrader 0572f85741 build: Updating wdio-mediawiki to 2.5.0
Change-Id: I00ea645607baa2279551451bc093b9886b2edc9f
2024-02-03 16:53:34 +00:00
Dreamy Jazz e0dc4dfdc5 Follow-up: Add config options to disable name, email, subject modification
Why:
* Comments were left on the patch merged as
  6012864345 indicating issues with
  the implementation of the patch.
* This follow-up change addresses these concerns, including giving
  a more detailed error description for missing a confirmed email
  address and disallowing invalid configuration.

What:
* Add contactpage-musthaveemail-error-title and contactpage-
  musthaveemail-error which are used instead of noemail and
  noemailtitle for when a confirmed email address is not attached
  to an account.
* Make the following configurations disallowed and to cause the
  contact page to not display:
** 'EmailReadonly' set to true, 'MustBeLoggedIn' set to false,
   and 'RequireDetails' set to true
** 'MustHaveEmail' set to true and 'MustBeLoggedIn' set to false.
* Update the README for changes made, including fixing the listed
  example configuration.

Bug: T324175
Change-Id: I2074c800987c91d53f589ffcc717557e46684092
2024-02-02 00:22:00 +00:00
jenkins-bot d0b2fc651b Merge "Add config options to disable name, email, subject modification" 2024-01-29 21:31:41 +00:00
Wugapodes 6012864345 Add config options to disable name, email, subject modification
On EnWiki, we found that allowing users to change their name and
email allows them to impersonate other users which in our usecase
would be a major problem.

This patch adds the following new config variables:
- NameReadonly: makes the Name field read-only (false by default)
- EmailReadonly: makes the Email field read-only (false by default)
- SubjectReadonly: makes the Subject field read-only (false by default)
- MustHaveEmail: whether to require the sender to have a confirmed
  email for accessing the form (false by default)

If the form allows anyone to submit, these config options do
nothing. If users are required to log in, and these options are set
to true, then these inputs are populated with the username and email
with editing of them disabled.

Bug: T324175
Change-Id: I4820c1effc213a2cba452f00b65c90d287ec2172
2024-01-29 15:35:41 -05:00
Translation updater bot fdf3b3fb4a Localisation updates from https://translatewiki.net.
Change-Id: I63653e60c64c6aaa365396cb355e8cf1dd087e0e
2024-01-28 16:05:55 +01:00
Timo Tijhof 05da34ba85 Update references to namespaced ConfirmEdit extension classes
Follows-up I4c85a2042ae591732b48bbf.

Change-Id: Ib7faf0e686bc250f3332e75b4af3822f15c332a7
2024-01-16 10:59:01 +00:00
Translation updater bot 982213e496 Localisation updates from https://translatewiki.net.
Change-Id: I10fbd0f3336ddec78be6db105f278aacb09acdff
2024-01-11 10:03:00 +01:00
Translation updater bot cae7642f07 Localisation updates from https://translatewiki.net.
Change-Id: I2ac135f19d4a8cc33cb6da73f4358e7f2354427e
2024-01-09 08:59:17 +01:00
Translation updater bot 04e423820b Localisation updates from https://translatewiki.net.
Change-Id: I96f861d5b6aa6f41c07e7d7e398f9898c336be58
2024-01-08 09:15:03 +01:00
Translation updater bot 92f374f028 Localisation updates from https://translatewiki.net.
Change-Id: I9e612694af72617d3364a84b5e8888ff50165be4
2023-12-26 14:42:37 +01:00
Translation updater bot f497f34620 Localisation updates from https://translatewiki.net.
Change-Id: Ia31461f20e820477e45fe631a1c05dfccbeadf38
2023-12-20 14:04:35 +01:00
Translation updater bot 61bc52e189 Localisation updates from https://translatewiki.net.
Change-Id: Iabc7f9f97d9c399bf251bf140f745755f3c7d735
2023-12-18 18:16:50 +01:00
Umherirrender ae025dc602 Use namespaced classes
Done automatically via script

Change-Id: I236c8d3c1b9f083b5c3e64c52ad2df76a635fc5e
2023-12-11 00:12:23 +01:00
Translation updater bot 7c48696622 Localisation updates from https://translatewiki.net.
Change-Id: I0e28ace7996d222f4e3de33bf8fbad9b256217b0
2023-12-04 09:03:48 +01:00
gerritbot 62d7c63346 Update UserOptionsLookup's FQN
User-options related classes are being moved to the MediaWiki\User\Options namespace in MediaWiki Core; reflect that change here.

Bug: T352284
Depends-On: I9822eb1553870b876d0b8a927e4e86c27d83bd52
Change-Id: I500e8e241f1ef7ab3f1bc309371d534d3f3e573d
2023-11-29 12:38:34 +00:00
Translation updater bot e80e879c95 Localisation updates from https://translatewiki.net.
Change-Id: Id4def644018191df3eb413f6abb03ad0441107ff
2023-11-27 08:32:02 +01:00
Translation updater bot e36556c2c3 Localisation updates from https://translatewiki.net.
Change-Id: I9582d59716439ecbc57138a62739000d04d061dd
2023-11-22 08:19:45 +01:00
Translation updater bot b91ed8313f Localisation updates from https://translatewiki.net.
Change-Id: I3b92fd4d856849f334750e55edc796ed0c2a1a0f
2023-11-20 08:51:09 +01:00
Translation updater bot 69fda88d18 Localisation updates from https://translatewiki.net.
Change-Id: Idf82c2fd64858c01b9b1f20390feff16dbdfad15
2023-11-06 08:55:58 +01:00
zoranzoki21 c43d62e054 ContactPage.alias.php: Add alias for Serbian (Latin script)
Bug: T349951
Change-Id: Ic17a76a51087cb96524146b2b2351e28fefcf024
2023-10-28 14:17:21 +02:00
Translation updater bot 135b0a9dfa Localisation updates from https://translatewiki.net.
Change-Id: I9f45eb37b61b5f574fae7e4487460cb1ddd61daf
2023-10-23 09:50:27 +02:00
Ed Sanders d797ea28c6 build: Update linters
Change-Id: Ifebf6249a7b1b2bc909f9944895dfe680e7e1397
2023-10-20 11:14:48 +01:00