The remedy available by a writ of mandamus, prohibition, quo warranto, certiorari or habeas corpus may be granted by the final judgment or allowed as a provisional remedy in an action or proceeding. The use of a writ is not necessary. This section does not alter the nature of any extraordinary remedy or the scope of the proceedings, including without limitation the relief available, discovery, the availability of jury trial and the burden of proof.
Wis. Stat. § 781.01