throw new ErrorPageError(
'changecontentmodel-emptymodels-title',
'changecontentmodel-emptymodels-text',
- $this->title->getPrefixedText()
+ [ $this->title->getPrefixedText() ]
);
}
$fields['pagetitle']['readonly'] = true;
$fields += [
'currentmodel' => [
- 'type' => 'info',
+ 'type' => 'text',
'name' => 'currentcontentmodel',
'default' => $this->title->getContentModel(),
'label-message' => 'changecontentmodel-current-label',