My question is in the title. How long would it take to travel from one end of the Bajoran Wormhole to the other, assuming that there is no way to exit the wormhole by, for example, Quasar M92? I've already had that question answered.
This is addressed in the Star Trek factbook Stellar Cartography: The Starfleet Reference Library. Travel through the wormhole will...
"...cut a 70,000 light-year journey between the two quadrants down to two minutes".
Note that in practice, the length of wormhole travel seems to be largely driven by the plot. The series bible simply describes it as "a brief journey" and in some episodes it can take very much longer, especially if one is flying slowly in the hopes of encountering a Prophet.