XWiki can combine structured data, macros and applications inside a wiki. Those capabilities make permissions important when assessing the XWiki alternatives entry.
Build a small directory page with ordinary editable fields, then test it as a regular contributor. Decide which users should change content and which may create executable or scripted behavior. A flexible wiki should not require granting every author the broadest rights merely to maintain shared information.