use MediaWiki\MediaWikiServices;
/**
- * @defgroup Actions Action done on pages
+ * @defgroup Actions Actions
*/
/**
* Get a Message object with context set
* Parameters are the same as wfMessage()
*
+ * @param string|string[]|MessageSpecifier $key
+ * @param mixed ...$params
* @return Message
*/
- final public function msg( $key ) {
- $params = func_get_args();
- return $this->getContext()->msg( ...$params );
+ final public function msg( $key, ...$params ) {
+ return $this->getContext()->msg( $key, ...$params );
}
/**