#NEWLINE# @ must_be_valid_project #NEWLINE# @ must_have_write_permission_or_public_wiki #NEWLINE# @ must_not_be_registration #NEWLINE# @ must_have_addon ( 'wiki' , 'node' ) #NEWLINE# def project_wiki_edit( wname , **kwargs ) : #NEWLINE# #INDENT# node = ( kwargs [ 'node' ] or kwargs [ 'project' ] ) #NEWLINE# return redirect ( ( node . web_url_for ( 'project_wiki_view' , wname = wname , _guid = True ) + '?edit&view&menu' ) )