Merge "Explicitly declare title fields as optional"

This commit is contained in:
jenkins-bot 2018-05-10 20:45:40 +00:00 committed by Gerrit Code Review
commit 382373fe62
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,8 @@ class AbuseFilterViewTestBatch extends AbuseFilterView {
'type' => 'title',
'label-message' => 'abusefilter-test-page',
'default' => $this->mTestPage,
'creatable' => true
'creatable' => true,
'required' => false
];
$formFields['wpShowNegative'] = [
'name' => 'wpShowNegative',

View file

@ -169,6 +169,7 @@ class SpecialAbuseLog extends SpecialPage {
'label-message' => 'abusefilter-log-search-title',
'type' => 'title',
'default' => $this->mSearchTitle,
'required' => false
],
'SearchImpact' => [
'label-message' => 'abusefilter-log-search-impact',