XenForo 2.1 adds per-post content sharing options. This could be handy in VaultWiki too, for individual sections. The current anchor icon 'section link' is IMO cumbersome on mobiles as it requires fiddling around in the address bar. Changing this to XF2.1's content-sharing tool with the 'copy to clipboard' feature (and other social sharing options) would be helpful.
Details:
https://xenforo.com/community/thread...2/post-1291227

Originally Posted by
XenForo.com
As well as being able to share directly to various social media outlets, you can also copy a link to the content directly to the clipboard.
What's better is that this share control is written in a fairly generic way so should add-on developers want to add this to their own add-ons it is very simple to do so.
Here's how the template side of things is setup for forum posts in
post_macros template. The important bit is the "share-tooltop" element handler and the data-href parameter.
Code:
<a href="{{ link('threads/post', $thread, {'post_id': $post.post_id}) }}"
data-xf-init="share-tooltip" data-href="{{ link('posts/share', $post) }}"
rel="nofollow">
<xf:fa icon="fa-share-alt"/>
</a>
Which calls the XF:Post controller's share action. And then XF\Pub\Controller\Post's actionShare calls
\XF\ControllerPlugin\Share.
Thoughts/comments?
N.B. This feature suggestion is related to
#5518 but different, as I'm talking about changes to VaultWiki section links, not the sidebar.
Unrelated: Also adjacent to the section link icon is the top link which duplicates stock XF2.0 functionality (please see my
#5156 reply for details).