DokuWiki

It's better when it's simple

用户工具

站点工具


侧边栏

本页面的其他翻译?:

了解DokuWiki

进阶使用

商用

我们的社区


Facebook, Twitter 或其他社交网络上关注我们。

我们的隐私政策

zh:tips

DokuWiki 提示和技巧

这里汇集了 DokuWiki 所有可能用到的提示和技巧。

:!: 知识组织方法:

  • 为每个页面填写描述信息,然后在本页分类。
  • 查看外部链接,删除无效链接,尽可能将外部链接内容整合到 dokuwiki.org 上
    如有必要,重写内容,删除过时信息。

翻译者请注意: 更新提示页时,请用索引(index)按钮查看本地化的页面在 :tips 命名空间内有哪些。请在本页内包含到所有提示页。谢谢。

使用技巧

链接 简介
TailorWikiRules 安装 DokuWiki 后的最佳实践
Syncing with Unison 用 unison 同步两个维基
timezone 设置服务器时区
mailconfig 使邮件工作的技巧
commonlogin 在同一台服务器上的不同维基间共享授权验证数据
Displaying blank rows in tables 在表格中显示空行
Good Style 如何在 DokuWiki 上养成来一个良好的写作习惯
upgrading_old_versions 如何升级旧版的 DokuWiki (2005-*)
ShowMediaFromExternalUpload 如何通过多媒体管理器以外的方式上传文件并显示

语法扩展

大部分技巧都是针对新解析器进行调整,一旦离开这个范围就会失效。而插件系统通常效果会更好。

链接 简介
magnet links 将外部链接显示 DC++ 磁链
links-to-dokuwiki-commands 在维基内容里添加 “DokuWiki 操作” (?do=) 链接
tex_howto 此补丁 (对于 2005-05-07 版本) 为 DokuWiki 添加 AMSLaTeX 数学表达式支持

布局和样式扩展

有些提示可以通过新的模板更好的扩展。鼓励重写。

链接 简介
Top Bar 添加一个如 dokuwiki.org 站点的顶部工具条
CustomQuoting 更改引用样式
format_user Using CN from client certificate when displaying username
Disabling link icons 关闭维基间链接和非维基链接图标
Descriptions in RSS aggregator Add the beginning of every RSS article in the list
Code CSS 用于语法高亮的 CSS 样式
geshi_style_builder Geshi 样式构建
XHTML5 转换为 XHTML 5
XHTML Strict 如何转换为严格 XHTML 1.0
Toc use position fixed 当用户滚屏时,目录不随之滚动,而是固定在屏幕上。
numbered headings Numbered headings per CSS only
back to top 每个标题前面添加返回顶部链接
Local links with icons 本地链接启用图标
image-in-the-upper-right-corner 定制右上角的 DokuWiki 图标
code-in-ordered-lists 有序列表中包含代码
tableswithrowspans2 Tables with Rowspan Support
Tables with Rowspan Another way of providing Rowspan support in tables.
rowspansfix Yet another way to make rowspan possible
rowspansfix2 Yet another way to make rowspan possible
Adjust iframe heights An additional JavaScript for the iframe plugin to make iframes as high as needed for their content
Using CSS to Style Headers General tips, case uses and structure info for styling headers with CSS.
Display the changes for each entry in the recent list Display a diff of the last and the current version for each entry in the recent list]]
printpreview 维基内容预览;全屏打印用法
double-click-to-edit 双击打开局部便捷(扩展)
Simple Columns 不用插件实现列的扩展
Button Align 如何对齐<button>元素?
Additional InterWiki Shortcuts 分享您的维基间链接快捷形式

增加新功能

Link Short Description
Auto Subscribe a Mailinglist Auto Subscribe a user to a mailinglist after registration
Better Email Notifications Receive HTML-formatted email notifications for page changes
Clean Notification Scheme Clarify notification scheme: namespace subscribers on new page, page subscribers on update
IP-based ACLs Assign access rights based on IP or network of the connecting client.
BrowserLanguageDetection Change the UI language automatically
transliteration Transliterate Cyrillic texts to Latin
PDF Export PDF export using html2ps and pstopdf
Print View Button make use of ?do=export_html
tpl_button for print view Adds an tpl_button for print_view
User Link use an extra wiki-page for users
.htaccess authentication Use .htaccess authentication instead of the login form
.htaccess authentication 2 As above with support for UserManager
HTTP-Auth Passthru Adding http-auth-functionality to your existing ACL-setup
Chained Authentication Use a sequence of authentication backends (e.g. LDAP then plain )
StickyExportHtml Make do=export_html “sticky” for HTML-only browsing
Html only view Similar to previous. uses .htaccess rewrite for that
discussion Creates a link or button in your template that leads to a separate discussion-page (like e.g. Wikipedia does provide)
safely include php code Allow PHP code to be included in pages created by superuser only
Page Statistics Add page and media file logging to DokuWiki
Tiny Page Logging Add simple logging to DokuWiki
NLS Adding unofficial National Language Support (NLS) for DokuWiki
Summary Enforcement Require the user to enter a summary (or check minor edit)
ToolbarButton How to add your own button to the toolbar
homepages Autocreate user homepages when add/modify user accounts
wordcounter Add a word-/charcounter to the edit form
mediamanager and filesize Append the size of the mediamanager selected file to the wikilink
media_attached media upload is attached to each page
template_chooser A simple dropdown box in editmode allows you to paste content from a template into the current document
login_instead_of_forbidden Show the login form when accessing a restricted page
display_acls Display ACLs in page footer
action_menu Action menu like in MoinMoin Wiki
export_html Export multiple pages to HTML
newssystem A News System. Based on this a plugin was developed: a NEWS System.
subscription Prevent Email Of Changes to Subscribed Author
phashLogin Allows “GET” login with a phash password. Useful with RSS readers for example.
Integrate TinyURL Automatically create a short URL for every page
LDAP and usemanager ldap.class.php modification so that the usermanager plugin can display the LDAP users
usermanager and chained auth Manage each authentication method used by the chained method through the usermanager
Filter Recent Changes Allows you to filter the list of 'Recent Changes' by username (for version 2008-05-05)
Filter Recent Changes Allows you to filter the list of 'Recent Changes' by username (for version 2009-02-14)
Separate Admin Login Use a special admin login, which cannot read or edit pages
User Pages Give everyone AUTH_EDIT on a page within a special namespace, where that page is their name
ClickNShow Hide/Show Headers clicking on them
Minor Edit by default Set the “Minor Edit” check mark by default
viewcounter Adds a simple pageview counter
Make a book How to make a book with DokuWiki
Namespace Clouds DokuWiki Cloud Plugin Namespace Discrimination Patch
Copy Section Link An easy way to copy each section link (with JavaScript)
pageaccueil Creates a home page that lists categories of wiki to create a new page in the category chosen. Also allows to Create a new category.
gallery Generate a gallery from images in a namespace, can create and save thumbnails

同其他软件集成

内容管理系统和论坛

Link Short Description
Mambo CMS How to integrate DokuWiki with Mambo CMS (Spanish)
Joomla Bridge
(german)
Bridge (authorization module) for using Joomla users in DokuWiki (Also available for Joomla 1.5)(doesn't exist anymore)
Joomla Integration Full User Integration of DokuWiki and Joomla with no iframes! new ;-) (doesn't exist anymore)
Drupal Authentication backend will enable your DokuWiki to authenticate using the Drupal database.
BLOG:CMS BLOG:CMS integrates DokuWiki with Weblog, Forum and Gallery in one package
TextMate Bundle Edit pages inside Textmate
Absolut Engine DokuWiki bridging module has been created to allow seamless integration of DokuWiki into Absolut Engine CMS.
glFusion CMS DokuWiki Integration Plugin that allows seamless integration of DokuWiki into glFusion.

只有论坛

Link Short Description
phpBB How to integrate DokuWiki with phpBB's authentication
phpBB 3.0.x How to integrate DokuWiki with phpBB3s authentication
Invision Power Board IPB 2.x How to integrate DokuWiki with IPB 2.x authentification
Integrate with SMF SMF (Simple Machines Forum) Integration
Vanilla (Error 404) Lets Vanilla take care of all the user management, including sessions

问题追踪

Link Short Description
GForge A plugin for using DokuWiki in GForge
Mantis Integration How to integrate DokuWiki with Mantis Bugtracker
Flyspray Flyspray Authentication Integration
Eventum Integration How to integrate DokuWiki with Eventum Issue Tracker
eventum Eventum link plugin
Trac A very dirty way to force Trac and DokuWiki to interact with each other.

其他

Link Short Description
Synchronise with Tomboy How to synchronize Tomboy with DokuWiki
Integrate DokuWiki to your website As read-only pages
Edit DokuWiki with text editors using FUSE and Python Untested and potentially buggy.
Researchr Framework for integrating DokuWiki with BibDesk and Skim for academic note taking and citation management

交互脚本和工具

Link Short Description
DokuWiki Setup Easy/automatic installation/upgrade - also fixing safe-mode issues
Maintenance Cronjobs to keep your wiki clean
Backup Script A small shellscript to backup your wiki data and media, including rotation.
BackupToS3 A small ruby script to backup your wiki to Amazon's data storage system S3.
UpgradeScript A small script to make DokuWiki updates simpler
Weblog bookmarklet A JavaScript/PHP combination to post in DokuWiki like regular weblogs
imap2wiki A small PHP script to give users the opportunity to post by email
DokuVimKi VIM Plugin that allows editing of wiki pages over XML-RPC + Syntax highlighting for DokuWiki syntax
vimkeys Key Bindings for [G]Vim
fixperms.php make webserver created files writable by everyone
mail2page create pages and upload media by email
romanize romanize files in datadir
DokuWiki2HtmlHelp Converts a DokuWiki website into a Compiled HTML Help file (.chm) complete with table of contents and index
jEdit An edit mode for jEdit that does syntax highlighting for headlines, character formats, lists and links
CLI DokuWiki command line utilities
recreate wiki change log How to recreate your wiki change log from individual page change logs
readINIfile How to solve problem with parse_ini_file disabled
fixmtime Fix modification times based on timestamps (to avoid the external edit syndrome)
clean_acl Clean up non-existing users and pages in the ACL
Clean Media Directory A little Perl script to clean up orphaned files in the Media-Directory
Logging in to retrieve pages with cURL Quick howto on retrieving pages that require logging in with curl.
Extract external links A small PHP script to extract all external links (with surrounding context) from the wiki
Add an Autolink page A small Perl Script to (re)builds link on chosen words each nights
Automatic build reports A bash script that compiles/builds a project and reports the result to the wiki
GourceDokuPicture of the edition of a wiki with Gource
topcontributors A shell snippet to create a list of the top contributors to the wiki
locateorphanmedia How to get a listing of all orphaned media ie.: media files that are not linked to in your wiki
Page Annotate A script to give you idea who edited which line in page. Uses git as a tool to do the trick
Mysql For All An off-wiki webpage script to provide users the ability to generate mysql queries for use in wiki plugins. Users do not need to know the database structure or mysql syntax.
Dokuwiki orphans Help you find pages with no links towards them and links to non existant pages in order to keep your Wiki clean.

从其他源码导入

维基

维基源码 简介
ChuWiki A Python script for ChuWiki conversion
ErfurtWiki A PHP script for ewiki (ErfurtWiki) conversion
JSPWiki A plugin to import JSPWiki pages
JSPWiki (again) A pair of scripts to convert a directory of JSPWiki pages
MediaWiki Converts MediaWiki to DokuWiki
MoinMoin Python and PHP scripts for MoinMoin conversion.
Perspective A python script, must be run from Windows
TikiWiki A PHP script for TikiWiki conversion.
trac A PHP script for trac's wiki conversion
TWiki A TWiki to DokuWiki conversion script
Wakka Wiki A Perl script for Wakka Wiki conversion
Zwiki A Perl script for Zwiki conversion
docpdf2dokuwiki A Perl script for importing pdf and doc

其他

Link Description
uploadcodedir Uploading a directory of code to DokuWiki
table_editing How to import your data into tables
Wikemail a script to import email into DokuWiki
OpenOffice Macro converts an OpenOffice document to DokuWiki format
OpenOffice v2 Macro converts an OpenOffice document to DokuWiki format, adapted for OOo v2
OpenOfficeMacro both of the above macros do not convert embedded pictures - this one does
Writer2Dokuwiki converts an OpenOffice document to DokuWiki format (doesnt fully support lists)
Writer2Dokuwiki (IT-Bayer's version) (in German) converts an OpenOffice document to DokuWiki format
Calc2Dokuwiki Exports selected ranges of cells from OpenOffice.org Calc into tables formatted in DokuWiki code. Tool available as an extension (OOo 2.1.x) and a macro (OOo 1.x-2.x)
HTMLtoWiki How to convert HTML to DokuWiki syntax
Excel to DokuWiki converter This makro based tool contains parameters on first worksheet to allow the user some customization. Paste your table into another worksheet, select the cells as usual and run the makro to Export it as DW Syntax including styling. Information also available here within DokuWiki at: Excel Macro
csv2dwt A script that converts Comma Separated Values (CSV) to DokuWiki's Table format (DWT)
csv2dokuwiki Converts CSV input (tab separated) into DokuWiki's table syntax (in Java)
xls2wiki A script that converts XLS copied data to DokuWiki's Table format (DWT) and vice versa
doc_to_wiki_syntax Convert folders with Ms Word Doc files to DokuWiki Syntax
Word to Dokuwiki converter Here you can download the latest Version of this Doc containing the makro to Export it as DW Syntax. Some Information provided here within the DokuWiki at word_makro.
Former versions provided by Tania Hew ⇒ Word to DokuWiki Converter improves upon the two macros above as it is a Word template that allows one to click a button in MS Word to convert a Word document, including images, to DokuWiki format (see Portfolio section on website)
Word Macro adaptation converts an MS Word document to DokuWiki format - improved conversion (for English Word) plus adaptation for German Word
word2wiki Convert Microsoft Word document content to Wiki markup

杂项

Link Description
blacklist_test This little script helps to check a text against the blacklist
blogging This page describes the steps necessary to get you started with blogging in DokuWiki
bookmarklets JavaScript based wiki page editing helpers
default text search Add default text for the search box
disabled_functions Patch if your webhost doesn't support glob or readfile
DwExport DokuWiki export to static HTML pages including images and CSS formatting. ⇒ http://sourceforge.net/projects/dwexport/ Only v0.2
farm How to make DokuWiki a wiki farm
htdigestauth Setting up htdigest user identification
simplegooglesearch Replace DokuWiki internal search form with Google search
spell_checker_713 Aspell Personal Wordlists and Release 2005-07-13 (seems old)
svg.php This is a plugin to DokuWiki to allow collaborative generation of SVG images. (Make it a plugin if possible/useful)
utf8update DokuWiki UTF8 conversion
export2twiki Convert DokuWiki syntax into twiki format for exporting
phpwithgd This page describes how to solve issues caused by missing gdlib support in PHP

怎么办

不需要插件或者修改。

链接 简介
weather 显示来自 https://wttr.in/ 的天气信息
zh/tips.txt · 最后更改: 2021-05-27 04:42 由 hfl