diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 0eed88959d0..2be4a358a34 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -3395,7 +3395,7 @@ class OutputPage extends ContextSource { // Allow extensions to add their custom variables to the mw.config map. // Use the 'ResourceLoaderGetConfigVars' hook if the variable is not - // page-dependant but site-wide (without state). + // page-dependent but site-wide (without state). // Alternatively, you may want to use OutputPage->addJsConfigVars() instead. $this->getHookRunner()->onMakeGlobalVariablesScript( $vars, $this ); diff --git a/includes/context/MutableContext.php b/includes/context/MutableContext.php index 6faf33eb2f6..c5f5886ef73 100644 --- a/includes/context/MutableContext.php +++ b/includes/context/MutableContext.php @@ -1,10 +1,5 @@ self::getProps(), 'prop' => 'imageinfo', 'iimetadataversion' => MediaHandler::getMetadataVersion(), - // extmetadata is language-dependant, accessing the current language here + // extmetadata is language-dependent, accessing the current language here // would be problematic, so we just get them all 'iiextmetadatamultilang' => 1, ] ); diff --git a/includes/libs/objectcache/wancache/WANObjectCache.php b/includes/libs/objectcache/wancache/WANObjectCache.php index 99a97a9d09d..cfe6cc8e27a 100644 --- a/includes/libs/objectcache/wancache/WANObjectCache.php +++ b/includes/libs/objectcache/wancache/WANObjectCache.php @@ -944,7 +944,7 @@ class WANObjectCache implements * these verifications only after a "time-till-verify" (TTV) has passed. This is a middle * ground between using blind TTLs and using constant verification. The adaptiveTTL() method * can be used to dynamically adjust the TTV. Also, the initial TTV can make use of the - * last-modified times of the dependant entities (either from the DB or the "check" keys). + * last-modified times of the dependent entities (either from the DB or the "check" keys). * * Example usage: * @code @@ -1127,7 +1127,7 @@ class WANObjectCache implements * having to inspect a "current time left" variable (e.g. $curTTL, $curTTLs), a cache * regeneration will automatically be triggered using the callback. * - * The $ttl argument and "hotTTR" option (in $opts) use time-dependant randomization + * The $ttl argument and "hotTTR" option (in $opts) use time-dependent randomization * to avoid stampedes. Keys that are slow to regenerate and either heavily used * or subject to explicit (unpredictable) purges, may need additional mechanisms. * The simplest way to avoid stampedes for such keys is to use 'lockTSE' (in $opts). diff --git a/includes/libs/rdbms/database/Database.php b/includes/libs/rdbms/database/Database.php index 2127ae2b890..59ec7af5c66 100644 --- a/includes/libs/rdbms/database/Database.php +++ b/includes/libs/rdbms/database/Database.php @@ -4685,7 +4685,7 @@ abstract class Database implements IDatabase, IMaintainableDatabase, LoggerAware } } - // Clear any commit-dependant callbacks. They might even be present + // Clear any commit-dependent callbacks. They might even be present // only due to transaction rounds, with no SQL transaction being active $this->trxPostCommitOrIdleCallbacks = []; $this->trxPreCommitOrIdleCallbacks = []; diff --git a/resources/src/mediawiki.util/jquery.accessKeyLabel.js b/resources/src/mediawiki.util/jquery.accessKeyLabel.js index fd4a59a7396..f460c300e10 100644 --- a/resources/src/mediawiki.util/jquery.accessKeyLabel.js +++ b/resources/src/mediawiki.util/jquery.accessKeyLabel.js @@ -16,7 +16,7 @@ var cachedAccessKeyModifiers, /** * Find the modifier keys that need to be pressed together with the accesskey to trigger the input. * - * The result is dependant on the ua paramater or the current platform. + * The result is dependent on the ua paramater or the current platform. * For browsers that support accessKeyLabel, #getAccessKeyLabel never calls here. * Valid key values that are returned can be: ctrl, alt, option, shift, esc * diff --git a/resources/src/startup/mediawiki.js b/resources/src/startup/mediawiki.js index 9ab8d636f9e..1797e198f90 100644 --- a/resources/src/startup/mediawiki.js +++ b/resources/src/startup/mediawiki.js @@ -740,7 +740,7 @@ * - When a module reaches a final state, pending job callbacks for the * module from mw.loader.using() should be called. * - When a module reaches the 'ready' state from #execute(), consider - * executing dependant modules now having their dependencies satisfied. + * executing dependent modules now having their dependencies satisfied. * - When a module reaches the 'loaded' state from mw.loader.implement, * consider executing it, if it has no unsatisfied dependencies. *