Catalysis of the reaction: pyrophosphate + a 2,4-dioxotetrahydropyrimidine D-ribonucleotide = PRPP + a 2,4-dioxotetrahydropyrimidine.
dioxotetrahydropyrimidine ribonucleotide pyrophosphorylase activity