aboutsummaryrefslogtreecommitdiffstats
path: root/includes/GlobalFunctions.php
diff options
context:
space:
mode:
authorMatěj Suchánek <matejsuchanek97@gmail.com>2022-05-09 11:09:00 +0200
committerMatěj Suchánek <matejsuchanek97@gmail.com>2022-05-10 12:46:11 +0000
commite47c44107882ecdd58ae900f9d8b176688160d68 (patch)
treed58b32ba31c6dc9ae43aed0f14ea5cbd77ca02a0 /includes/GlobalFunctions.php
parente9eb4f60d68f9ed4e7cd693d3e85b4e1d7945672 (diff)
downloadmediawikicore-e47c44107882ecdd58ae900f9d8b176688160d68.tar.gz
mediawikicore-e47c44107882ecdd58ae900f9d8b176688160d68.zip
Fix many typos in comments
Found using IntelliJ's "Typo" code inspection. Change-Id: I746220ebe6e1e39f6cb503390ec9053e6518cf16
Diffstat (limited to 'includes/GlobalFunctions.php')
-rw-r--r--includes/GlobalFunctions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 600b2697ddfd..b1a679311ab8 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -2233,7 +2233,7 @@ function wfIsInfinity( $str ) {
* $params is considered non-standard if they involve a non-standard
* width or any non-default parameters aside from width and page number.
* The number of possible files with standard parameters is far less than
- * that of all combinations; rate-limiting for them can thus be more generious.
+ * that of all combinations; rate-limiting for them can thus be more generous.
*
* @param File $file
* @param array $params
@@ -2286,7 +2286,7 @@ function wfThumbIsStandard( File $file, array $params ) {
// Append any default values to the map (e.g. "lossy", "lossless", ...)
$handler->normaliseParams( $file, $normalParams );
} else {
- // If not, then check if the width matchs one of $wgImageLimits
+ // If not, then check if the width matches one of $wgImageLimits
$match = false;
foreach ( $imageLimits as $pair ) {
$normalParams = $basicParams + [ 'width' => $pair[0], 'height' => $pair[1] ];