A top staffer on the “nonpartisan” Senate Intelligence Committee has apparently been selectively leaking to feed the anti-Trump “collusion” story: That’s the main takeaway in the case of James Wolfe.

Yes, you have to ignore the media-ethics sideshow about the reporter he had an affair with, and the First Amendment issues over the feds’ subpoenaing of reporters’ “metadata” — i.e., the date and time of phone calls, etc., but not their content.

All that deserves thrashing out — but not at the expense of ignoring yet another case of rabidly anti-Trump behavior by a supposedly disinterested intelligence community.

Prosecutors indicted former security director of the Senate intel committee Wolfe in connection with their probe into leaks of classified information.

Wolfe now stands charged only with lying to investigators when he denied having contacts with three reporters and feeding info to them. Actually prosecuting him for the leaks might put other secrets at risk.

But the indictment basically says that Wolfe, the committee’s security director, leaked the info that led to a major Buzzfeed story headlined, “A Former Trump Adviser Met With A Russian Spy,” based in part on classified documents.

The report named the adviser, Carter Page — and came soon after Buzzfeed published the “dossier” tying Page to a plan for Russian collusion with Team Trump.

In fact, Page played only a minor role on the Trump campaign. But, yes, he met with a Russian spy — in 2013. And then cooperated with the feds to bring the indictment of two Russians for espionage.

Special counsel Bob Mueller is charged with fully investigating any “collusion.” Who’s going to get to the bottom of the crimes committed to fake so much “news” about it?