From: umherirrender Date: Wed, 13 Aug 2014 17:39:07 +0000 (+0200) Subject: Docs: compatability -> compatibility X-Git-Tag: 1.31.0-rc.0~14458 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=a203032d0009d507f7bfe02a057a96bbf45c490b;p=lhc%2Fweb%2Fwiklou.git Docs: compatability -> compatibility https://en.wiktionary.org/wiki/compatability Change-Id: I71d82ae04d4b17609a1d5a7eec4497115e64972e --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 31590ae9f4..fc298584a0 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2368,7 +2368,7 @@ $sp: SpecialPage object, for context &$fields: Current HTMLForm fields 'SpecialContributionsBeforeMainOutput': Before the form on Special:Contributions -$id: User id number, only provided for backwards-compatability +$id: User id number, only provided for backwards-compatibility $user: User object representing user contributions are being fetched for $sp: SpecialPage instance, providing context diff --git a/includes/WebResponse.php b/includes/WebResponse.php index adccf9c7da..ad9f4e664c 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -51,7 +51,7 @@ class WebResponse { * secure: bool, secure attribute ($wgCookieSecure) * httpOnly: bool, httpOnly attribute ($wgCookieHttpOnly) * raw: bool, if true uses PHP's setrawcookie() instead of setcookie() - * For backwards compatability, if $options is not an array then it and + * For backwards compatibility, if $options is not an array then it and * the following two parameters will be interpreted as values for * 'prefix', 'domain', and 'secure' * @since 1.22 Replaced $prefix, $domain, and $forceSecure with $options @@ -61,7 +61,7 @@ class WebResponse { global $wgCookieSecure, $wgCookieExpiration, $wgCookieHttpOnly; if ( !is_array( $options ) ) { - // Backwards compatability + // Backwards compatibility $options = array( 'prefix' => $options ); if ( func_num_args() >= 5 ) { $options['domain'] = func_get_arg( 4 ); diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index a280ddf036..0e87a2ea7f 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1349,7 +1349,7 @@ abstract class ApiBase extends ContextSource { $msg = wfMessage( $code, $errors[0] ); } if ( isset( ApiBase::$messageMap[$code] ) ) { - // Translate message to code, for backwards compatability + // Translate message to code, for backwards compatibility $code = ApiBase::$messageMap[$code]['code']; } diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 818080c181..90683a96d7 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -166,7 +166,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { if ( $wgContLang->linkPrefixExtension() ) { $linkPrefixCharset = $wgContLang->linkPrefixCharset(); $data['linkprefixcharset'] = $linkPrefixCharset; - // For backwards compatability + // For backwards compatibility $data['linkprefix'] = "/^((?>.*[^$linkPrefixCharset]|))(.+)$/sDu"; } else { $data['linkprefixcharset'] = ''; diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 15a5b749ad..af8ab58283 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -163,7 +163,7 @@ class SpecialContributions extends IncludableSpecialPage { } if ( $feedType ) { - // Maintain some level of backwards compatability + // Maintain some level of backwards compatibility // If people request feeds using the old parameters, redirect to API $feedParams['feedformat'] = $feedType; $url = wfAppendQuery( wfScript( 'api' ), $feedParams );