On the asymptotic distribution of weighted uniform empirical and quantile processes in the middle and on the tails