[xwiki-devs] Find current mode of the document through Velocity