Difference between revisions of "MediaWiki backup"

From LemonWiki共筆
Jump to navigation Jump to search
Line 2: Line 2:
  
 
{{Wiki version| wiki_engine=MediaWiki | version=1.21.2 }}
 
{{Wiki version| wiki_engine=MediaWiki | version=1.21.2 }}
Easy backup method: Input the all page name into [[Special:Export]]
+
'''Easy backup method'''
  
* Generate the list of all page name
+
Input the all page name into [[Special:Export]], and export the all content as a XML file. Steps:
: 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: 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]]
 
+
# Export the ''latest'' revision of all pages (If you choose to include the all old revisions, it will takes time to import the content.)
* 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.)
 
  
  

Revision as of 20:34, 12 September 2015

Ψ 架設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: I modified the Extension:DynamicWikiSitemap to list.php
  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 takes time to import the content.)


Other approach


similar approach