Module:Wikidata: Difference between revisions

Content deleted Content added
Prune code duplication of callers of parseInput -- also updates getDateValue to use arbitrary access as a side effect
mv loadI18n() to Module:i18n, so other modules can reuse it
Line 80:
}
 
--[[]
-- Credit to http://stackoverflow.com/a/1283608/2644759
-- cc-by-sa 3.0
Line 105 ⟶ 106:
 
loadI18n()
]]
require("Module:i18n").loadI18n("Module:Wikidata/i18n", i18n)
 
-- this function needs to be internationalised along with the above: