TKM WIKI 使用培训
技术总监 廖斌
Liaobin@
2005-6-6
Wiki - 链接的世界
[[wiki]]
TKM 为什么要使用wiki
WIKI可以做到的:
知识的多视图组织
知识的分类
应对知识的变更
跟踪知识的增加、修改
维护人员自由发挥
TKM 为什么要使用wiki
Wiki不能做或支持的不好的:
所有类型文件的归档
友好的所见即所得编辑
MediaWiki功能介绍
Look and feel
Links with shortcuts, arrangement depends on skin
Skins: Different ways to present the site, can be expanded using PHPTal templates.
Monobook, a modern skin with accesskeys and tooltips
User styles: Users can adapt the look and feel of the site through custom CSS on their user pages.
"Stub" threshold: Users can see links to articles below a certain size rendered in a different color
Printable versions of articles can be generated
Auto-number headings in an article (optional)
Generate a table of contents for long articles (optional)
Automagically turn ISBN numbers into links to an editable list of booksellers
XHTML-compatible output (or darn close to it), tidy integration
MediaWiki功能介绍
Multimedia and extensions
File upload feature allows to upload graphics or sound files, see special:Upload to see in operation, and Uploading files for description. Uploaded files are listed on Recent Changes and they are also logged on log:Uploads.
Mathematical formulas using LaTeX syntax: see texvc
Automatic resizing of images using ImageMagick or libgd, simple syntax for image captions and image alignment
WikiHiero for Egyptian hieroglyphs
EasyTimeline for time charts
MediaWiki功能介绍
Keeping track of edits
Watchlist Every page has a link "Watch this article for me". Use special:Watchlist to track changes on the articles you declared an interest in; watched articles are also bolded in the Recent changes list .
User contributions in the sidebar of each user page list all articles the user has worked on, according to the database.
Extended recent changes with dynamic collapsing of edits to the same article and quick links to diff the edit, show the article history, show the user page, show the user talk page, or block the user (for sysops)
"Related changes": View a filtered version of Recent Changes to the pages linked from the current page.
Side-by-side diffs - the diffs are shown side-by-side, and changed portions of lines are highlighted, making it much easier to see what's what. Additionally, a diff is shown during an edit conflict so you can see exactly what you need to reintegrate.
Real names. Users can (optionally) specify a "real name" they want to use for author credits.
On-page credits. Administrators can enable an on-page paragraph giving credit to editors who've worked on a page.
MediaWiki功能介绍
Structure and syntax
By default, only restricted use of HTML is allowed. There is an option to allow full use of HTML.
Editing syntax based on UseMod, with support for mixing wiki-syntax and HTML. Only free links are supported for linking, not CamelCase (deliberate design decision).
Namespaces allow content separation (to address the namespace, use the [[Namespace:Page title]] syntax).
Discussion (Talk:) pages are separate from article pages, "meta" project pages can be separated from content pages, image pages are used for image descriptions.
MediaWiki: namespace contains all user interface texts, so that they can be edited like any other wiki page
Template: namespace for custom messages. Templates may contain string variables which are replaced with certain values passed to the template from the calling page.
Transclusion of arbitrary pages in any namespace: {{:Page Name}}. See Templates
Word-extension linking: If you include a link of the form [[war]]s, or [[war]]time, the system will automatically display it as if you had typed [[war|wars]] or [[war|wartime]], respectively, saving some typing.
Parenthetical hiding If you include a link of the form [[kernel (mathematics)|]], the parenthetical portion will be hidden in the link: kernel. This is useful for disambiguating different meanings of a word without making linking too difficult or cluttering up the text of articles. This also works with cropping out namespaces when you want a cleaner-looking link: [[Wikipedia:copyrights|]] becomes copyrights
Link to individual sections of an article, . MediaWiki roadmap#Version (these links may become invalid if sections are retitled or removed -- a modification that would mitigate this has been proposed (
Support for subpages (link to "Foo/Bar" from "Foo" by just typing "/Bar", "Foo/Bar" contains a backlink to "Foo"), these can be enabled or disabled by namespace (., Wikipedia currently supports subpages on discussion pages, to make archiving easy, and on user pages, to give users space for personal pages)
Special keywords for inserting dynamic data such as the name of the current page, the current date, the number of articles, etc.
Multiple Categories can be assigned to any page, including categories itself eventually creating a hierarchy of categories. Category pages automatically list all pages assigned to them including sub-categories. Categories allow classification and hierarchical browsing of the content.
MediaWiki功能介绍
Editing
Section editing. Users can enable an option that allows them to edit individual sections of an article (separated by headlines) instead of loading the entire article.
Edit toolbar (JavaScript-based) for formatting text as bold, italic etc. (fully works in Mozilla and IE, other browsers use it to show the syntax, but cannot format text inside the textarea because their JavaScript implementation does not support it). If JavaScript is disabled, the toolbar is not shown.
Edit summary which is shown in "Recent changes". Will be prefilled with section title when section editing.
Double click editing: Users can enable an option that allows them to edit articles by double clicking them.
Edit preview (can be shown before or after edit box)
Handle edit conflicts (page being saved by a user while still being edited by another one, then saved again). MediaWiki will merge changes automatically if possible and otherwise require the user to do a manual merge.
Mark edits as minor; users can decide to hide such edits from the Recent Changes list. Only signed in users can mark edits as minor.
Anti-spam Features: Prevent link spamming, and other forms of abusive editing.
Spam blacklist: List of spammer's domain names which users are not allowed to link to.
MediaWiki功能介绍
Discussions
Talk pages: Each user (including every anonymous user) and every article has an associated page where messages can be left. These are separate namespaces (see above), "Talk:" and "User talk:".
Message notification (user gets a "You have new messages" notice if someone else has edited their user discussion page); this also works for anonymous users
Automatic signature: Just type three tildes (~) when you edit, and on saving the page, it will be replaced with your user name and a link to your user page. If you use four tildes, the current date will be added as well. Mainly intended for Talk pages.
Support for emailing users through the wiki (email address not shown to the user)
MediaWiki功能介绍
Multilanguage support
Translated into many languages (see en:Wikipedia:Multilingual coordination for details)
Interlanguage links: handy method for linking articles between wikis in different languages (each language requires its own database)
UTF-8 support
MediaWiki功能介绍
Search and Queries
Full text search
"Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)
"What links here": View pages that link to the current page (backlinks)
Special report pages:
New pages: List of newly created articles
Ancient pages: Articles sorted by timestamp, ascending
List of images
List of users
Site statistics
Orphaned articles (articles that have no links pointing to them)
Orphaned images
Popular articles (articles by number of visits, works only if counters are enabled)
Most wanted articles (non-existent articles sorted by number of links pointing to them)
Short articles
Long articles
List of all pages by title
先订阅一份WIKI的变更吧
开始体验做一个维客之旅
先来点简单的HelloWorld
增加一个新页面-两种方式
通过文本链接来增加
通过url来增加(一般不建议)
好了,有了新页面
我想构建数据库的知识体系
先增加索引吧!
标题(自动标题,强制隐藏标题)
无序列表
有序列表
好,我们来添加Referencing
Links
Piped links
Interwiki linking
Variables
URLs
Anchors
构建链接到下级主题
采用[[]]标示
采用 标示
采用 标示时的说明文字
[ TKM主页]
使用变量
好了,我想更加美化一些数据库的知识体系页面
我想增加一个图如何办?
上传一个图
增加到页面中
附加话题:图上可以加热点吗?
增加表格来格式化文本
增加表格来分隔内容
再使用一些格式化的东西
Formatting
Formulas
Tables
HTML in wikitext
Image & File uploads
Image page
使用表格
如果熟悉HTML,就很简单 一个2x2典型的例子:
{|
|+标题
!width=12|111
!width=12|222
|----
|内容1
|内容2
|---- bgcolor=#FFCCCC
|内容2
|内容12
|}
<table> { }
<tr> |----
<td> |
使用表格
使用工具来生成
安装wikipedia for firefox
使用图片的高级技巧
好了一个页面做完了
我想组织许多页面组成的数据库知识内容
采用各种分类方式来提供检索能力
看看如何进行文档组织
组织段落
使用模版
采用分类
重定向
页面改名
页面命名空间
使用模版
模版的引用 {{xxx}}
何时使用模版?
命名空间{{ns:Template}}
查找已有的模版
自定义模版
模版中的变量使用
页面分类
何时使用分类
如何使用分类
构建新的分类
多重类别
编辑过程中的一些小问题
Fixing mistakes and vandalism
Reverting edits
Testing
使用待撰页面标示
在编辑过程中同其他人员沟通
Communicating
Edit summary
Talk page
Edit conflict
Minor edit
其他编辑中的问题
分隔
-------
签名
~~~~
分段编辑
好了,下面看看作为读者能做些什么
作为读者。。。
查询与全文检索
跟踪更改历史
查看点击排行
使用随机页面
参与投票
查看自己的贡献
增加自己的监控列表
参与特定页面讨论
一些管理功能
管理孤立页面
没有其他页面连接链接的页面,一般渠道无法检索到。
增加孤立页面的链接。
其他功能介绍
数学公式支持
SVG支持
特殊页面插件开发
一个页面中知识的多语言支持
ISBN书目查询支持
常见问题
是否能将HTML或WORD文件贴过来?
功能列表:
工作列表: