MediaWiki backup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
Input the all page name into [[Special:Export]], and export the all content as a XML file. Steps: | Input the all page name into [[Special:Export]], and export the all content as a XML file. Steps: | ||
# Generate the list of all page name: I modified the [http://www.mediawiki.org/wiki/Extension:DynamicWikiSitemap Extension:DynamicWikiSitemap] to [http://wiki.planetoid.info/lists.phps list.php] | # Generate the list of all page name: | ||
#* For newer MediaWiki: Use the [https://www.mediawiki.org/wiki/Extension:OneColumnAllPages Extension:OneColumnAllPages - MediaWiki] | |||
#* For MediaWiki 1.21.2: I modified the [http://www.mediawiki.org/wiki/Extension:DynamicWikiSitemap Extension:DynamicWikiSitemap] to [http://wiki.planetoid.info/lists.phps list.php] | |||
# Copy the list of all page name to [[Special:Export]] | # Copy the list of all page name to [[Special:Export]] | ||
# Export the ''latest'' revision of all pages (If you choose to include the all old revisions, it will | # Export the ''latest'' revision of all pages (If you choose to include the all old revisions, it will costs time to export the content.) | ||
Revision as of 06:58, 17 September 2018
MediaWiki | v.1.21.2+ |
Easy backup method
Input the all page name into Special:Export, and export the all content as a XML file. Steps:
- Generate the list of all page name:
- For newer MediaWiki: Use the Extension:OneColumnAllPages - MediaWiki
- For MediaWiki 1.21.2: I modified the Extension:DynamicWikiSitemap to list.php
- Copy the list of all page name to Special:Export
- Export the latest revision of all pages (If you choose to include the all old revisions, it will costs time to export the content.)
Other approach
similar approach