added links fields and permissions to the wikipages feature