Commit graph

6466 commits

Author SHA1 Message Date
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
Ed Sanders c5aba7e62c UserLocator::locateUsersWatchingTitle: Avoid confusing re-use of variable name
Change-Id: I5826fe7c4ecd15907dc63c5afd6e777637d32c8a
2021-02-23 16:36:17 +00:00
Translation updater bot 9f13424ecc Localisation updates from https://translatewiki.net.
Change-Id: I37935a35867dda68a5a65101b009f2444617807c
2021-02-23 08:48:11 +01:00
Translation updater bot b3160603a2 Localisation updates from https://translatewiki.net.
Change-Id: I091c82046f9b157cc788084986e61e37d0b91ce3
2021-02-22 08:51:44 +01:00
Kosta Harlan 0805daf1c2 Echo::create: Convert UserIdentityValue to plain User
Bug: T275161
Change-Id: I28c8494ee557a67ea54dcab2ea9955561e8c2472
2021-02-18 20:31:35 -08:00
vladshapik aac1986c3b Clean up Title deprecated methods
Replace hard deprecated getPreviousRevisionID method with RevisionLookup::getPreviousRevision method

Bug: T274151
Change-Id: Ia6ec1a4765ba5849b53919a6e9d73df7e839f6ed
2021-02-18 14:45:20 +02:00
Translation updater bot 9ac3c667ba Localisation updates from https://translatewiki.net.
Change-Id: I1acc88f793a493e39a91e59904155167663c5250
2021-02-18 08:42:45 +01:00
Kosta Harlan 294ed3c2cb ForeignWikiRequest: Guard against bad response
See also I4dde4e3bb4ff2ea8b7669bb18b2689410e5e7713

Bug: T274408
Change-Id: I3ab7d0a4b58a150fe940bc8441b5fb127142ad9f
2021-02-17 10:11:10 +01:00
Translation updater bot e147f4fa5c Localisation updates from https://translatewiki.net.
Change-Id: Ib2f4073cf980367efd1eb019e0de159ffcc1f31a
2021-02-15 10:05:01 +01:00
Translation updater bot 492842eb31 Localisation updates from https://translatewiki.net.
Change-Id: Id332ebf3f7ecaf35fc3335f747a085c7865e3ff0
2021-02-12 08:51:30 +01:00
Translation updater bot e7599387e8 Localisation updates from https://translatewiki.net.
Change-Id: I4fafbf6162815e081589649002e639c3111ef26d
2021-02-11 08:38:38 +01:00
Translation updater bot 1d6a2bc5c7 Localisation updates from https://translatewiki.net.
Change-Id: I1a478f4849c3d75d514040656b2c03cf137aaa86
2021-02-08 08:40:36 +01:00