While the topic of "how Mediawiki handles URLs" is on the table, let me point out today's Slashdot piece, which notes that ICANN is about to open up the gTLD namespace...
*to everyone*, not just commercial registries.
Contemplate, if you will:
How will MW handle a FQDN with no dots in it, when that becomes legal?
Cheers, -- jra