James D. Forrester
da2fbe366f
Switch uses of IDatabase to namespaced version
...
Bug: T344536
Change-Id: I6f4b158bdc3ef20a1660e66accca0ffc17104f49
2023-08-19 15:01:58 +00:00
gerritbot
84e0d10abd
Replace some moved Title class uses, now MediaWiki\Title\Title
...
Bug: T321681
Change-Id: I19ff201e3a109d5f6b755c6c0857f7b22d08d26d
2023-08-19 16:43:18 +02:00
James D. Forrester
1c39c66d2b
build: Update MediaWiki requirement to 1.41
...
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.
Change-Id: I7d91b7cc9929f0b2277bf3955d7f15e38b20f05b
2023-08-19 13:15:32 +08:00
Amir Sarabadani
12a5a48892
Fix phpcs error
...
Change-Id: I6ac134c280e4e36b3935f9b095d26400ba27d2af
2023-08-19 04:53:14 +02:00
Reedy
8f44150300
And a few more namespaced classes...
...
Change-Id: I57b56d285bac4b41e81f656f3c1ddceee4620fb5
2023-08-18 22:27:18 +01:00
Reedy
b003945c34
Namespace a few more classes
...
Change-Id: Ie233a4c8291432da3bd25d29337db52a2e97b540
2023-08-18 21:48:15 +01:00
Reedy
e576cbdca0
Namespace some more classes
...
Change-Id: If1405788a4adb550e8a7e8c58b0c2c55cf10ea67
2023-08-18 21:24:59 +01:00
Reedy
1bc5b6daf8
Namespace classes that need aliases
...
Change-Id: Ieeeaf80d04b060d6dbca1959d5e66f4c69c5a7f2
2023-08-18 19:00:41 +01:00
Martin Urbanec
84a32adb92
EchoEventPresentationModel: Use userTemporary for temp accounts
...
Bug: T338912
Change-Id: Id4c7dc1506f2f5e4981a19664061503ccb9d802f
2023-08-18 10:31:38 +02:00
Translation updater bot
335a99676d
Localisation updates from https://translatewiki.net .
...
Change-Id: I83f3f336628afe98281bfdaeaf1064be0cfc20c6
2023-08-18 09:08:05 +02:00
Jon Robson
75b6465876
Drop dead code
...
This code has been moved to Minerva and is no longer serving any
purpose. The handlers are replaced with an already standardized
mw.hook for Minerva to subscribe and respond to.
Bug: T342907
Depends-On: I55c18cf723a32f80b93a01dd0687e005162c4e93
Change-Id: I2f923e509d24524a2375ffbe6b3ef336487574bb
2023-08-17 13:05:12 -05:00
Translation updater bot
0285c7862b
Localisation updates from https://translatewiki.net .
...
Change-Id: I9db3d3a1828d79cf1106daf50f20ee9fd37587ea
2023-08-17 12:09:49 +02:00
Ed Sanders
e34220d984
Use shorthand array syntax in comment blocks
...
Change-Id: Ic5785a473f6db8c0f7ef6aae8260c61f78a07304
2023-08-16 18:12:07 +01:00
Translation updater bot
fba11a49da
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifeb6cc28469a204b95f94d714f2e0ecf991b43fe
2023-08-16 09:11:35 +02:00
Umherirrender
8218e2aa23
Use HookHandlers for UserMerge hook
...
Bug: T315938
Depends-On: Ib78dae49854863af1a37a00636737c94694776ae
Change-Id: I948ef262b9c6f546244e64a62775068bfce79b69
2023-08-16 05:30:19 +00:00
jenkins-bot
078788f411
Merge "Create HookRunner class and the hook handler interfaces"
2023-08-16 05:26:06 +00:00
jenkins-bot
4da2ea7a18
Merge "Use HookHandlers for remaining core hooks"
2023-08-16 01:50:05 +00:00
Umherirrender
63efbc5fd1
Use HookHandlers for remaining core hooks
...
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.
Bug: T315938
Change-Id: I84027e2899b4a013b78fe4e95f191f1e4c89b5f8
2023-08-16 09:19:22 +08:00
jenkins-bot
2edfae4cbd
Merge "Targets no longer needed in Echo"
2023-08-15 20:49:26 +00:00
WMDE-Fisch
5f7c26c764
Targets no longer needed in Echo
...
All match current default.
Bug: T328497
Change-Id: Id0e78ee4c62241603198727cb663843d7b1ca553
2023-08-15 19:53:53 +02:00
Daimona Eaytoy
ef50bfeda5
Make Title and Revision caches proper services
...
Singletons are bad, amongst other reasons, because they're never reset
in tests. They can therefore occasionally cause test failures if the
cached data stored in one of these singletons becomes stale.
As noted on the task, ideally these two classes shouldn't exist at all,
and core should be responsible for caching the information it deems
expensive to compute.
As a temporary (TM) workaround, make both classes actual services, so
that the setUp/tearDown logic in MediaWikiIntegrationTestCase can
properly reset them between tests.
Dependencies are intentionally not being injected, precisely because
these classes should just be deleted, not improved.
Bug: T344124
Change-Id: I58b8d9610f9447468235b94d25732528ab6acce6
2023-08-14 17:41:23 +02:00
Translation updater bot
3a4578c456
Localisation updates from https://translatewiki.net .
...
Change-Id: I5c10993ec34c291bed5d5d586329c522aedadf1f
2023-08-14 09:17:33 +02:00
Umherirrender
9de512d59c
tests: Resolve phpunit filename deprecation errors
...
PHPUnit wants the filenames of the tests to match the class name being
tested.
Bug: T337333
Change-Id: I44f626d1bfdf151fecafc29c51b2cf2bb90481b0
2023-08-12 21:07:15 +02:00
Translation updater bot
154acac786
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a0fbf70cf65c6e8579643c73cbf49659beead3b
2023-08-11 09:00:09 +02:00
C. Scott Ananian
26aeebd301
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
...
Bug: T343994
Depends-On: I384a12bdb66dfc8fa6650e76e27c671fae5163d6
Change-Id: I1464c9f7db3b30ad9bb12377cc39cfcd5d540f78
2023-08-10 16:28:23 -04:00
Jon Robson
c50d129b02
Disable Echo behaviour on Minerva desktop
...
Bug: T342907
Change-Id: Ibd311593eb7f153ff0dea8aad516759d54cc1cd2
2023-08-08 10:47:19 -07:00
Translation updater bot
0974aebf1d
Localisation updates from https://translatewiki.net .
...
Change-Id: I50df240fcb2896c997ae6072ea692b2d4cb49815
2023-08-08 09:00:52 +02:00
Daimona Eaytoy
9f44f98e81
Do not assume what user IDs might be in DiscussionParserTest
...
The test was assuming that the ID 1 belongs to a user other than the one
being created in the test. This is not necessarily the case, so make it
use an ID that is guaranteed to be different.
Also rename the test fail to avoid a PHPUnit deprecation of test class
name not matching file name.
Bug: T342428
Change-Id: Ied1869e380b023c1a726a5be610e1de1b68c78c0
2023-08-07 16:27:28 +02:00
Translation updater bot
9ad06f78b6
Localisation updates from https://translatewiki.net .
...
Change-Id: I31b5ad5938849dc9578d2cb1bf3a7fdb54a18f22
2023-08-07 08:38:16 +02:00
Daimona Eaytoy
f7b0638ff0
Mock DB services in NotificationTest::testNewFromRowWithException
...
The test doesn't need the database, but it's currently trying to use it.
Mock all services used by EchoDbFactory to avoid that (the Factory
cannot be mocked directly because it's created with a static method and
not injected).
Change-Id: I359489ed3f8de6e868a590d5c7c02f81f0a2049d
2023-08-06 22:48:58 +02:00
Umherirrender
e52a792060
Create HookRunner class and the hook handler interfaces
...
Bug: T315938
Change-Id: Iffa2b409502b4269c9746e0304feb4aaee37a86e
2023-08-06 10:30:46 +00:00
jenkins-bot
c1d81f724f
Merge "Replace deprecated Linker::formatComment"
2023-08-06 07:17:44 +00:00
jenkins-bot
7d765515b7
Merge "Avoid DB access in non-Database tests"
2023-08-05 04:17:03 +00:00
bwang
a5d62502ad
Finish updating echo tests to use new MobileFrontend icon class
...
Change-Id: I304f894c7b55544b7907ee81525604811db6e8e1
2023-08-04 13:41:17 -05:00
Translation updater bot
8294a154b0
Localisation updates from https://translatewiki.net .
...
Change-Id: I3b0a9c28bda8585d62c6417f4b1d46f774aca7cb
2023-08-04 09:20:22 +02:00
Daimona Eaytoy
713f60aaa5
Avoid DB access in non-Database tests
...
Use mocks when possible, and add the test to the Database group
otherwise.
Also rename 2 test files to avoid a PHPUnit deprecation of file name not
matching class name.
Change-Id: I16b2392daf01f63511c82b4ed0e67a38e35ddbe1
2023-08-04 02:31:24 +02:00
Umherirrender
9017ad5d76
Replace deprecated Linker::formatComment
...
Bug: T324906
Follow-Up: Ibe0092a96d96f6fa9d93991418b723f3e70e1b75
Change-Id: I375fe9114429057f7a0220fee50cb75d4e39864b
2023-08-03 23:37:32 +02:00
Translation updater bot
8a3f47e070
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaa22f93e9c77828022d4cb53026dc2e91aa8299e
2023-08-03 08:48:28 +02:00
jenkins-bot
ba4fa27bd9
Merge "Update notification badge to not rely on mw-ui-icon"
2023-08-02 21:44:24 +00:00
bwang
ddaf43c5a0
Update notification badge to not rely on mw-ui-icon
...
This will essentially all be deleted after I55c18cf723a32f80b93a01dd0687e005162c4e93, but thats fine\
Bug: T343053
Change-Id: Ifb382af388cdc24dc1ecef105ec89c9129194c19
2023-08-02 19:10:34 +00:00
gerritbot
db44be03bb
Migrate ILB::getConnectionRef() calls to ILB::getConnection()
...
Deprecated since 1.39 (I6e7544763bd)
Bug: T343277
Change-Id: Ia5dd9a2db1d00148fe84e5ba791fd073368adcc4
2023-08-01 20:58:25 +00:00
jenkins-bot
562ffe2dab
Merge "Revert "Fixes: Echo notification count disappears on load in mobile skin""
2023-08-01 09:14:25 +00:00
Urbanecm
c6dd920800
Revert "Fixes: Echo notification count disappears on load in mobile skin"
...
This reverts commit 38c26f66d0
.
Reason for revert: causes T343192
Bug: T335273
Bug: T343192
Change-Id: I807c2b35bba86c2905931b61e9ef9d726d60a1da
2023-08-01 08:56:59 +00:00
Translation updater bot
88eeacf012
Localisation updates from https://translatewiki.net .
...
Change-Id: I855c34c77a16840571fb891595b63a9575a6868a
2023-08-01 08:36:27 +02:00
jenkins-bot
1a50f5041f
Merge "Fixes: Echo notification count disappears on load in mobile skin"
2023-07-31 20:01:31 +00:00
Translation updater bot
eac8f2b4e4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ied37b044122f2da218e0ce05bb1f7b5e53df8924
2023-07-31 08:57:22 +02:00
Jon Robson
38c26f66d0
Fixes: Echo notification count disappears on load in mobile skin
...
Bug: T335273
Change-Id: Ife0f3093c145d10e2432d3130ba71b03cc4817a1
2023-07-28 18:52:59 +00:00
bwang
d002532295
Update Echo to use MobileFrontend IconButton.js
...
Bug: T340262
Depends-on: I186e3d22aa9c2b331a80d35514d578949a4b9e86
Change-Id: I415f5092df5b757576a67b612a7691e9038a696f
2023-07-26 21:05:43 +00:00
Translation updater bot
24d6ddcc1b
Localisation updates from https://translatewiki.net .
...
Change-Id: I07c07566a6056a6f16ccb50f6f403ad9a82659d0
2023-07-26 10:26:44 +02:00
Translation updater bot
c82f9d046f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia1ca448e29522e54e2772e4c38903238fbf15d87
2023-07-24 09:37:22 +02:00