MediaWiki:Gadget-I18n-js.js: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m
note re. internal properties
m (String(options.language) when options.language isn't specified will turn into "undefined" which always evaluates to true and never falls back to the user language) |
m (note re. internal properties) |
||
Line 598: | Line 598: | ||
/* | /* | ||
* For accessing the raw messages. | * For accessing the raw messages. | ||
* Scripts should not rely on it or any of its properties existing. | |||
*/ | */ | ||
_messages: messages | _messages: messages | ||
Line 829: | Line 830: | ||
loadMessages: loadMessages, | loadMessages: loadMessages, | ||
// 'hidden' functions to allow testing | // 'hidden' functions to allow testing and debugging | ||
// they may be changed or removed without warning | |||
// scripts should not rely on these existing or their output being in any particular format | |||
_stripComments: stripComments, | _stripComments: stripComments, | ||
_saveToCache: saveToCache, | _saveToCache: saveToCache, | ||
Line 835: | Line 838: | ||
_handleArgs: handleArgs, | _handleArgs: handleArgs, | ||
_parse: parse, | _parse: parse, | ||
_fallbacks: fallbacks | _fallbacks: fallbacks, | ||
_cache: cache | |||
}); | }); | ||