Share tags2

Supersedes #11351.
PHPDoc