45 if ( $this->userComment ==
'' ) {
47 return self::CONSTRAINT_FAILED;
49 return self::CONSTRAINT_PASSED;
54 if ( $this->userComment ==
'' ) {
55 $statusValue->
fatal(
'missingcommenttext' );
56 $statusValue->value = self::AS_TEXTBOX_EMPTY;
if(ini_get('mbstring.func_overload')) if(!defined('MW_ENTRY_POINT'))
Pre-config setup: Before loading LocalSettings.php.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
fatal( $message,... $parameters)
Add an error and set OK to false, indicating that the operation as a whole was fatal.
Interface for all constraints that can prevent edits.