mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Document some generated messages
Change-Id: Id9c961f322c2f3730f29345da9ba61196243df5a
This commit is contained in:
parent
ada0820622
commit
e7d3dec076
|
@ -36,6 +36,11 @@ class CitationToolDefinition {
|
|||
if ( is_array( $citationDefinition ) ) {
|
||||
foreach ( $citationDefinition as $tool ) {
|
||||
if ( !isset( $tool->title ) ) {
|
||||
// The following messages are generated here:
|
||||
// * visualeditor-cite-tool-name-book
|
||||
// * visualeditor-cite-tool-name-journal
|
||||
// * visualeditor-cite-tool-name-news
|
||||
// * visualeditor-cite-tool-name-web
|
||||
$tool->title = $context->msg( 'visualeditor-cite-tool-name-' . $tool->name )
|
||||
->text();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue