Extension:Gadgets/Hooks/Gadgets::allowLegacy