39 array_merge( [
'maxLength' => 255 ], $config )
43 if ( isset( $config[
'namespace'] ) ) {
44 $this->
namespace = $config['namespace'];
46 if ( isset( $config[
'relative'] ) ) {
47 $this->relative = $config[
'relative'];
49 if ( isset( $config[
'suggestions'] ) ) {
50 $this->suggestions = $config[
'suggestions'];
52 if ( isset( $config[
'highlightFirst'] ) ) {
53 $this->highlightFirst = $config[
'highlightFirst'];
55 if ( isset( $config[
'validateTitle'] ) ) {
56 $this->validateTitle = $config[
'validateTitle'];
60 $this->addClasses( [
'mw-widget-titleInputWidget' ] );