Partitions and their stabilizers for line complexes and quadrics