From: petarpetkovic Date: Thu, 9 Aug 2018 08:21:56 +0000 (+0200) Subject: Remove duplicated article usages X-Git-Tag: 1.34.0-rc.0~4512^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=3f60fb5ad10986aabfe59e6b50a34b5b4324f7ed;p=lhc%2Fweb%2Fwiklou.git Remove duplicated article usages Bug: T201491 Change-Id: I72b1e7609b49b9bf182c0872f8b780d9e9e08695 --- diff --git a/includes/ActorMigration.php b/includes/ActorMigration.php index 161c7a923b..51dfa60a0b 100644 --- a/includes/ActorMigration.php +++ b/includes/ActorMigration.php @@ -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 ) { diff --git a/includes/Revision.php b/includes/Revision.php index 7ff73dddbf..6d684a8052 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -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 diff --git a/includes/Storage/DerivedPageDataUpdater.php b/includes/Storage/DerivedPageDataUpdater.php index 3ad19d4e55..8c304ea271 100644 --- a/includes/Storage/DerivedPageDataUpdater.php +++ b/includes/Storage/DerivedPageDataUpdater.php @@ -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) diff --git a/includes/TemplateParser.php b/includes/TemplateParser.php index dc7d31e522..4210a965ba 100644 --- a/includes/TemplateParser.php +++ b/includes/TemplateParser.php @@ -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 diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 3d9a904bf5..a39529011b 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -1350,7 +1350,7 @@ class FileRepo { } /** - * Checks existence of a a file + * Checks existence of a file * * @param string $file Virtual URL (or storage path) of file to check * @return bool diff --git a/includes/session/SessionBackend.php b/includes/session/SessionBackend.php index 58163c6f3d..f3bfb2b951 100644 --- a/includes/session/SessionBackend.php +++ b/includes/session/SessionBackend.php @@ -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 diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index ff2a9eafe9..72663ca3ad 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -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 diff --git a/resources/src/jquery.tablesorter/jquery.tablesorter.js b/resources/src/jquery.tablesorter/jquery.tablesorter.js index 64d394cd1f..59620bd27b 100644 --- a/resources/src/jquery.tablesorter/jquery.tablesorter.js +++ b/resources/src/jquery.tablesorter/jquery.tablesorter.js @@ -840,7 +840,7 @@ // 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' ) ]; diff --git a/resources/src/jquery/jquery.makeCollapsible.styles.less b/resources/src/jquery/jquery.makeCollapsible.styles.less index f19c3c26e7..2281136e09 100644 --- a/resources/src/jquery/jquery.makeCollapsible.styles.less +++ b/resources/src/jquery/jquery.makeCollapsible.styles.less @@ -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;