X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/74c929b24b048c9f1e31e17db757ae4195cd7673..dc9cc5d707f5a612938cc9371614cc41c328fda2:/includes/ProtectionForm.php diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 372edfcd..5fe3cbc7 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -235,7 +235,7 @@ class ProtectionForm { $reasonstr = $this->mReasonSelection; if ( $reasonstr != 'other' && $this->mReason != '' ) { // Entry from drop down menu + additional comment - $reasonstr .= ': ' . $this->mReason; + $reasonstr .= wfMsgForContent( 'colon-separator' ) . $this->mReason; } elseif ( $reasonstr == 'other' ) { $reasonstr = $this->mReason; } @@ -374,7 +374,8 @@ class ProtectionForm { "; } # Add custom expiry field - $attribs = array( 'id' => "mwProtect-$action-expires", 'onkeyup' => 'ProtectionForm.updateExpiry(this)' ) + $this->disabledAttrib; + $attribs = array( 'id' => "mwProtect-$action-expires", + 'onkeyup' => 'ProtectionForm.updateExpiry(this)' ) + $this->disabledAttrib; $out .= "
" . $mProtectother .