Go to file
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
.phan Use HookHandlers for UserMerge hook 2023-08-16 05:30:19 +00:00
i18n Localisation updates from https://translatewiki.net. 2023-08-18 09:08:05 +02:00
images Remove all traces of cross-wiki beta feature 2019-04-17 22:18:13 -07:00
includes Make DB tests more robust 2023-08-19 19:59:51 +00:00
maintenance And a few more namespaced classes... 2023-08-18 22:27:18 +01:00
modules Disable Echo behaviour on Minerva desktop 2023-08-08 10:47:19 -07:00
scripts Use ::class for class name resolution 2022-06-16 22:36:46 +02:00
sql patch-echo_push_subscription-add-column-eps_topic.sql: Add table prefix 2022-12-20 14:36:47 +00:00
tests Make DB tests more robust 2023-08-19 19:59:51 +00:00
.eslintignore eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
.eslintrc.json eslint: Lint Gruntile.js using server rules 2022-02-07 16:30:24 +00:00
.gitignore Add DS_Store to gitignore 2021-07-13 13:58:44 -05:00
.gitreview
.mailmap Update Legoktm's mailmap entry 2021-04-11 19:15:52 -07:00
.phpcs.xml tests: Resolve phpunit filename deprecation errors 2023-08-12 21:07:15 +02:00
.stylelintrc.json stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 00:24:47 +02:00
.svgo.config.js build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00
CODE_OF_CONDUCT.md
composer.json build: Updating dependencies 2023-04-29 02:45:29 +00:00
COPYING
Echo.alias.php Add special page name translations in Norwegian Bokmål and Nynorsk 2023-06-21 11:43:20 +00:00
extension.json build: Update MediaWiki requirement to 1.41 2023-08-19 13:15:32 +08:00
Gruntfile.js eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
jsduck.external.js build: Update eslint-config-wikimedia to 0.16.1 2020-06-15 16:19:00 +01:00
jsduck.json
jsduck_custom_tags.rb
package-lock.json build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00
package.json build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2023-03-31 11:42:44 +02:00
RELEASE_NOTES
ServiceWiring.php Namespace classes that need aliases 2023-08-18 19:00:41 +01:00