Merge "Remove suggestions for negative namespaces in Page Restrictions"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 21 Feb 2019 15:26:35 +0000 (15:26 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 21 Feb 2019 15:26:35 +0000 (15:26 +0000)
1  2 
includes/specials/SpecialBlock.php

@@@ -177,8 -177,8 +177,8 @@@ class SpecialBlock extends FormSpecialP
                                'type' => 'radio',
                                'cssclass' => 'mw-block-editing-restriction',
                                'options' => [
 -                                      $this->msg( 'ipb-sitewide' )->text() => 'sitewide',
 -                                      $this->msg( 'ipb-partial' )->text() => 'partial',
 +                                      $this->msg( 'ipb-sitewide' )->escaped() => 'sitewide',
 +                                      $this->msg( 'ipb-partial' )->escaped() => 'partial',
                                ],
                                'section' => 'actions',
                        ];
                                'max' => 10,
                                'cssclass' => 'mw-block-restriction',
                                'showMissing' => false,
+                               'excludeDynamicNamespaces' => true,
                                'input' => [
                                        'autocomplete' => false
                                ],