In Firefox, you can right click on any search box and there's an option to "add a keyword search"
For a Wikipedia search, you'd set the keyword to "w" and then you'd get the identical behaviour you have in Chrome when typing "w foo" in your Awesome Bar.