To celebrate the 30th anniversary of the episode, Ira Steven Behr and Ronald D. Moore gave an oral history of how the episode came to be. The whole article is worth reading, but here's a few highlights.
Thirty years ago, "Yesterday's Enterprise" came when morale was at a low point for the writing staff: "We were so backed up with shows, so it was just like putting out fires."
"The original episode and pitch are very different from what we ended up writing," says Moore.
That draft Moore inherited did not include the two key elements that Moore would add that ultimately helped get the episode greenlit: The war with the Klingons and the arrival of the Enterprise-C altering the timeline. "Everyone on [Picard's ship] in the original draft that I had, the crew, they all knew of the Enterprise-C and what happened to them, that they died in some incident," Moore says. "But no one on the other crew knows this, so Picard and his people, they're trying to get the C back to its timeline and keep all this a secret."
The original script also featured a senior officer from the Enterprise-C spending most of the episode "with Data on the holodeck, having some sort of epic pirate movie-type adventure, singing songs and — it was crazy. It was just so expensive, too — you couldn't do it, budget-wise — so it was obvious we'd cut it."
The episode's opening scene, between Guinan and Worf in the Enterprise-D's bar lounge, Ten Forward, originally featured a very non-Trek exchange between the two characters.
"Originally, I had Guinan talking to Worf about the stars. About how, when humans look at the stars, they often ask questions of them," Moore explains. In Moore's original version of that scene, Worf's reply was something to the affect of "when Klingons look to the stars, it's more 'what do the stars make us ask of ourselves'?" Executive producer Rick Berman ultimately cut that compelling exchange, but Behr made it known to the rookie writer how big a fan he was of that scene.
Moore also volunteered to tackle the fifth and final act of the teleplay, where the Enterprise-D's crew goes out in a literal blaze of glory defending the Enterprise-C's trip back in time from attacking Klingon Birds of Prey. This act infamously features an explosion that horrifically kills alternate timeline Riker (Jonathan Frakes). Originally, the plan was for all of the bridge crew — Data (Brent Spiner) and Wesley Crusher (Wil Wheaton) included — to go out in similar grizzly fashion.
"My memory is that Rick Berman [TNG executive producer] pushed back on that and didn't want to see everyone on the bridge die," Moore says. "So I pulled back on what my original intention was, but [writing it] was a ball." (Behr recalls that they actually did shoot those death scenes, which were spurred on in part by the frustrations the writers faced having to work over the holiday weekend. According to Behr, he believes those scenes were cut because "they were too violent and didn't really sell as well [the drama] in the final cut." And that Rick Berman wasn't a fan of them because they "could have felt too depressing for the fans" to end the episode on.)
The end result ultimately reinvigorated both the show and the creative staff at the time. And while the episode deservedly has its fans, among them was not the man who gave it the go-ahead.
"I wish we did this as the plot for Generations," Moore says, referencing the first Star Trek feature film featuring The Next Generation crew that he co-wrote with Brannon Braga. "If we hadn't have done that episode, then [the movie] would have been the Enterprise-A coming through that wormhole, and you'd have Spock and Kirk and everyone on that ship, we'd play the same story. They — the original crew — they had to go back to their deaths. And Guinan knew Kirk, and Guinan knew Picard, and that would have been an amazing movie."
“This Doesn’t Look Terrible:” The ‘Star Trek’ Episode That Saved ‘Next Generation’
Fans have not let history forget 'Yesterday's Enterprise,' the classic episode of 'Star Trek: The Next Generation' that saved the show.
www.hollywoodreporter.com