Remove duplicated article usages
authorpetarpetkovic <ppetkovic@wikimedia.org>
Thu, 9 Aug 2018 08:21:56 +0000 (10:21 +0200)
committerpetarpetkovic <ppetkovic@wikimedia.org>
Thu, 9 Aug 2018 08:29:38 +0000 (10:29 +0200)
Bug: T201491
Change-Id: I72b1e7609b49b9bf182c0872f8b780d9e9e08695

includes/ActorMigration.php
includes/Revision.php
includes/Storage/DerivedPageDataUpdater.php
includes/TemplateParser.php
includes/filerepo/FileRepo.php
includes/session/SessionBackend.php
includes/skins/Skin.php
resources/src/jquery.tablesorter/jquery.tablesorter.js
resources/src/jquery/jquery.makeCollapsible.styles.less

index 161c7a9..51dfa60 100644 (file)
@@ -220,7 +220,7 @@ class ActorMigration {
         * @param UserIdentity $user User to set in the update
         * @return array with two values:
         *  - array to merge into `$values` to `IDatabase->update()` or `$a` to `IDatabase->insert()`
-        *  - callback to call with the the primary key for the main table insert
+        *  - callback to call with the primary key for the main table insert
         *    and extra fields needed for the temp table.
         */
        public function getInsertValuesWithTempTable( IDatabase $dbw, $key, UserIdentity $user ) {
index 7ff73dd..6d684a8 100644 (file)
@@ -1013,7 +1013,7 @@ class Revision implements IDBAccessObject {
         * @param stdClass $row The text data
         * @param string $prefix Table prefix (default 'old_')
         * @param string|bool $wiki The name of the wiki to load the revision text from
-        *   (same as the the wiki $row was loaded from) or false to indicate the local
+        *   (same as the wiki $row was loaded from) or false to indicate the local
         *   wiki (this is the default). Otherwise, it must be a symbolic wiki database
         *   identifier as understood by the LoadBalancer class.
         * @return string|false Text the text requested or false on failure
index 3ad19d4..8c304ea 100644 (file)
@@ -320,7 +320,7 @@ class DerivedPageDataUpdater implements IDBAccessObject {
 
        /**
         * Checks whether this DerivedPageDataUpdater can be re-used for running updates targeting
-        * the the given revision.
+        * the given revision.
         *
         * @param UserIdentity|null $user The user creating the revision in question
         * @param RevisionRecord|null $revision New revision (after save, if already saved)
index dc7d31e..4210a96 100644 (file)
@@ -67,7 +67,7 @@ class TemplateParser {
        }
 
        /**
-        * Constructs the location of the the source Mustache template
+        * Constructs the location of the source Mustache template
         * @param string $templateName The name of the template
         * @return string
         * @throws UnexpectedValueException If $templateName attempts upwards directory traversal
index 3d9a904..a395290 100644 (file)
@@ -1350,7 +1350,7 @@ class FileRepo {
        }
 
        /**
-        * Checks existence of a file
+        * Checks existence of a file
         *
         * @param string $file Virtual URL (or storage path) of file to check
         * @return bool
index 58163c6..f3bfb2b 100644 (file)
@@ -612,7 +612,7 @@ final class SessionBackend {
         * Save the session
         *
         * Update both the backend data and the associated WebRequest(s) to
-        * reflect the state of the the SessionBackend. This might include
+        * reflect the state of the SessionBackend. This might include
         * persisting or unpersisting the session.
         *
         * @param bool $closing Whether the session is being closed
index ff2a9ea..72663ca 100644 (file)
@@ -1306,7 +1306,7 @@ abstract class Skin extends ContextSource {
                                [
                                        'checkKeys' => [
                                                // Unless there is both no exact $code override nor an i18n definition
-                                               // in the the software, the only MediaWiki page to check is for $code.
+                                               // in the software, the only MediaWiki page to check is for $code.
                                                $msgCache->getCheckKey( $this->getLanguage()->getCode() )
                                        ],
                                        'lockTSE' => 30
index 64d394c..59620bd 100644 (file)
 
                                // Get the CSS class names, could be done elsewhere
                                sortCSS = [ config.cssAsc, config.cssDesc ];
-                               // Messages tell the the user what the *next* state will be
+                               // Messages tell the user what the *next* state will be
                                // so are in reverse order to the CSS classes.
                                sortMsg = [ mw.msg( 'sort-descending' ), mw.msg( 'sort-ascending' ) ];
 
index f19c3c2..2281136 100644 (file)
@@ -30,7 +30,7 @@
        ul.mw-collapsible:before,
        .mw-collapsible-toggle-li {
                /*
-               Rather than inherit any margins from the the general li selector - make sure this is explicit
+               Rather than inherit any margins from the general li selector - make sure this is explicit
                to avoid reflows
                */
                display: list-item;