Thermal and potential conductivities of ideal Maxwellian, Fermi and Bose gases are derived by considering the small corrections due to the wave character of gas particles. Potential conductivity is regarded as conductivity due to any potential gradient like electrical, gravitational or chemical ones. A long rectangular channel is considered as a transport domain. The size of the domain in the transport direction is much longer than the mean free path of particles l while the sizes in transverse directions are shorter than l. On the other hand, all sizes of the domain are assumed to be larger than the thermal de Broglie wavelength of particles. Therefore, quantum size effects (QSE) are weak enough to be considered as small corrections on conventional terms. Corrections on thermal and potential conductivities are examined. It is seen that the size and shape of the transport domain become additional control parameters on both conductivities. Since the size dependencies of thermal and electrical conductivities are different, the Lorenz number becomes size and shape dependent and deviations from the Wiedemann-Franz law may be expected in nanoscale due to QSE. Variations of the corrections with chemical potential are analysed.