Take the allowed page types from the global array (see #7167)