Commit graph

6952 commits

Author SHA1 Message Date
Translation updater bot 847ca35eb6 Localisation updates from https://translatewiki.net.
Change-Id: I35fb94ac99332d9c3a8860a511d0f1bb758dc3b2
2021-07-19 08:15:39 +02:00
Matěj Suchánek 3f05f8a71b Drop unused property and inject a service to SpecialDisplayNotificationsConfiguration
Change-Id: I0f238b863638245eef381e540da7d610d01bd25b
2021-07-17 10:40:45 +00:00
jenkins-bot a6dbadb006 Merge "Avoid using User::setOption()" 2021-07-17 10:29:45 +00:00
ZabeMath 3befbe0a69 Avoid using User::setOption()
User::setOption() is deprecated and should be replaced with UserOptionsManager::setOption()

Bug: T277818
Change-Id: I001301fb95635c421a0bbb921fd909c5312dc896
2021-07-17 09:52:53 +00:00
jenkins-bot 31b5c6a526 Merge "Add icon property to echo link data for modern Vector" 2021-07-16 19:15:46 +00:00
bwang fbde7bd61b Add icon property to echo link data for modern Vector
Bug: T285259
Change-Id: I995f877a6e8574a519aedece31e7889b9735366a
2021-07-16 15:05:29 +00:00
Translation updater bot 8cb1c60547 Localisation updates from https://translatewiki.net.
Change-Id: I090eea8fc6b8edd2ee8663e2f791f32fb1ffa5d1
2021-07-16 08:43:26 +02:00
jenkins-bot cadd47489a Merge "Remove use of global $wgUser" 2021-07-15 04:06:56 +00:00
Translation updater bot 2523b82598 Localisation updates from https://translatewiki.net.
Change-Id: I753f5f45b69b276bcb7324ec5dc1757779d28056
2021-07-14 08:02:48 +02:00
DannyS712 3269afae8e Remove use of global $wgUser
This partially reverts commit 83a181ce9c
and fully reverts 82896eff62

To avoid regressing to the errors from T139665, check if the user
retrieved from RequestContext::getMain()->getUser() is safe to load
instead of $wgUser, still in addition to the other checks that
EchoForeignWikiRequest::$user is safe to load.

Bug: T243732
Change-Id: I22c4918fc7e8b3d1364a95de3958c055059971b8
2021-07-14 04:57:34 +00:00
jenkins-bot 9cf347019b Merge "Add DS_Store to gitignore" 2021-07-13 21:44:19 +00:00
jenkins-bot fa8331294b Merge "Hardcode talk alert id to be pt-talk-alert" 2021-07-13 19:42:47 +00:00
bwang eefea58979 Add DS_Store to gitignore
Change-Id: Ied30753510ae46a4710d319e4f7815ce85829e39
2021-07-13 13:58:44 -05:00
bwang 2bf4047410 Hardcode talk alert id to be pt-talk-alert
Bug: T285442
Change-Id: I3b46a494682b3b5055f525c0c1219a1710655ce5
2021-07-13 13:58:06 -05:00
jenkins-bot bfcbfff6f6 Merge "Drop DB patches from pre MW 1.26" 2021-07-13 13:52:27 +00:00
Translation updater bot 57def66cd5 Localisation updates from https://translatewiki.net.
Change-Id: I7b0ec7c3a740d0c894a1a32f65b1c665e91dccb4
2021-07-13 08:11:39 +02:00
jenkins-bot 7cb32579c7 Merge "Simplify code for detecting rollbacks" 2021-07-12 23:04:20 +00:00
jenkins-bot 98d7428837 Merge "Avoid using ContentHandler::getContentText()" 2021-07-12 14:22:05 +00:00
Translation updater bot fb853419ec Localisation updates from https://translatewiki.net.
Change-Id: I54a1df4355a405a019f7c1c8fb941ebb4db17e23
2021-07-12 08:06:23 +02:00
Translation updater bot 742da14e75 Localisation updates from https://translatewiki.net.
Change-Id: Ic0578bab45c5d63eb258d2906d9d818a7ee7c7de
2021-07-07 08:07:52 +02:00
Translation updater bot c456d8e80f Localisation updates from https://translatewiki.net.
Change-Id: I8b99ccb3e47aa4adcb3f22f387b787ba5f789d39
2021-07-06 08:38:24 +02:00
Translation updater bot e2fd0ddf62 Localisation updates from https://translatewiki.net.
Change-Id: I8d6aa0eb1b6a23484968b9223ed8a306da8f7967
2021-07-05 08:06:48 +02:00
Petr Pchelko 64531785a6 Prepare for CentralIdLookup returning UserIdentity
Needed-By: I67bf4f2442269b8aa1002868ede9a71a5ca43a84
Change-Id: I4c2170a25ea8b1cf5410a4648ebec66a3ab253f3
2021-07-02 09:12:20 -07:00
Translation updater bot 590a7d502e Localisation updates from https://translatewiki.net.
Change-Id: I1c5027009d820331adc83d8574d094119a51b990
2021-07-02 08:31:08 +02:00
mbsantos 2f21c2649e push: document description of topic parameter
Bug: T285573
Change-Id: I875681ca3bdfe006d68b15f3cffc0089c9677ef1
2021-07-01 16:10:00 +02:00
Translation updater bot 3ec28cda42 Localisation updates from https://translatewiki.net.
Change-Id: I4d9790170a4947f6e59a1a782a7f6a418a427730
2021-06-30 08:26:03 +02:00
jenkins-bot 31d115e9f3 Merge "Remove probably outdated error suppression" 2021-06-29 17:49:35 +00:00
Matěj Suchánek 4b4954ac40 Remove probably outdated error suppression
https://bugs.php.net/bug.php?id=50688 was closed as fixed
in 2017 when PHP 7.0 was only supported upstream.
We already require PHP 7.2.

Change-Id: Ie9801e38915da634e31c91ebdcb61226e0ae5712
2021-06-29 17:29:23 +02:00
DannyS712 0099c45e54 AttributeManager: accept UserIdentity objects
Inject a UserOptionsLookup to replace deprecated
User::getOption()

Change-Id: I177f6d3486f987073e5d745077f0abfe9ae85aca
2021-06-29 06:41:47 +00:00
DannyS712 66a290500c EventLogging: accept UserIdentity objects
Replace User::getEditCount with UserEditTracker service

Change-Id: Idcf98dc6b1e88f9301b731b1d8296f613464a364
2021-06-29 06:12:59 +00:00
DannyS712 2e1757eaaf NotificationMapper: accept UserIdentity objects
No need for a full User, only the user's id is retrieved

Change-Id: Ibf4005c83d66d846b7e1ab711cd135c9ae08964a
2021-06-29 05:53:41 +00:00
jenkins-bot 39afffb297 Merge "Use WikiPage::doUserEditContent() instead of ::doEditContent()" 2021-06-28 14:06:34 +00:00
Translation updater bot eca40e5386 Localisation updates from https://translatewiki.net.
Change-Id: I470e0c5b9d68fa18fd9e0b22062f829c64521d51
2021-06-28 09:23:00 +02:00
Reedy 5d4a012d48 Drop DB patches from pre MW 1.26
Change-Id: I6693239455a2696b7bb77841041204b75a3c99fb
2021-06-27 23:16:03 +00:00
Reedy 532faf27f5 Reorganise MySQL/SQLite patches
SQL files that are MySQL/SQLite specific have been moved to subfolders

Change-Id: Ib677815f2fb6a4e3aa0236a31160efaf761ad4ef
2021-06-26 16:24:14 +00:00
jenkins-bot 7b0abf6d84 Merge "Echo notification oo-ui-popupWidget-anchor should point to icon" 2021-06-24 17:58:14 +00:00
Translation updater bot 932764747b Localisation updates from https://translatewiki.net.
Change-Id: I76a629365f03f4563af2065a025c7a7eb927b68e
2021-06-24 08:26:57 +02:00
DannyS712 68f7a9a985 Use WikiPage::doUserEditContent() instead of ::doEditContent()
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Extension
already requires MediaWiki 1.37+, so the method is always
available.

Bug: T255507
Change-Id: Iee5de356dbccd453a3083e0a58859b4cd83a946b
2021-06-24 05:30:07 +00:00
jdlrobson 088697a73d Echo notification oo-ui-popupWidget-anchor should point to icon
In Vector, these rules result in the anchor pointing to the wrong
place. They seem to be improve things in Minerva, so these are restricted
to that skin.

Bug: T276566
Change-Id: If871ab59fea519b48568781ffd9ddf6640006385
2021-06-23 08:47:09 -07:00
Translation updater bot 7d39fca924 Localisation updates from https://translatewiki.net.
Change-Id: I84f2d2c40464352cfae7dd4eae7c88052a3ff674
2021-06-22 08:09:24 +02:00
jenkins-bot 19f34998ab Merge "Localisation updates from https://translatewiki.net." 2021-06-21 13:19:18 +00:00
Translation updater bot 22b37883a1 Localisation updates from https://translatewiki.net.
Change-Id: I0c8c4d2dfae8712d4729826854f8e5e400d00faa
2021-06-21 14:11:38 +02:00
Amir Sarabadani 6a1a86223c Replace class_exists with ExtensionRegistry
Bug: T274275
Change-Id: Id84c112ee94161b9be9c9d8565af235b5a33d7ef
2021-06-21 14:04:13 +02:00
Translation updater bot f6aa3d4498 Localisation updates from https://translatewiki.net.
Change-Id: Iad2233b9a8ac1909beed9a6b9ef88bd83ba1542f
2021-06-18 08:20:46 +02:00
Translation updater bot ea5a353805 Localisation updates from https://translatewiki.net.
Change-Id: Ia069e2b4d1871199c7bd19c0898927bc993a4125
2021-06-17 08:20:35 +02:00
Translation updater bot d1cc45fc0a Localisation updates from https://translatewiki.net.
Change-Id: If8a491d7cbec60a1b54d51100072b134871f737c
2021-06-15 08:32:32 +02:00
Translation updater bot 20bbc41e56 Localisation updates from https://translatewiki.net.
Change-Id: Icb1ebb103c23ae3ecfe70002dd154bde78d0954f
2021-06-14 08:36:48 +02:00
Translation updater bot aaf14546b5 Localisation updates from https://translatewiki.net.
Change-Id: I9dc88ba342663b1b5b474d69faca4cc285aa582f
2021-06-11 08:33:25 +02:00
Bartosz Dziewoński f2da1ff813 Fix MonoBook orange banner hover styles
Follow-up to 2583f803c3.

Bug: T284496
Change-Id: Ib476d28fc2a89a7722b6218a5fe557157c863d7d
2021-06-08 17:54:09 +00:00
Jan Drewniak 6ccbea0d5a Set .mw-echo-alert class on link instead of list-item
Update to 7880cc18, restores ".mw-echo-alert" class on "class" property
instead of on "link-class" property.

Bug: T284496
Change-Id: I11a04fa5a7e9d0b34e62733ee537a43549d13477
2021-06-08 13:29:59 +02:00