Commit graph

6577 commits

Author SHA1 Message Date
DannyS712 ca2a08a919 Delete empty translation files
Change-Id: I6a78c4005c30e27e539c1f79dde47c118508109c
2021-04-08 02:04:26 +00:00
Translation updater bot f6d71ce1a9 Localisation updates from https://translatewiki.net.
Change-Id: I5500eef68878af7040f97ea0bd73dc8b86c5c463
2021-04-07 08:51:34 +02:00
Translation updater bot 8ecb047b60 Localisation updates from https://translatewiki.net.
Change-Id: Ib3fbd43f2c01441844f39e8becc9cbab412f8bd0
2021-04-06 12:02:09 +02:00
jenkins-bot df47c71874 Merge "EchoHooks: Skip onOutputPageCheckLastModified on action=raw" 2021-04-03 10:51:55 +00:00
Timo Tijhof cc50ae633d EchoHooks: Skip onOutputPageCheckLastModified on action=raw
Bug: T279213
Change-Id: I9d3bf664f86c6dba5cc526a17bfab10303e0267d
2021-04-02 23:39:31 +01:00
Translation updater bot 11cef5c851 Localisation updates from https://translatewiki.net.
Change-Id: Ia7e6034ad558dfbab850321083ae2ca2d9ca962b
2021-04-02 09:48:39 +02:00
Reedy 9f3596c90f Remove en-gb.json
Bug: T257759
Change-Id: I98c1ac1f872166f9c9592955f4a3720bfd760b58
2021-03-31 20:52:15 +01:00
libraryupgrader 806b9c34d8 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I563abc38b4775ff6e8b9bbd7f2060d7c17b06f08
2021-03-30 00:50:56 +00:00
Translation updater bot 02b217db53 Localisation updates from https://translatewiki.net.
Change-Id: I6a89e5f3c5fe8c17bf93e1273075f776fa7840ce
2021-03-29 08:35:59 +02:00
Umherirrender dbce3cc026 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Fixed a suppressed sniff issue

Bug: T278594
Change-Id: I5a3ae09cd0dd6a27699557e472d2ff74ef03a731
2021-03-27 01:04:58 +01:00
Translation updater bot e7e5d525c4 Localisation updates from https://translatewiki.net.
Change-Id: Ida2c8698d17dadd783121ebf85d628e48734f95f
2021-03-26 08:49:48 +01:00
Translation updater bot c70809c1c9 Localisation updates from https://translatewiki.net.
Change-Id: I4dc46bcf825c414d34cd60ef06981a1f2d44929c
2021-03-25 08:40:54 +01:00
Translation updater bot 2aaef5f79c Localisation updates from https://translatewiki.net.
Change-Id: I0b0a4de19291b088590fabf43d851e917a282dd6
2021-03-24 08:29:57 +01:00
Translation updater bot 8994796055 Localisation updates from https://translatewiki.net.
Change-Id: I1534b77794361e408d4b888e0a2c3ebdf76469c6
2021-03-23 08:24:45 +01:00
jenkins-bot 68bd2743f1 Merge "TitleFactory is not @newable, retrieve from MediaWikiServices" 2021-03-22 07:49:54 +00:00
Translation updater bot 792bc9923c Localisation updates from https://translatewiki.net.
Change-Id: Ieb560df93a5b15ec8fff7294bca1d196cb5dd0f2
2021-03-22 08:36:26 +01:00
DannyS712 acfa4e2f76 TitleFactory is not @newable, retrieve from MediaWikiServices
For creation of MultiTitleFilter

Change-Id: Ic527359d31fc0116a23c3173ba0f66f4bdfe3067
2021-03-21 23:54:55 +00:00
jenkins-bot 9b6b5ecbe0 Merge "Introduce 'EchoGetEventsForRevision' hook" 2021-03-19 18:38:32 +00:00
Translation updater bot 3dc2931f0b Localisation updates from https://translatewiki.net.
Change-Id: I8a70d6f1c65998c92065b079763051ce4c2a21de
2021-03-19 08:25:02 +01:00
Ed Sanders 756b02b566 Introduce 'EchoGetEventsForRevision' hook
Collect event data and allow modification by a hook.

This allows extensions to look at the events generated so far,
add more events, or remove events.

Bug: T276990
Change-Id: I60818d57552946857077dee93b0adb036621b791
2021-03-17 21:59:13 +00:00
Bartosz Dziewoński 43747e5b0b Remove redundant check
$wgEchoNotifications is checked inside EchoEvent::create(). Similar
code (e.g. onRollbackComplete() in this file) does not check it.

Change-Id: I2be05ae182c3fd5d90b87e9579f8c2aa6b79c655
2021-03-17 12:50:45 +01:00
Translation updater bot 906146ac79 Localisation updates from https://translatewiki.net.
Change-Id: If71332dc47bff1f122039be77ffccc1092a9c271
2021-03-15 08:40:19 +01:00
libraryupgrader feb9aabfdb build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I93d36e1a2962cc3dedde09064b7a43c386a0af7f
2021-03-13 11:49:48 +00:00
jenkins-bot a2933f5c8b Merge "Unset user-to-user email option when user emails are disabled" 2021-03-12 09:29:40 +00:00
Translation updater bot 2c485950b3 Localisation updates from https://translatewiki.net.
Change-Id: Ib1fa9feda0eb612fba93aa3b4ea5ca1795f379e5
2021-03-11 08:37:05 +01:00
jenkins-bot cd663b0fac Merge "TalkPageFunctionalTest: Only count our own events" 2021-03-09 09:01:34 +00:00
mech 2d8085bd15
Unset user-to-user email option when user emails are disabled
When one of the $wgEnableEmail and $wgEnableUserEmail variables is
false, "Email from other user" option should not be shown in
preferences.

Bug: T266087
Change-Id: I38e439b778d2679967776757d8e0d3b63519612e
2021-03-08 23:20:07 +01:00
Translation updater bot 49530fddca Localisation updates from https://translatewiki.net.
Change-Id: I4b19a991fda10ff3225acf919499d9dbe517ea68
2021-03-08 08:46:10 +01:00
libraryupgrader 5e5b07d333 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I671235f3fc2898168d5b74cba18b59915a4ffd3a
2021-03-06 14:54:17 +00:00
jenkins-bot 29cd094a6c Merge "Do not directly construct UserrightsPage in tests" 2021-03-05 10:11:57 +00:00
Translation updater bot c2cf44126c Localisation updates from https://translatewiki.net.
Change-Id: If1509808f960ec2c3c05d704738b285aecc8a6fd
2021-03-05 08:55:39 +01:00
Petr Pchelko f4ea1fd8d7 Do not directly construct UserrightsPage in tests
Directly constructing SpecialPages is bad, they're not @newable
and core can change constructor signatures without deprecation
and break the tests.

Change-Id: Ifc82d29a00d3fd136c44e0699e6bbfa11b8cf2a6
2021-03-04 15:17:11 -07:00
jenkins-bot e2212d9105 Merge "Avoid using User::isBlocked" 2021-03-04 16:42:40 +00:00
Bartosz Dziewoński 7dbc4f6ce8 TalkPageFunctionalTest: Only count our own events
We're working on code in DiscussionTools that generates Echo events for
adding talk page comments (I7e0996843cdd70141e19d5c7ce66122204efa1b7),
and it was causing this test to fail.

Change-Id: I3099473a3113962911b9c77ede290142857a51b2
2021-03-04 16:29:57 +00:00
Translation updater bot 571437ec99 Localisation updates from https://translatewiki.net.
Change-Id: I0a204af8356fa9d4e243f49399230fbc8e9574c4
2021-03-04 08:38:05 +01:00
jenkins-bot c6e2651688 Merge "Set icon size in bundle to exactly 20x20" 2021-03-03 23:49:21 +00:00
Ed Sanders 2bbae62aa3 Set icon size in bundle to exactly 20x20
1.5em would render as 21px in Vector and 19.05px in monobook.

Bug: T276114
Change-Id: Ie31f83e849ae5a4b17f28dfe6ccabc8a2005c919
2021-03-03 23:19:44 +00:00
vladshapik 92d41cac00 Avoid using User::isBlocked
Remove using of User:isBlocked since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T276371
Change-Id: Ibcb9071ce2df2733ee5bd87e077b3c0d034d1212
2021-03-03 21:39:10 +02:00
jenkins-bot 150fdba4cf Merge "Avoid using User ::getCanonicalName" 2021-03-01 20:16:02 +00:00
jenkins-bot 55942a49d2 Merge "Remove deprecated User method getGroups" 2021-03-01 19:59:35 +00:00
vladshapik e0d64d00d0 Avoid using User ::getCanonicalName
Remove using of User::getCanonicalName since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T275030
Change-Id: Id708800bc709de175bc7c6acc422368a734b00f1
2021-03-01 19:50:14 +00:00
vladshapik 325f542d9c Avoid using User::addGroup
Remove using of User::addGroup since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T276094
Change-Id: Ib074ca906d31a02ca241296b32416ffb30e90e4f
2021-03-01 17:01:31 +02:00
Translation updater bot 0b16eff940 Localisation updates from https://translatewiki.net.
Change-Id: I289db7594067f16c9296a877d9cdd469dd884bec
2021-03-01 08:51:32 +01:00
Jeena Huneidi 008ad5afe1 Remove deprecated User method getGroups
Replaces the deprecated user method getGroups with
UserGroupManager->getUserGroups.

Bug: T275148
Change-Id: Ie6215886c911382008b667e8e5b3298facfcd6a2
2021-02-26 21:47:58 -08:00
jenkins-bot ac8d21d2a1 Merge "Make AttributeManager a service" 2021-02-26 23:45:26 +00:00
Jeena Huneidi 596729d852 Make AttributeManager a service
Adds AttributeManager to EchoServices so that dependencies of
AttributeManager can be injected.

Bug: T275148
Change-Id: I4fa5084d72914d16b6d218e7dd3521f5a1919b80
2021-02-26 12:58:23 -08:00
Translation updater bot 73103f6e11 Localisation updates from https://translatewiki.net.
Change-Id: Ic2bed633329cdbfc0f6f72a548641ded5a150ad7
2021-02-26 08:56:12 +01:00
Translation updater bot 9428ab3e77 Localisation updates from https://translatewiki.net.
Change-Id: I7dd9bdc0ba1fcf6ab702e996e974ca5b4ad6a3df
2021-02-25 08:38:27 +01:00
vladshapik 107c0dfccd Avoid using User::IsIP
Remove using of User::isIP since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T275602
Change-Id: Ic1749cbad92bfe0eeae40736403fd5ceb6d504e8
2021-02-24 15:31:50 +02:00
Translation updater bot fca6b71a44 Localisation updates from https://translatewiki.net.
Change-Id: I255ba10e2585165e11b1c55fcdd8436d55e19632
2021-02-24 08:51:21 +01:00