

def clone_wiki(self, node_id):
    'Clone a node wiki page.\n        :param node: The Node of the cloned wiki page\n        :return: The cloned wiki page\n        '
    node = Node.load(node_id)
    if (not node):
        raise ValueError('Invalid node')
    clone = self.clone()
    clone.node = node
    clone.user = self.user
    clone.save()
    return clone

dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/wiki/model.py NodeWikiPage.clone_wiki/original