Merge "sql.php: Fix typos"

This commit is contained in:
jenkins-bot 2021-09-24 00:17:03 +00:00 committed by Gerrit Code Review
commit 1ed7ad4ffb

View file

@ -54,7 +54,7 @@ class MwSql extends Maintenance {
public function execute() {
global $IP;
// We wan't to allow "" for the wikidb, meaning don't call select_db()
// We want to allow "" for the wikidb, meaning don't call select_db()
$wiki = $this->hasOption( 'wikidb' ) ? $this->getOption( 'wikidb' ) : false;
// Get the appropriate load balancer (for this wiki)
$lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory();
@ -147,7 +147,7 @@ class MwSql extends Maintenance {
continue;
}
if ( $historyFile ) {
# Delimiter is eated by streamStatementEnd, we add it
# Delimiter is eaten by streamStatementEnd, we add it
# up in the history (T39020)
readline_add_history( $wholeLine . ';' );
readline_write_history( $historyFile );