()
the mambo jambo here makes sure that 
    PluginManager.wiki.xxx is also exposed as plugin_wiki_xxx
    this is to minimize Storage lookup
the mambo jambo here makes sure that 
    PluginManager.wiki.xxx is also exposed as plugin_wiki_xxx
    this is to minimize Storage lookup
the mambo jambo here makes sure that PluginManager . wiki . xxx is also exposed as plugin_wiki_xxx this is to minimize Storage lookup
def _():
    """
    the mambo jambo here makes sure that 
    PluginManager.wiki.xxx is also exposed as plugin_wiki_xxx
    this is to minimize Storage lookup
    """
    if not 'db' in globals() or not 'auth' in globals():
        raise HTTP(500,"plugin_wiki requires 'db' and 'auth'")
    from gluon.tools import PluginManager
    prefix='plugin_wiki_'
    keys=dict(item for item in DEFAULT.items() if not prefix+item[0] in globals())
    plugins = PluginManager('wiki',**keys)
    globals().update(dict((prefix+key,keys[key]) for key in keys))
def _ ( ) : if not 'db' in globals ( ) or not 'auth' in globals ( ) : raise HTTP ( 500 , "plugin_wiki requires 'db' and 'auth'" ) from gluon . tools import PluginManager prefix = 'plugin_wiki_' keys = dict ( item for item in DEFAULT . items ( ) if not prefix + item [ 0 ] in globals ( ) ) plugins = PluginManager ( 'wiki' , * * keys ) globals ( ) . update ( dict ( ( prefix + key , keys [ key ] ) for key in keys ) )