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(