+ public function getInputHTML( $value ) {
+ $this->selected = $value;
+
+ $this->html = $this->outputOption( wfMsg( 'nolicense' ), '',
+ (bool)$this->selected ? null : array( 'selected' => 'selected' ) );
+ $this->makeHtml( $this->getLicenses() );
+
+ $attribs = array(
+ 'name' => $this->mName,
+ 'id' => $this->mID
+ );
+ if ( !empty( $this->mParams['disabled'] ) )
+ $attibs['disabled'] = 'disabled';
+
+ return Html::rawElement( 'select', $attribs, $this->html );
+ }