54 $source = wfMessage( $this->source );
55 if ( $source->isDisabled() ) {
59 $contents = $source->text();
60 $contents = preg_replace(
'~^\s*#.*$~m',
'', $contents );
61 $messages = preg_split(
'/\s+/', $contents );
63 foreach ( $messages as $message ) {
68 $definitions[$message] = wfMessage( $message )->inContentLanguage()->plain();