Commit graph

6903 commits

Author SHA1 Message Date
Translation updater bot bfa4f7bbd0 Localisation updates from https://translatewiki.net.
Change-Id: I39d2b104c69ffab5994fad1e7f3d84a9c9b60486
2023-11-01 07:56:14 +01:00
Translation updater bot e45a26eb75 Localisation updates from https://translatewiki.net.
Change-Id: Ib1c1874c90422c508b3be5d74a73c036ca90de81
2023-10-25 07:29:04 +02:00
Translation updater bot 880b13ecd8 Localisation updates from https://translatewiki.net.
Change-Id: I7b5b02f3ac0fc73519ee2ff69c087302689f7b16
2023-10-18 07:22:33 +02:00
Translation updater bot 1631e312b1 Localisation updates from https://translatewiki.net.
Change-Id: Ice10112e076042a6c87d4a496fc859764f122e6d
2023-10-06 09:19:42 +02:00
Translation updater bot 174737de5b Localisation updates from https://translatewiki.net.
Change-Id: I7ab9c5d583eb7be729cd01fefd30c5e3f78d0b63
2023-10-05 09:11:37 +02:00
Translation updater bot d3950baf9a Localisation updates from https://translatewiki.net.
Change-Id: I71b8165333f06e31fa8420f5e3074160d7d2b4e4
2023-10-04 09:08:07 +02:00
Translation updater bot 9d4833b718 Localisation updates from https://translatewiki.net.
Change-Id: I3e45b1aa0b8ac519f3ce0a664fc949aaba7840f3
2023-10-03 09:32:32 +02:00
Translation updater bot 3e4bc3ed5c Localisation updates from https://translatewiki.net.
Change-Id: Ic64926e0d5357e509d54d034780c0051712f910d
2023-10-02 10:57:13 +02:00
Translation updater bot c834ffe762 Localisation updates from https://translatewiki.net.
Change-Id: I4cea16984a412da142a61f129b0a0601dc8a236b
2023-09-25 08:46:11 +02:00
WMDE-Fisch f72691fc4b [build] Bump wdio-mediawiki to v2.3.0
Change-Id: I9a1a03156bb3c8db4ee2213b6b5f42913f8e4e0d
2023-09-22 16:02:52 +00:00
jenkins-bot a8d425ef5b Merge "Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()" 2023-09-21 21:00:58 +00:00
Translation updater bot d301a28132 Localisation updates from https://translatewiki.net.
Change-Id: I76c819ebbb60a209ca9ec7a367857a8b5d05b19e
2023-09-21 10:15:42 +02:00
jenkins-bot 2a7427630f Merge "ForeignWikiRequest: Ensure fetching CSRF tokens uses unique CentralAuth tokens" 2023-09-20 15:58:11 +00:00
jenkins-bot 8114ac1c6b Merge "ForeignWikiRequest: Specify formatversion, errorformat" 2023-09-20 15:56:26 +00:00
jenkins-bot f325e64256 Merge "Call hook handler for own hooks directly and not via hook system" 2023-09-20 14:32:41 +00:00
Translation updater bot 8cfe70d0a0 Localisation updates from https://translatewiki.net.
Change-Id: I0a43c07c0d7ee5e2fea950b17bb0fe96cc17ae47
2023-09-20 08:55:02 +02:00
Translation updater bot 990dcb205e Localisation updates from https://translatewiki.net.
Change-Id: I0d1914a5fa6542c952ba7842a971ebf2670884d5
2023-09-19 09:25:23 +02:00
Translation updater bot 078a5d1076 Localisation updates from https://translatewiki.net.
Change-Id: Ie8c8cf95cd71b72d4fd2589742d331ddc81948a5
2023-09-18 08:43:00 +02:00
Translation updater bot 7ec07b9574 Localisation updates from https://translatewiki.net.
Change-Id: Ifa61a35908446882e64d58ed30304170e574af46
2023-09-14 09:29:40 +02:00
Translation updater bot 332a3d8b52 Localisation updates from https://translatewiki.net.
Change-Id: I07b764e8d413d2e0223ed7550eef392698d91dff
2023-09-11 09:03:36 +02:00
Umherirrender 5e49d52fba Call hook handler for own hooks directly and not via hook system
Extensions should not a consumer of its own hooks,
just call the code before calling the hook.
In case of EchoGetBundleRules each extension should only handle it's
own event, so this is not a breaking change.
In case if EchoAbortEmailNotification the return false in the hook
handler already aborted further hooks, so this is not a breaking change.

Change-Id: I2715aa6499d01a1c1b3a27ff510b331eae0deca9
2023-09-08 16:47:33 +00:00
Translation updater bot b2cd2bd357 Localisation updates from https://translatewiki.net.
Change-Id: I2589ca9c9949d978ebb27c911cfd15561dc18b3b
2023-09-07 11:11:05 +02:00
Translation updater bot 2cccbdbe2d Localisation updates from https://translatewiki.net.
Change-Id: Ibfbcdd60d0b46b17297aa4ed2a69494dacaa2234
2023-09-06 08:41:53 +02:00
Bartosz Dziewoński 18ed307c39 ForeignWikiRequest: Ensure fetching CSRF tokens uses unique CentralAuth tokens
getCsrfToken() previously did the requests to every wiki with the same
'centralauthtoken'. Luckily this wasn't causing any bugs in practice,
because all users of ForeignWikiRequest that need CSRF tokens always
use it with a single wiki.

Change-Id: Ib1c0b9c13a34e38f85faed519c46cabd3b77e61e
2023-09-04 23:39:40 +02:00
Bartosz Dziewoński c3c3aed4dc ForeignWikiRequest: Specify formatversion, errorformat
Otherwise the parameters are copied from the local API request.
That mostly works fine, but browsing the errors logged for T342201
is a bit confusing when they're in different formats.

Change-Id: I5c361d6c0f7d635d3063290dec25f18bc6417e08
2023-09-04 23:39:30 +02:00
jenkins-bot 68d90d69a7 Merge "Make DB tests more robust" 2023-09-01 13:33:23 +00:00
Translation updater bot da265c947b Localisation updates from https://translatewiki.net.
Change-Id: I3c2aa206fd81bc8cf2348bf89824fc054b2916c3
2023-09-01 09:02:49 +02:00
jenkins-bot 697ca08827 Merge "EchoEventPresentationModel: Use userTemporary for temp accounts" 2023-08-30 10:56:01 +00:00
Translation updater bot 4b158caa68 Localisation updates from https://translatewiki.net.
Change-Id: I2cfbbd2a78e9fb428ef7eb95098ef8f8f4088b27
2023-08-30 08:44:13 +02:00
jenkins-bot 8239b38530 Merge "Decommission Echo* instruments" 2023-08-29 21:47:54 +00:00
jenkins-bot 76f5ed4691 Merge "tests: Small changes to DiscussionParserTest" 2023-08-29 19:26:56 +00:00
Sam Smith f4765cdd25 Decommission Echo* instruments
Completely remove the EchoMail and EchoInteraction instruments,
supporting code, and config variables.  Note well that the
EchoEventLoggingSchemas config included an entry for the
already-decommissioned Echo instrument so remove that too.

Bug: T344167
Change-Id: Ic0c44737d2c4a78ec19e67b8b8cd4e6cfb8e14fa
2023-08-29 11:27:15 +01:00
Translation updater bot 80c2f99c54 Localisation updates from https://translatewiki.net.
Change-Id: I73a2baf9ba0dcc244a176939e759921d3ac964cb
2023-08-29 08:28:17 +02:00
Translation updater bot f172890bda Localisation updates from https://translatewiki.net.
Change-Id: I0af06e52bf38ae2f4b2fab601d62c58136cda91f
2023-08-28 09:29:59 +02:00
Umherirrender 0b95ded538 tests: Small changes to DiscussionParserTest
- Remove set of $wgDiff, not used in core and seems not needed
- Avoid array_keys on foreach
- Save settings directly by UserOptionsManager for the fresh user
- Combine calls to overrideConfigValue into one
- Referer core config via MainConfigNames
- Remove unneeded reset after overrideConfigValues, get reset there
- Reset specific service and not all

Change-Id: Ia00efae85e17dfac1768b12b35f44eb834f879ec
2023-08-24 23:31:36 +02:00
Translation updater bot 0f83a89688 Localisation updates from https://translatewiki.net.
Change-Id: If79d75e8940972109b82c8bcb30f57f7f76eaecc
2023-08-24 09:49:33 +02:00
jenkins-bot 38e9654796 Merge "Drop dead code" 2023-08-23 15:06:33 +00:00
Translation updater bot e760784f6e Localisation updates from https://translatewiki.net.
Change-Id: I5996c65f1ca2088b6fc9f1f0180e90a760b3dfcf
2023-08-23 08:39:14 +02:00
Translation updater bot 02ab0b6d41 Localisation updates from https://translatewiki.net.
Change-Id: Id331422a368ca49d26ed3b60817a73a3f83b48cb
2023-08-22 09:01:30 +02:00
Daimona Eaytoy 7b1a9582b2 Make DB tests more robust
In EventMapperTest, suppress notifications created by calling
getExistingTestPage. So far, this test only worked because the existing
test page is created in addCoreDBData (and not inside the test), but
this will no longer be the case after core change
I308617427309815062d54c14f3438cab31b08a73. Clear the PageSaveComplete
hook handlers to prevent that.

DiscussionParser has a static cache of revision data that can become
stale when data is deleted between tests (because revision IDs can be
reassigned to different pages, similar to T344124). This cache seems
needed, and converting the class to a service seems hard, so add the
page title to the cache key to try and avoid collisions. This can still
break if two tests are using the same page, which is hopefully quite
unlikely.

Change-Id: Ic4cbd8ff424e1260544ff9754e0c89dd4bb2f733
2023-08-19 19:59:51 +00:00
jenkins-bot cd5804d27d Merge "Replace some moved Title class uses, now MediaWiki\Title\Title" 2023-08-19 18:58:57 +00:00
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