def METHOD_NAME(event):
    """wikiview: toggle active flag"""
    c = event.get('c')
    c._wikiview.active = not c._wikiview.active
    if c._wikiview.active:
        g.es("WikiView active")
        cmd_hide_all(event)
    else:
        g.es("WikiView inactive")
        cmd_show_all(event)