XWIKI-9215: "Function template anticipated 4 arguments, but 3 arguments encountered" error in console