Turn on/off WiFi via Mute switch
Activator

You could try a custom action using Activator, set up to toggle WiFi when the Silent switch is double-toggled. 

I am currently not jailbroken myself (running iOS 7) and haven't used Activator for a while, but I remember that there is an option to activate an action by double-toggling the mute switch, as can be seen in the screenshot below.

There may be a way to activate it using a single toggle, but I am not able to find this out myself right now. Despite this, a double-toggle returns the toggle to its original point, meaning that you could use the toggle for WiFi and orientation/mute at the same time (a single toggle doesn't activate the double-toggle action).