mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 15:04:02 +00:00
Comments to help understand the message localizer
Change-Id: Ic7c9a12a78f358d11d997abf9a3a8e996f451c8f
This commit is contained in:
parent
336dd4a27c
commit
b575835c63
|
@ -7,6 +7,9 @@ use Message;
|
|||
use MessageLocalizer;
|
||||
use MessageSpecifier;
|
||||
|
||||
/**
|
||||
* Interface abstracts everything a Cite needs to do with languages.
|
||||
*/
|
||||
class ReferenceMessageLocalizer implements MessageLocalizer {
|
||||
/**
|
||||
* @var Language
|
||||
|
@ -30,6 +33,9 @@ class ReferenceMessageLocalizer implements MessageLocalizer {
|
|||
/**
|
||||
* This is the method for getting translated interface messages.
|
||||
*
|
||||
* Note that it returns messages coerced to a specific language, the content language
|
||||
* rather than the UI language.
|
||||
*
|
||||
* @see https://www.mediawiki.org/wiki/Manual:Messages_API
|
||||
* @see Message::__construct
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue