Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/153829
Change subject: Docs: compatability -> compatibility ...................................................................... Docs: compatability -> compatibility https://en.wiktionary.org/wiki/compatability Change-Id: I71d82ae04d4b17609a1d5a7eec4497115e64972e --- M docs/hooks.txt M includes/WebResponse.php M includes/api/ApiBase.php M includes/api/ApiQuerySiteinfo.php M includes/specials/SpecialContributions.php 5 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/29/153829/1 diff --git a/docs/hooks.txt b/docs/hooks.txt index 31590ae..fc29858 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2368,7 +2368,7 @@ &$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 adccf9c..ad9f4e6 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -51,7 +51,7 @@ * 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 @@ 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 a280ddf..0e87a2e 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1349,7 +1349,7 @@ $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 818080c..90683a9 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -166,7 +166,7 @@ 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 15a5b74..af8ab58 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -163,7 +163,7 @@ } 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 ); -- To view, visit https://gerrit.wikimedia.org/r/153829 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I71d82ae04d4b17609a1d5a7eec4497115e64972e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits