* @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 ) {
* @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
/**
* 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)
}
/**
- * 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
}
/**
- * 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
* 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
[
'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
// 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' ) ];
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;