Go to file
Máté Szabó 55665a3f93 Avoid primary DB query for non-talk page edits
While investigating primary database queries as part of T370304,
we found that EventDispatcher currently issues a primary DB query
to fetch the previous revision of the newly created revision on
every edit, but discards the result for non-talk pages. So, as an
optimization, have it fetch the previous revision only after the page
has been established to be a talk page.

Bug: T370304
Change-Id: I301f5c3c002c6953ef0b3919a33667a809342b84
2024-08-14 18:18:02 +02:00
.phan Comment thanking 2024-05-28 17:47:09 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-08-14 09:22:34 +02:00
images Compress emptystate.svg with svgo 2021-10-04 12:56:20 +01:00
includes Avoid primary DB query for non-talk page edits 2024-08-14 18:18:02 +02:00
maintenance Use expression builder instead of raw sql 2024-07-21 23:25:41 +02:00
modules Merge "Show confirmation prompt if trying to submit a new topic without a title" 2024-08-12 17:02:08 +00:00
sql Store permalink data, implement Special:FindComment/GoToComment 2022-08-11 01:19:47 +02:00
tests tests: Normalize timestamp values returned by different database engines 2024-07-22 20:21:50 +02:00
.eslintignore ESLint: Autofix no-var rule 2024-05-24 16:49:36 +01:00
.eslintrc.json Don't enforce alphabetical order in i18n files 2022-08-12 13:29:39 +03:00
.gitignore Remove extra blank line from .gitignore file 2020-08-31 15:24:56 +01:00
.gitreview .gitreview: Remove defaultrebase/defaultbranch 2023-09-09 21:37:34 +00:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 06:40:14 +00:00
.stylelintrc.json Move "Return to comment" below sticky header when present 2022-09-25 13:28:12 +01:00
CODE_OF_CONDUCT.md build: Updating npm dependencies 2020-01-09 06:43:15 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 06:40:14 +00:00
COPYING Add required files for an extension 2019-10-10 19:42:56 +01:00
DiscussionTools.alias.php Add Simplified Chinese special page aliases 2024-06-30 14:22:24 +08:00
DiscussionTools.magic.php Add Simplified Chinese magic word aliases 2024-06-30 15:12:42 +08:00
extension.json Show confirmation prompt if trying to submit a new topic without a title 2024-08-06 09:44:27 -05:00
Gruntfile.js Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00
package-lock.json build: Updating npm dependencies 2024-06-20 06:30:15 +00:00
package.json build: Updating npm dependencies 2024-06-20 06:30:15 +00:00
typos.json Setup grunt-tyops and fix 2024-03-27 14:01:18 +00:00