43 array_merge( [
'maxLength' => 255 ], $config )
47 if ( isset( $config[
'namespace'] ) ) {
48 $this->
namespace = $config['namespace'];
50 if ( isset( $config[
'relative'] ) ) {
51 $this->relative = $config[
'relative'];
53 if ( isset( $config[
'suggestions'] ) ) {
54 $this->suggestions = $config[
'suggestions'];
56 if ( isset( $config[
'highlightFirst'] ) ) {
57 $this->highlightFirst = $config[
'highlightFirst'];
59 if ( isset( $config[
'validateTitle'] ) ) {
60 $this->validateTitle = $config[
'validateTitle'];
62 if ( isset( $config[
'creatable'] ) ) {
63 $this->creatable = $config[
'creatable'];
67 $this->addClasses( [
'mw-widget-titleInputWidget' ] );