个人工具
119.28.94.63
该IP地址的讨论
登录
查看“Ubuntuguide XML exports”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“Ubuntuguide XML exports”的源代码
来自Ubuntu中文
←
Ubuntuguide XML exports
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
=== Introduction === Ubuntuguide, like Wikipedia and many other websites, uses [[Ubuntu:All#MediaWiki|MediaWiki]]. It is easy to export pages in XML format and then import them into another wiki. While the XML files may also be able to be imported to other wikis such as Moin Moin and Twiki, I have not tried it. (I have edited recent versions of Ubuntuguide to be as consistent as possible with both MediaWiki and Moin Moin formatting, but there are subtle differences between the two so that I cannot guarantee compatibility with Moin Moin). === Export Ubuntuguide wiki pages into an XML file === *Examine the list of wiki pages available at Ubuntuguide: :Ubuntuguide.org -> Toolbox: Special Pages -> Lists of pages: All pages Many of these pages will not be necessary for your private copy. Copy only the names of the wiki pages files you wish to export. The recommended list is below. *Export the desired pages from Ubuntuguide as an XML export: :Ubuntuguide.org wiki -> Toolbox: Special Pages -> Page tools: Export pages (Note: This list of (English-language) wiki pages was accurate for the recent Lucid version. You may want to check all pages to see if something you want is missing from this list.) {{Ubuntuguide_Lucid_wikipages}} :-> Include only the current revision, not the full history (''ticked'') -> Offer to save as a file: (''ticked'') -> Export -> Save file :-> ''Ubuntuguide-xxxxx''.xml :[[Ubuntuguide_page_lists|Here]] is a list of the primary wiki pages for several different editions of Ubuntuguide. === Import the Ubuntuguide XML into a local wiki === *Import the Ubuntuguide XML export file into the local wiki: :Local wiki -> log in -> Username: ''wikiadmin'' -> Password: ''wikiadminpassword'' -> Log in :-> Special Pages -> Page Tools -> Import pages -> Browse -> ''Ubuntuguide-xxxxx''.xml -> Open -> Upload file *Edit the Main Page of the wiki and add a link to the online Ubuntuguide as well as the imported copy: <nowiki>*[[Ubuntu:Lucid|Ubuntuguide Lucid (local copy for editing)]]</nowiki> <nowiki>*[http://ubuntuguide.org/wiki/Ubuntu:Lucid Ubuntuguide Lucid (online)]</nowiki> The idea is to edit the locally stored Ubuntuguide as you customize your system. It can also serve as a template and an example of how to use the MediaWiki wiki. *Edit the local copy of Ubuntuguide to hide irrelevant links. In MediaWiki, use the <nowiki><!---></nowiki> and <nowiki><---></nowiki> tags to comment out instructions or text that should not be displayed. Example: :Ubuntuguide Lucid (local copy for editing) -> edit -> <pre> <!--->{{LucidLynxLanguageBar|languages=Languages:|InProgress=In progress:}}<---> </pre> == Can I do this? == Sure. Knock yourself out. This site is licensed under the [http://www.gnu.org/copyleft/fdl.html Free Documentation License], so you can take whatever you want, except for the name (which is and has been reserved to this site for many years). Improve the site, if you can. Add pictures, videos, or whatever. If your wiki is (or will be) accessible publicly or from the Internet, just be sure to name the site something other than Ubuntuguide or Ubuntu Guide (or anything indistinguishable). Those are legally protected names specific to this site (and trademarks are not open under the FDL).
该页面使用的模板:
模板:Ubuntuguide Lucid wikipages
(
查看源代码
)
返回至
Ubuntuguide XML exports
。