I read an interesting post on a bulletin board congratulating some members of a writing team for their work on an episode. Usually this sort of thing comes from the showrunner, by way of saying "it wasn't all me." But when it doesn't, I'm uncomfortable with it. It's very hard to remember accurately who contributed what in the writing room. Therefore it's a good idea, I think, not to talk with outsiders about who did what. That way everyone gets the credit (or blame).
Whether the show and the scripts are a success or not, it's the writing room as a whole that should get credit, I think.