Open new window of DokuWiki syntax: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 11: Line 11:
* modify the translation file (UTF-8 without BOM)
* modify the translation file (UTF-8 without BOM)
: inc/lang/en/edit.txt (or inc/lang/zh-tw/edit.txt)
: inc/lang/en/edit.txt (or inc/lang/zh-tw/edit.txt)
''Original code'':
<pre>
<pre>
Original: Edit the page and hit ''Save''. See [[wiki:syntax]] for Wiki syntax.
Edit the page and hit ''Save''. See [[wiki:syntax]] for Wiki syntax.
Suggest: Edit the page and hit ''Save''. See <html><a href="http://wiki.splitbrain.org/wiki:syntax" target="_blank">syntax</a></html> for Wiki syntax.
</pre>
 
''Modified code'':  
<pre>
Edit the page and hit ''Save''. See <html><a href="http://wiki.splitbrain.org/wiki:syntax" target="_blank">
syntax</a></html> for Wiki syntax.
</pre>
</pre>
: '''Note''': the wiki syntax include in the < html > region will disabled.
: '''Note''': the wiki syntax include in the < html > region will disabled.

Revision as of 00:58, 30 July 2006

<< DokuWiki(official FAQ)

DokuWiki v.2006-03-09+


點選DokuWiki 編修本頁(Edit this page) 按紐,進入文字編輯區。編輯區上方雖提供中文語法English syntax連結,卻以相同視窗開啟。以下說明如何改用新視窗開啟DokuWiki的語法說明網頁。

  • enable html markup
conf/local.php
$conf['htmlok']      = 1;
  • modify the translation file (UTF-8 without BOM)
inc/lang/en/edit.txt (or inc/lang/zh-tw/edit.txt)


Original code:

Edit the page and hit ''Save''. See [[wiki:syntax]] for Wiki syntax.

Modified code:

Edit the page and hit ''Save''. See <html><a href="http://wiki.splitbrain.org/wiki:syntax" target="_blank">
syntax</a></html> for Wiki syntax.
Note: the wiki syntax include in the < html > region will disabled.