A police source said the fight was among students from Simon Gratz High School, Samuel Fels High School, and John F. Hartranft, a kindergarten-through-eighth-grade school.
Courtney Collins-Shapiro, an executive with Mastery Charter Schools, said she could not confirm reports that one of the students involved attended Gratz, a Mastery school. She said school officials were talking to police and trying to get more information.
Collins-Shapiro said SEPTA Transit Police had told her that they do not believe the shooter is a Gratz student, based on surveillance video. She said police had arrested several students who fled, including at least one from Gratz.
Collins-Shapiro said officials had been keeping a close eye on safety at Gratz recently.
"There have been a lot of rumors and tension in the neighborhood for the last week, and we've been on high alert at the school," Collins-Shapiro said. She said Gratz administrators had implemented a "Safe Corridors" program, escorting students to buses and subways.
SEPTA Transit Police Chief Thomas Nestel said authorities believed the shooter was a high school student.
"It's certainly the assumption we're making, that this is high school kids, but we don't know," he said.
The Broad Street Line has a daily average ridership of a little more than 130,000 people, said SEPTA spokesman Andrew Busch. Trains were diverted for more than an hour, but all Broad Street Line service was restored around 3:30 p.m.
The after-school commuter rush was in full swing when mayhem began shortly before 2 p.m. near Broad and Dauphin Streets. Students crowded onto the southbound subway cars, jostling and arguing. When the train pulled into the Susquehanna-Dauphin station in North Philadelphia, a male fired a gun from the platform into the car, which was packed, mostly with teenage students.
Passengers began screaming and running for safety, police said. Officers tracked one of the teenagers running from the scene to nearby Carlisle Street and took him into custody for questioning, Nestel said.
While police were investigating underground, juveniles in gray high school uniforms were led out of the subway and into SEPTA Transit Police cars. It was unclear whether the youths were witnesses.
"This is an issue of the kids choosing to act like young adults," Nestel said. "They're not, and until they do, the School District and the police will be giving them lots of added attention."
Terry Starks of Philadelphia CeaseFire, a violence-reduction program, said he would be visiting one victim at the hospital.
"I'm the first person he is going to see when he wakes up," Starks said.
Contact Allison Steele at 215-854-2641 or asteele@phillynews.com.
Inquirer staff writers Kristen A. Graham and Robert Moran contributed to this article.