* Add a 2-D array of messages by lang. Useful for extensions. * * @param array $messages The array to be added */ function addMessagesByLang( $messages ) { wfProfileIn( __METHOD__ ); foreach ( $messages as $key => $value ) { $this->addMessages( $value, $key ); } wfProfileOut( __METHOD__ ); } /** Code (markup):
You are missing a / before the first asterisk, so the comment is being treated as code to be excecuted
Also, when posting to a forum, you'll want to use the tag. Just put it around your code, so it looks like this: [code]* Add a 2-D array of messages by lang. Useful for extensions. * * @param array $messages The array to be added */ function addMessagesByLang( $messages ) { wfProfileIn( __METHOD__ ); foreach ( $messages as $key => $value ) { $this->addMessages( $value, $key ); } wfProfileOut( __METHOD__ ); } /** Code (markup):