Difference between revisions of "MediaWiki backup"

From LemonWiki共筆
Jump to navigation Jump to search
m
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 takes time to import the content.)
+
# 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

Ψ 架設Wiki之前 --> MediaWiki安裝 --> 本地化設置 --> 介面修改 --> 功能擴充 --> 備份與管理 | 工具箱 Ψ

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:

  1. Generate the list of all page name:
  2. Copy the list of all page name to Special:Export
  3. 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