Mediawiki how to export all
From emboxit
Alternatively, a quick approach for those with access to a machine with Python installed: Go to Special:Allpages and choose the desired namespace. Save the entire webpage as index.php.htm. Some wikis may have more pages than will fit on one screen of AllPages; you will need to save each of those pages. Run export_all_helper.py in the same directory as the saved file. You may wish to pipe the output to a file; e.g. python export_all_helper.py > main to send it to a file named "main". Save the page names output by the script.
- export_all_helper.py
#!/bin/env python import re content = open('index.php.htm').read() findSpecialPages = re.compile('title="(\w.*?)"').findall print '\n'.join(findSpecialPages(content))
- Then using .cmd file or from command-prompt:
export_all_helper.py >> pages.txt
File:Export all helper.py-1.jpg
br>