@@ -0,0 +1,622 @@
+# -*- coding: utf-8 -*-%0Aimport csv%0Aimport os%0A%0Aos.environ%5B'PYWIKIBOT_DIR'%5D = os.path.dirname(os.path.realpath(__file__))%0Aimport pywikibot%0A%0A%0Asite = pywikibot.Site()%0Asite.login()%0A%0Awith open('list.csv') as csvfile:%0A    reader = csv.reader(csvfile)%0A    for row in reader:%0A        title = row%5B0%5D%0A        content = '#REDIRECT %5B%5B%7B%7D%5D%5D'.format(row%5B1%5D)%0A        summary = '%E6%A9%9F%E5%99%A8%E4%BA%BA%EF%BC%9A%E9%87%8D%E5%AE%9A%E5%90%91%E5%88%B0%5B%5B%7B%7D%5D%5D'.format(row%5B1%5D)%0A        print('Create %7B%7D Content: %7B%7D Summary: %7B%7D'.format(title, content, summary))%0A%0A        newPage = pywikibot.Page(site, title)%0A        newPage.text = content%0A        # input()%0A        newPage.save(summary=summary, minor=False)%0A

Create create-redirect