Fix typos
authorFomafix <fomafix@googlemail.com>
Tue, 14 Aug 2018 07:56:35 +0000 (09:56 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 14 Aug 2018 09:52:19 +0000 (09:52 +0000)
Bug: T201491
Change-Id: I25a27d11faabe2f5fa02950c7a4fb58b13fb3662

15 files changed:
HISTORY
docs/php-memcached/Documentation
includes/api/ApiMain.php
includes/cache/MessageCache.php
includes/debug/logger/LegacyLogger.php
includes/filerepo/file/LocalFile.php
includes/htmlform/HTMLNestedFilterable.php
includes/libs/objectcache/WANObjectCache.php
includes/libs/rdbms/database/DatabasePostgres.php
includes/resourceloader/ResourceLoader.php
includes/session/SessionProvider.php
resources/src/jquery.tablesorter/jquery.tablesorter.js
tests/phpunit/includes/EditPageTest.php
tests/phpunit/includes/libs/CSSMinTest.php
tests/qunit/suites/resources/jquery/jquery.tablesorter.parsers.test.js

diff --git a/HISTORY b/HISTORY
index 7540af3..2dc94ba 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -4730,7 +4730,7 @@ This is a maintenance release of the MediaWiki 1.22 branch.
 
 === Changes since 1.22.9 ===
 * (bug 64970) Fix support for blobs on DatabaseOracle::update
-* (bug 60719) In MediaWiki 1.22, the job queue execution on each page request was changed (Gerrit change 59797) so, instead of executing the job inside the same PHP process that's rendering the page, a new PHP cli command is spawned to execute runJobs.php in the background. It will only work if $wgPhpCli is set to an actual path or safe mode is off, otherwise, the old method will be used. https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_introduced_in_MediaWiki_1.22 for more infomation. This change was in earlier releases of 1.22 but was not noted here until now.
+* (bug 60719) In MediaWiki 1.22, the job queue execution on each page request was changed (Gerrit change 59797) so, instead of executing the job inside the same PHP process that's rendering the page, a new PHP cli command is spawned to execute runJobs.php in the background. It will only work if $wgPhpCli is set to an actual path or safe mode is off, otherwise, the old method will be used. https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_introduced_in_MediaWiki_1.22 for more information. This change was in earlier releases of 1.22 but was not noted here until now.
 
 == MediaWiki 1.22.9 ==
 This is a security and maintenance release of the MediaWiki 1.22 branch.
index 32e340a..6a0dce6 100644 (file)
@@ -130,7 +130,7 @@ MemCachedClient::set_debug($do_debug);
 MemCachedClient::forget_dead_hosts();
 
 // When a function returns FALSE, an error code is set.
-// This funtion will return the error code.
+// This function will return the error code.
 // See error_string()
 // returns last error code set
 MemCachedClient::error()
index 672ec8f..03d2952 100644 (file)
@@ -807,7 +807,7 @@ class ApiMain extends ApiBase {
         * Attempt to validate the value of Access-Control-Request-Headers against a list
         * of headers that we allow the follow up request to send.
         *
-        * @param string $requestedHeaders Comma seperated list of HTTP headers
+        * @param string $requestedHeaders Comma separated list of HTTP headers
         * @return bool True if all requested headers are in the list of allowed headers
         */
        protected static function matchRequestedHeaders( $requestedHeaders ) {
index 5c14818..300489c 100644 (file)
@@ -232,13 +232,13 @@ class MessageCache {
         * (2) memcached
         * (3) from the database.
         *
-        * When succesfully loading from (2) or (3), all higher level caches are
+        * When successfully loading from (2) or (3), all higher level caches are
         * updated for the newest version.
         *
         * Nothing is loaded if member variable mDisable is true, either manually
         * set by calling code or if message loading fails (is this possible?).
         *
-        * Returns true if cache is already populated or it was succesfully populated,
+        * Returns true if cache is already populated or it was successfully populated,
         * or false if populating empty cache fails. Also returns true if MessageCache
         * is disabled.
         *
index 7bd505d..d4a79d9 100644 (file)
@@ -193,7 +193,7 @@ class LegacyLogger extends AbstractLogger {
         * Format a message.
         *
         * Messages to the 'wfDebug', 'wfLogDBError' and 'wfErrorLog' channels
-        * receive special fomatting to mimic the historic output of the functions
+        * receive special formatting to mimic the historic output of the functions
         * of the same name. All other channel values are formatted based on the
         * historic output of the `wfDebugLog()` global function.
         *
index 1fc6bd0..7920e9c 100644 (file)
@@ -3146,7 +3146,7 @@ class LocalFileRestoreBatch {
 
        /**
         * Cleanup a failed batch. The batch was only partially successful, so
-        * rollback by removing all items that were succesfully copied.
+        * rollback by removing all items that were successfully copied.
         *
         * @param Status $storeStatus
         * @param array[] $storeBatch
index d44fc60..a68ab62 100644 (file)
@@ -2,7 +2,7 @@
 
 interface HTMLNestedFilterable {
        /**
-        * Support for seperating multi-option preferences into multiple preferences
+        * Support for separating multi-option preferences into multiple preferences
         * Due to lack of array support.
         *
         * @param array $data
index a8bbcc1..716641f 100644 (file)
@@ -946,7 +946,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
         * @code
         *     $catSituationTolerabilityCache = $this->cache->getWithSetCallback(
         *         // Group by constraint ID/hash, cat family ID/hash, or something else useful
-        *         $this->cache->makeKey( 'cat-situation-tolerablity-checks', $groupKey ),
+        *         $this->cache->makeKey( 'cat-situation-tolerability-checks', $groupKey ),
         *         WANObjectCache::TTL_DAY, // rarely used groups should fade away
         *         // The $scenarioKey format is $constraintId:<ID/hash of $situation>
         *         function ( $cacheMap ) use ( $scenarioKey, $constraintId, $situation ) {
index b8a9200..a959d72 100644 (file)
@@ -649,7 +649,7 @@ __INDEXATTR__;
         * be quoted with Database::addQuotes()
         * $conds may be "*" to copy the whole table
         * srcTable may be an array of tables.
-        * @todo FIXME: Implement this a little better (seperate select/insert)?
+        * @todo FIXME: Implement this a little better (separate select/insert)?
         *
         * @param string $destTable
         * @param array|string $srcTable
index 637bae6..151b271 100644 (file)
@@ -1095,7 +1095,7 @@ MESSAGE;
                                                break;
                                        case 'styles':
                                                $styles = $content['styles'];
-                                               // We no longer seperate into media, they are all combined now with
+                                               // We no longer separate into media, they are all combined now with
                                                // custom media type groups into @media .. {} sections as part of the css string.
                                                // Module returns either an empty array or a numerical array with css strings.
                                                $strContent = isset( $styles['css'] ) ? implode( '', $styles['css'] ) : '';
index ba075e0..1f015b5 100644 (file)
@@ -521,7 +521,7 @@ abstract class SessionProvider implements SessionProviderInterface, LoggerAwareI
                if ( strlen( $hash ) < 32 ) {
                        // Should never happen, even md5 is 128 bits
                        // @codeCoverageIgnoreStart
-                       throw new \UnexpectedValueException( 'Hash fuction returned less than 128 bits' );
+                       throw new \UnexpectedValueException( 'Hash function returned less than 128 bits' );
                        // @codeCoverageIgnoreEnd
                }
                if ( strlen( $hash ) >= 40 ) {
index 59620bd..6287126 100644 (file)
 
                                        // Build the cache for the tbody cells
                                        // to share between calculations for this sort action.
-                                       // Re-calculated each time a sort action is performed due to possiblity
+                                       // Re-calculated each time a sort action is performed due to possibility
                                        // that sort values change. Shouldn't be too expensive, but if it becomes
                                        // too slow an event based system should be implemented somehow where
                                        // cells get event .change() and bubbles up to the <table> here
index 587f2c4..55d8fbb 100644 (file)
@@ -396,7 +396,7 @@ class EditPageTest extends MediaWikiLangTestCase {
 
                $page = $this->assertEdit( 'EditPageTest_testUpdatePage', "zero", null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $text,
-                       "expected successfull update with given text" );
+                       "expected successful update with given text" );
                $this->assertGreaterThan( 0, $checkIds[0], "First event rev ID set" );
 
                $this->forceRevisionDate( $page, '20120101000000' );
@@ -409,7 +409,7 @@ class EditPageTest extends MediaWikiLangTestCase {
 
                $this->assertEdit( 'EditPageTest_testUpdatePage', null, null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $text,
-                       "expected successfull update with given text" );
+                       "expected successful update with given text" );
                $this->assertGreaterThan( 0, $checkIds[1], "Second edit hook rev ID set" );
                $this->assertGreaterThan( $checkIds[0], $checkIds[1], "Second event rev ID is higher" );
        }
@@ -423,7 +423,7 @@ class EditPageTest extends MediaWikiLangTestCase {
 
                $page = $this->assertEdit( 'EditPageTest_testTrxUpdatePage', "zero", null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $text,
-                       "expected successfull update with given text" );
+                       "expected successful update with given text" );
 
                $this->forceRevisionDate( $page, '20120101000000' );
 
@@ -449,7 +449,7 @@ class EditPageTest extends MediaWikiLangTestCase {
 
                $this->assertEdit( 'EditPageTest_testTrxUpdatePage', null, null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $text,
-                       "expected successfull update with given text" );
+                       "expected successful update with given text" );
 
                $text = "three";
                $edit = [
@@ -459,7 +459,7 @@ class EditPageTest extends MediaWikiLangTestCase {
 
                $this->assertEdit( 'EditPageTest_testTrxUpdatePage', null, null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $text,
-                       "expected successfull update with given text" );
+                       "expected successful update with given text" );
 
                wfGetDB( DB_MASTER )->commit( __METHOD__ );
 
@@ -534,7 +534,7 @@ hello
 
                $this->assertEdit( 'EditPageTest_testSectionEdit', $base, null, $edit,
                        EditPage::AS_SUCCESS_UPDATE, $expected,
-                       "expected successfull update of section" );
+                       "expected successful update of section" );
        }
 
        public static function provideAutoMerge() {
@@ -675,7 +675,7 @@ hello
 
                // first edit
                $this->assertEdit( 'EditPageTest_testAutoMerge', null, 'Adam', $adamsEdit,
-                       EditPage::AS_SUCCESS_UPDATE, null, "expected successfull update" );
+                       EditPage::AS_SUCCESS_UPDATE, null, "expected successful update" );
 
                // second edit
                $this->assertEdit( 'EditPageTest_testAutoMerge', null, 'Berta', $bertasEdit,
index 04aecc9..ef333f9 100644 (file)
@@ -667,7 +667,7 @@ class CSSMinTest extends MediaWikiTestCase {
        }
 
        /**
-        * Seperated because they are currently broken (T37492)
+        * Separated because they are currently broken (T37492)
         *
         * @group Broken
         * @dataProvider provideStringCases
index 2865cbb..e49110f 100644 (file)
@@ -90,7 +90,7 @@
                [ '1', false, 1, 'A super malformed IP Address' ],
                [ 'Just text', false, -Infinity, 'A line with just text' ],
                [ '45.238.27.109Postfix', false, 45238027109, 'An IP address with a connected postfix' ],
-               [ '45.238.27.109 postfix', false, 45238027109, 'An IP address with a seperated postfix' ]
+               [ '45.238.27.109 postfix', false, 45238027109, 'An IP address with a separated postfix' ]
        ];
        parserTest( 'IPv4', 'IPAddress', ipv4 );