Thanks, this occurs when no significant BB-Code (template, redirect, noparse, etc) is detected inside the template. In this case, VaultWiki deems it more efficient to parse the links to the DB by using vBulletin's parser. However, only VaultWiki's parser knows not to parse templates, so the links in templates without template, redirect, noparse, etc are added to the DB.
Fixed by emptying the tag list in this case. In
vault/special_plugins_data.php, find:
Code:
else
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
Add after:
Code:
if (!$wikiparser AND $vault->fetch_namespaceid($post2['forumid']) == TEMPLATE_SPACE)
{
// templates don't parse on their own
$bbcode->tag_list['option'] = array();
$bbcode->tag_list['no_option'] = array();
}