501(c)3 organizations can engage in lobbying as long as it does not constitute a substancial portion of the organization's activity. 501(c)3 organizations have an absolute ban on lobbying for candidates for public office, however.
This would not threaten Wikipedia's tax-exempt status.