Page MenuHomePhabricator

Write documentation for lua library mw.ext.ParserFunctions
Open, Needs TriagePublic

Description

I'm trying to use the ParserFunctions library in lua for it's trunc() calculation, but Help:Extension:ParserFunctions has no documentation at all how its used other than mw.ext.ParserFunctions.expr. The most I was able to get is mw.ext.ParserFunctions.expr("trunc", value) but that gives me the error "Lua error: Expression error: Missing operand for trunc..".

Event Timeline

TheDJ created this task.Jul 24 2019, 8:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 24 2019, 8:51 AM
Gonnym added a subscriber: Gonnym.Jul 24 2019, 6:28 PM