Envoyer par SMS: Chern-Weil global symmetries and how quantum gravity avoids them