特殊:Badtitle/NS100:FrozenWiki:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/FrozenWiki}} | {{From|https://help.ubuntu.com/community/FrozenWiki}} | ||
{{Languages|UbuntuHelp:FrozenWiki}} | {{Languages|UbuntuHelp:FrozenWiki}} | ||
* Created: | <<Include(Tag/Moving)>> | ||
* Created: <<Date(2005-10-06T21:00:10Z)>> by JaneWeideman | |||
* Priority: NeedsPriority | * Priority: NeedsPriority | ||
* People: NeedsLead, NeedsSecond | * People: NeedsLead, NeedsSecond | ||
第12行: | 第13行: | ||
* Depends: | * Depends: | ||
* Dependents: | * Dependents: | ||
<<FullSearch>> | |||
* BoF sessions: none yet | * BoF sessions: none yet | ||
=== Summary === | === Summary === | ||
第30行: | 第31行: | ||
== Current Implementation == | == Current Implementation == | ||
* '''Parser''' | * '''Parser''' | ||
<ol><li>fetches pagelist | |||
</li><li>scans for attachments | |||
</li><li>parsed pages | |||
</li><li>sourround parsed pages with a template | |||
</li><li>converts links to local pages | |||
</li><li>copies linked attachments into a attachment folder | |||
</li><li>adjust attachment links and references | |||
</li><li>adjust links to template content</li></ol> | |||
* '''Overwrite Script''' | * '''Overwrite Script''' | ||
<ol><li>scans the ''raw_content'' directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions | |||
</li><li>copy template related images and so on into a local img folder</li></ol> | |||
== Distributing == | == Distributing == | ||
A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository. | A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository. | ||
第55行: | 第58行: | ||
=== Outstanding issues === | === Outstanding issues === | ||
=== BoF agenda and discussion === | === BoF agenda and discussion === | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 15:15的最新版本
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FrozenWiki }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/af | • {{#if: UbuntuHelp:FrozenWiki|Afrikaans| [[::FrozenWiki/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ar | • {{#if: UbuntuHelp:FrozenWiki|العربية| [[::FrozenWiki/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/az | • {{#if: UbuntuHelp:FrozenWiki|azərbaycanca| [[::FrozenWiki/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/bcc | • {{#if: UbuntuHelp:FrozenWiki|جهلسری بلوچی| [[::FrozenWiki/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/bg | • {{#if: UbuntuHelp:FrozenWiki|български| [[::FrozenWiki/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/br | • {{#if: UbuntuHelp:FrozenWiki|brezhoneg| [[::FrozenWiki/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ca | • {{#if: UbuntuHelp:FrozenWiki|català| [[::FrozenWiki/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/cs | • {{#if: UbuntuHelp:FrozenWiki|čeština| [[::FrozenWiki/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/de | • {{#if: UbuntuHelp:FrozenWiki|Deutsch| [[::FrozenWiki/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/el | • {{#if: UbuntuHelp:FrozenWiki|Ελληνικά| [[::FrozenWiki/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/es | • {{#if: UbuntuHelp:FrozenWiki|español| [[::FrozenWiki/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/fa | • {{#if: UbuntuHelp:FrozenWiki|فارسی| [[::FrozenWiki/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/fi | • {{#if: UbuntuHelp:FrozenWiki|suomi| [[::FrozenWiki/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/fr | • {{#if: UbuntuHelp:FrozenWiki|français| [[::FrozenWiki/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/gu | • {{#if: UbuntuHelp:FrozenWiki|ગુજરાતી| [[::FrozenWiki/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/he | • {{#if: UbuntuHelp:FrozenWiki|עברית| [[::FrozenWiki/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/hu | • {{#if: UbuntuHelp:FrozenWiki|magyar| [[::FrozenWiki/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/id | • {{#if: UbuntuHelp:FrozenWiki|Bahasa Indonesia| [[::FrozenWiki/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/it | • {{#if: UbuntuHelp:FrozenWiki|italiano| [[::FrozenWiki/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ja | • {{#if: UbuntuHelp:FrozenWiki|日本語| [[::FrozenWiki/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ko | • {{#if: UbuntuHelp:FrozenWiki|한국어| [[::FrozenWiki/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ksh | • {{#if: UbuntuHelp:FrozenWiki|Ripoarisch| [[::FrozenWiki/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/mr | • {{#if: UbuntuHelp:FrozenWiki|मराठी| [[::FrozenWiki/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ms | • {{#if: UbuntuHelp:FrozenWiki|Bahasa Melayu| [[::FrozenWiki/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/nl | • {{#if: UbuntuHelp:FrozenWiki|Nederlands| [[::FrozenWiki/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/no | • {{#if: UbuntuHelp:FrozenWiki|norsk| [[::FrozenWiki/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/oc | • {{#if: UbuntuHelp:FrozenWiki|occitan| [[::FrozenWiki/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/pl | • {{#if: UbuntuHelp:FrozenWiki|polski| [[::FrozenWiki/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/pt | • {{#if: UbuntuHelp:FrozenWiki|português| [[::FrozenWiki/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ro | • {{#if: UbuntuHelp:FrozenWiki|română| [[::FrozenWiki/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/ru | • {{#if: UbuntuHelp:FrozenWiki|русский| [[::FrozenWiki/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/si | • {{#if: UbuntuHelp:FrozenWiki|සිංහල| [[::FrozenWiki/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/sq | • {{#if: UbuntuHelp:FrozenWiki|shqip| [[::FrozenWiki/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/sr | • {{#if: UbuntuHelp:FrozenWiki|српски / srpski| [[::FrozenWiki/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/sv | • {{#if: UbuntuHelp:FrozenWiki|svenska| [[::FrozenWiki/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/th | • {{#if: UbuntuHelp:FrozenWiki|ไทย| [[::FrozenWiki/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/tr | • {{#if: UbuntuHelp:FrozenWiki|Türkçe| [[::FrozenWiki/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/vi | • {{#if: UbuntuHelp:FrozenWiki|Tiếng Việt| [[::FrozenWiki/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/yue | • {{#if: UbuntuHelp:FrozenWiki|粵語| [[::FrozenWiki/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/zh | • {{#if: UbuntuHelp:FrozenWiki|中文| [[::FrozenWiki/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/zh-hans | • {{#if: UbuntuHelp:FrozenWiki|中文(简体)| [[::FrozenWiki/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FrozenWiki | UbuntuHelp:FrozenWiki | {{#if: | :}}FrozenWiki}}/zh-hant | • {{#if: UbuntuHelp:FrozenWiki|中文(繁體)| [[::FrozenWiki/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:FrozenWiki|:FrozenWiki|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FrozenWiki/zh | | {{#ifexist: FrozenWiki/zh | | {{#ifeq: {{#titleparts:FrozenWiki|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FrozenWiki|1|-1|}} | zh | | }}
<<Include(Tag/Moving)>>
- Created: <<Date(2005-10-06T21:00:10Z)>> by JaneWeideman
- Priority: NeedsPriority
- People: NeedsLead, NeedsSecond
- Contributors: JaneWeideman
- Interested:
- Status: BrainDump
- Branch: UbuntuTrack
- Malone bug:
- Packages affected:
- Depends:
- Dependents:
<<FullSearch>>
- BoF sessions: none yet
Summary
For the German LoCoTeam i've written a MoinMoin exporter script. You can try out the exporter function by via rsync:
rsync -rv rsync://ubuntuusers.de/ubuntu-de-wiki destination_directory
The online wiki version (for comparison) is located at wiki.ubuntuusers.de. \sh contacted me with the whish to extend this script for all locoteam MoinMoin installations out there.
Implementation Problems
Currently the exporter script requires some special macros only available on the German and Italian MoinMoin installation. This macro implements a simple thumbnailer and caching tool. It uses the common attachment system but the current exporter only converts attachments included by this tag. The next problem on the list is a better searchindex. The current version implements a local searchengine using AJAX and a searchindex. But the indexer don't know stopwords and only scans german text with umlauts. The german locoteam also disabled Camel``Case Links and has created all System-Pages from scratch. So RecentChanges has moved To Wiki/Letzte_Änderungen and so on. Some pages like RecentChanges are senseless in a local version. This should get replaced by static html pages, fetching the RSS Recent Changes Feed over AJAX. Pages like FindPage should get replaced by a static html Java``Script Seach page... Pages where the default user (user All) has no access the parser quits this with "You don't have access to this page". I'm working on parsing the ACL rules for finding out if the parser has to convert this page.
Current Implementation
- Parser
- fetches pagelist
- scans for attachments
- parsed pages
- sourround parsed pages with a template
- converts links to local pages
- copies linked attachments into a attachment folder
- adjust attachment links and references
- adjust links to template content
- Overwrite Script
- scans the raw_content directory and copies all files over the parsed files. This ensures that Pages Like "FindPage" get replace by static html file containing the search functions
- copy template related images and so on into a local img folder
Distributing
A good way would be a small GTK/Qt Application which helps the user to fetch the documentation and keeps it up to date. The german team does this with rsync and a documenation debian repository. If this project gets approved it would be cool to distribute the Wiki Snapshots over a official Server. All the LoCoTeams have to do is to convert there pages with the exporter script and sync them with the official server via rsync.
Contact
For question and answers contact me via email or on freenode.