Running ads would make them beholden to advertisers. Though I would say don't contribute to Wikipedia because it has enough money to fund itself. What you are actually donating to is Wikimedia, which may or may not be doing things you want to donate too. Similar to how donating to Firefox is actually donating to Mozilla, who may or may not do anything you consider useful with it.