PageDomMaintenanceExt: add <gallery> and <inputbox>