Manual talk:Hooks/GetPreferences

Here's an example how to make use of a preference:

global $wgUser; if ( $wgUser->getOption( 'mypref2' ) == 'choice3' ) { /* do something... */ }