Merge "Pass message arguments as array to ErrorPageError"
[lhc/web/wiklou.git] / includes / specials / SpecialChangeContentModel.php
index 75051fe..01f7e56 100644 (file)
@@ -106,6 +106,13 @@ class SpecialChangeContentModel extends FormSpecialPage {
                        }
                        $fields['pagetitle']['readonly'] = true;
                        $fields += [
+                               'currentmodel' => [
+                                       'type' => 'text',
+                                       'name' => 'currentcontentmodel',
+                                       'default' => $this->title->getContentModel(),
+                                       'label-message' => 'changecontentmodel-current-label',
+                                       'readonly' => true
+                               ],
                                'model' => [
                                        'type' => 'select',
                                        'name' => 'model',