Want to run Media Wiki on your local machine? Well the basic steps are described here. You basically have to download and install the MoWeS Portable server along with Media Wiki. You run the installer on your usb drive. Boom, you have MediaWiki on a USB Drive.
As a caveat, this sort of thing is not for the feint of heart. :) A basic understanding of the Apache web server is required.