Index: HTMLForm.php =================================================================== --- HTMLForm.php (revision 99130) +++ HTMLForm.php (working copy) @@ -1695,7 +1695,17 @@ } else { $final = $this->getDefault(); - $list = $text = ''; + + $list = 'other'; + $text = $final; + foreach ( $this->mFlatOptions as $option ) { + $match = $option . wfMsgForContent( 'colon-separator' ); + if( strpos( $text, $match ) === 0 ) { + $list = $option; + $text = substr( $text, strlen( $match ) ); + break; + } + } } return array( $final, $list, $text ); }