dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add help link to Special:NewSection"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialChangeContentModel.php
diff --git
a/includes/specials/SpecialChangeContentModel.php
b/includes/specials/SpecialChangeContentModel.php
index
87c899f
..
01f7e56
100644
(file)
--- a/
includes/specials/SpecialChangeContentModel.php
+++ b/
includes/specials/SpecialChangeContentModel.php
@@
-101,11
+101,18
@@
class SpecialChangeContentModel extends FormSpecialPage {
throw new ErrorPageError(
'changecontentmodel-emptymodels-title',
'changecontentmodel-emptymodels-text',
throw new ErrorPageError(
'changecontentmodel-emptymodels-title',
'changecontentmodel-emptymodels-text',
- $this->title->getPrefixedText()
+ [ $this->title->getPrefixedText() ]
);
}
$fields['pagetitle']['readonly'] = true;
$fields += [
);
}
$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',
'model' => [
'type' => 'select',
'name' => 'model',