23 use InvalidArgumentException;
78 if (
$data !==
null ) {
79 foreach (
$data as $k => $v ) {
80 if ( substr( $k, 0, 1 ) ===
'_' ) {
81 throw new InvalidArgumentException(
'Keys in $data beginning with "_" are reserved' );
86 if ( $comment instanceof
Message ) {
90 ->setInterfaceMessageFlag(
true )
99 class_alias( CommentStoreComment::class,
'CommentStoreComment' );
The Message class deals with fetching and processing of interface message into a variety of formats.
static plaintextParam( $plaintext)
inLanguage( $lang)
Request the message in any language that is supported.