LOS ANGELES — Dodgers outfielder Andrew Toles tore the anterior cruciate ligament in his right knee and will need season-ending surgery.

Toles landed awkwardly while trying to preserve a no-hitter for Julio Urias in the seventh inning Tuesday, sliding into the wall as a drive by Pittsburgh’s Andrew McCutchen landed for a double. Toles came out of the game and an MRI on Wednesday confirmed the injury. He will have surgery in 7 to 10 days.

The 24-year-old won the left-field job, and was hitting 275 with five homers and 15 RBI.

MARLINS: Dee Gordon is Miami’s new starting shortstop, and that’s by default.

Adeiny Hechavarria and rookie J.T. Riddle became the third and fourth players on the left side of the Marlins’ infield to be sidelined by injuries this week. Hechavarria was placed on the 10-day DL with a strained abdominal muscle and is expected to be out a couple of weeks, and Riddle was scratched from the lineup with a bruised right index finger.

That left two-time All-Star second baseman Gordon to start at short against St. Louis.

TWINS: Minnesota claimed 29-year-old left-hander Adam Wilk off waivers from the Mets.

Wilk was the Mets’ emergency starter Sunday when Matt Harvey was suspended. He had a 5.91 ERA in six games for Triple-A Las Vegas this season.

WHITE SOX: Catcher Geovany Soto was put on the 10-day DL with right elbow inflammation.

GIANTS: Closer Mark Melancon was placed on the 10-day disabled list with a sore forearm.