Patrick Marleau scored three goals, and Joe Pavelski had the lone shootout goal in the NHL-leading San Jose Sharks' 5-4 victory over the Edmonton Oilers on Friday night.

Marleau completed the hat trick with a short-handed goal with 1:26 left in regulation. He also assisted on Ryane Clowe's goal.

The Sharks have won three of their last four to improve to 17-6-4. They rebounded from a 7-2 home loss to Chicago on Wednesday night.

Ryan Potulny scored twice in regulation for Edmonton, and Dustin Penner and Gilbert Brule added goals. Penner had a chance to tie it in the third round of the shootout, but Evgeni Nabokov stopped his backhand attempt to end the game.

San Jose forward Dany Heatley played his first game in Edmonton since spurning a trade to the Oilers last summer that would have seen him dealt from Ottawa for Penner, Andrew Cogliano and Ladislav Smid. Booed throughout the contest, Heatley had an assist on Marleau's first-period goal.

Before the game, the Oilers learned that right wing Ales Hemsky will miss the rest of the season because of a left shoulder injury that will require surgery to repair.

"It's frustrating because it's a big year for a lot of players," Hemsky said. "Especially considering it's an Olympic year, but there's nothing I can do. It's no fun playing with an injury like that. I tried, but it just didn't work out."

Already fighting shoulder problems, Hemsky was hurt again Wednesday night in a loss to Los Angeles when he was hit from behind by Michal Handzus.

Edmonton dropped to 10-12-4. The Oilers have four wins in their last 17 games.

NOTES: The Oilers will open a six-game trip in Vancouver on Saturday night. ... Sharks center Torrey Mitchell was activated for the game after a conditioning stint in the AHL. The Sharks shipped Joe Callahan to Worcester to create roster room.