From 6c62b2164c816bf51401d6670f2f671cb6c8e44e Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 6 Oct 2021 01:08:37 +0100 Subject: [PATCH] s/necesssary/necessary/ Change-Id: I38e5ff8b5b84b0d96b9bbc3e168efe416016184b --- includes/api/ApiQueryUserContribs.php | 2 +- includes/cache/MessageCache.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/ApiQueryUserContribs.php b/includes/api/ApiQueryUserContribs.php index a7c1d05019f..6b9ec6953f0 100644 --- a/includes/api/ApiQueryUserContribs.php +++ b/includes/api/ApiQueryUserContribs.php @@ -334,7 +334,7 @@ class ApiQueryUserContribs extends ApiQueryBase { $revQuery['joins']['revision'] = $revQuery['joins']['temp_rev_user']; unset( $revQuery['joins']['temp_rev_user'] ); $this->addOption( 'STRAIGHT_JOIN' ); - // It isn't actually necesssary to reorder $revQuery['tables'] as Database does the right thing + // It isn't actually necessary to reorder $revQuery['tables'] as Database does the right thing // when join conditions are given for all joins, but Gergő is wary of relying on that so pull // `revision_actor_temp` to the start. $revQuery['tables'] = diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php index 29744057bd5..e12f6e3490a 100644 --- a/includes/cache/MessageCache.php +++ b/includes/cache/MessageCache.php @@ -540,7 +540,7 @@ class MessageCache implements LoggerAwareInterface { // `revision` first rather than `page`). $revQuery['joins']['revision'] = $revQuery['joins']['page']; unset( $revQuery['joins']['page'] ); - // It isn't actually necesssary to reorder $revQuery['tables'] as Database does the right thing + // It isn't actually necessary to reorder $revQuery['tables'] as Database does the right thing // when join conditions are given for all joins, but Gergő is wary of relying on that so pull // `page` to the start. $revQuery['tables'] = array_merge(