On Wed, Apr 1, 2015 at 3:36 PM, Brenton Horne <[email protected]> wrote:
> Any one know how to overcome this problem, or are yas all stumped? I've added some error handling to https://test2.wikipedia.org/wiki/Module:Molar_mass_calculator for you; most likely it was trying to use a quantity of empty-string for any elements you didn't specify in your Chembox, which tonumber() converts to nil. You could probably also have had your Chembox pass 0 as a default (e.g. {{{Ag|0}}} instead of {{{Ag|}}}). If it's still not working, feel free to put your test cases on test2wiki so we can see them directly. -- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
