VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.
The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.
LEFT JOIN " . MW_PREFIX . "revision AS rev ON (rev.rev_page = page.page_id)
LEFT JOIN " . MW_PREFIX . "revision AS rev ON (rev.rev_page = page.page_id AND rev.rev_id = page.page_latest)