MediaWiki:Gadget-I18n-js.js: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
messages always exist if overridden
(fix issues with not-existing messages when using "qqx" language) |
(messages always exist if overridden) |
||
Line 6: | Line 6: | ||
* @author OneTwoThreeFall <https://dev.fandom.com/User:OneTwoThreeFall> | * @author OneTwoThreeFall <https://dev.fandom.com/User:OneTwoThreeFall> | ||
* | * | ||
* @version 0.6. | * @version 0.6.2 | ||
* | * | ||
* @notes Also used by VSTF wiki for their reporting forms (with a non-dev i18n.json page) | * @notes Also used by VSTF wiki for their reporting forms (with a non-dev i18n.json page) | ||
Line 465: | Line 465: | ||
// if the message has been overridden, use that without checking the language | // if the message has been overridden, use that without checking the language | ||
msg = overrides[name][msgName]; | msg = overrides[name][msgName]; | ||
msgExists = true; | |||
} | } | ||