[[(type:)name(#anchor)(|alter name)]]
        type = 'wiki', or 'image'
        if type == 'wiki':
            [[(wiki:)name(#anchor)(|alter name)]]
        if type == 'image':
            [[(image:)filelink(|align|width|height)]]
            float = 'left', 'right'
            width or height = '' will not set

def visit_wiki_link(self, node):
        """
        [[(type:)name(#anchor)(|alter name)]]
        type = 'wiki', or 'image'
        if type == 'wiki':
            [[(wiki:)name(#anchor)(|alter name)]]
        if type == 'image':
            [[(image:)filelink(|align|width|height)]]
            float = 'left', 'right'
            width or height = '' will not set
        """
        urljoin = import_('urllib.parse', ['urljoin'], via='urlparse')

        t = node.text[2:-2].strip()
        type = 'wiki'
        begin = 0
        if t[:6].lower() == 'image:':
            type = 'image'
            begin = 6
        elif t[:5].lower() == 'wiki:':
            type = 'wiki'
            begin = 5
        
        t = t[begin:]    
        if type == 'wiki':
            _v, caption = (t.split('|', 1) + [''])[:2]
            name, anchor = (_v.split('#', 1) + [''])[:2]
            if not caption:
                caption = name
            _prefix = self.wiki_prefix
            if not name:
                _prefix = ''
                name = '#' + anchor    
            else:
                name = _v

            return self.tag('a', caption, href="%s" % urljoin(_prefix, name))
        elif type == 'image':
            _v = (t.split('|') + ['', '', ''])[:4]
            filename, align, width, height = _v
            cls = ''
            if width:
                if width.isdigit():
                    cls += ' width="%spx"' % width
                else:
                    cls += ' width="%s"' % width
            if height:
                if height.isdigit():
                    cls += ' height="%spx"' % height
                else:
                    cls += ' height="%s"' % height
            
            s = '<img src="%s" %s/>' % (filename, cls)
            if align:
                s = '<div class="float%s">%s</div>' % (align, s)
            return s