test document linking widget

Document linking widget with 'Direct link' on

Document linking widget with 'Direct link' off