#NEWLINE# def _get_wiki_api_urls( node , name , additional_urls = None ) : #NEWLINE# #INDENT# urls = { #NEWLINE# #INDENT# 'base' : node . api_url_for ( 'project_wiki_home' ) , #NEWLINE# 'delete' : node . api_url_for ( 'project_wiki_delete' , wname = name ) , #NEWLINE# 'rename' : node . api_url_for ( 'project_wiki_rename' , wname = name ) , #NEWLINE# 'content' : node . api_url_for ( 'wiki_page_content' , wname = name ) , #NEWLINE# 'settings' : node . api_url_for ( 'edit_wiki_settings' ) , #NEWLINE# 'grid' : node . api_url_for ( 'project_wiki_grid_data' , wname = name ) , #NEWLINE# #UNINDENT# } #NEWLINE# if additional_urls : #NEWLINE# #INDENT# urls . update ( additional_urls ) #NEWLINE# #UNINDENT# return urls