Heat the oil in a large skillet and saute the onion until transparent. Add the garlic and saute until soft, then the pancetta and cook until bubbling and transparent. Add the capers, mushrooms, olives, hot red pepper, anchovies, salt (use only a pinch because of the anchovies), pepper and wine.
Simmer until the wine is reduced by half, then add the tomatoes. Cook for 10 minutes longer, add the basil leaves, then toss in the pasta and sprinkle generously with cheese and parsley. Serve immediately.