wfMessage( 'summary' )->parse() ); return 've.specialMessages = ' . FormatJson::encode( $messages ) . ';'; } public function getMessages() { // We don't actually use the i18n on the client-side, but registering the messages // is needed to make cache invalidation work return array( 'summary' ); } public function getDependencies() { return array( 'ext.visualEditor.base' ); } }