WikiPageNames のバージョン 1 とバージョン 2 との変更
- 日時:
- 2015/05/27 0:24:03 (11年前)
凡例:
- 変更なし
- 追加
- 削除
- 更新
-
WikiPageNames
v1 v2 1 = Wiki Page Names =1 = Wiki ページ名 = #WikiPageNames 2 2 [[TracGuideToc]] 3 3 4 Wiki page names commonly use the CamelCase convention. Within wiki text, any word in CamelCase automatically becomes a hyperlink to the wiki page with that name.4 Wiki のページ名には通常、 CamelCase の仕様に従います。 Wiki テキストの中では、 CamelCase に相当するすべての単語が、同じ名前を持つ Wiki ページへのハイパーリンクになります。 5 5 6 CamelCase page names must follow these rules:6 CamelCase のページ名は以下のルールに沿っていなければなりません: 7 7 8 1. The name must consist of '''alphabetic characters only'''. No digits, spaces, punctuation, or underscores are allowed.9 2. A name must have at least two capital letters.10 3. The first character must be capitalized.11 4. Every capital letter must be followed by one or more lower-case letters.12 5. The use of slash ( / ) is permitted in page names (possibly representing a hierarchy).8 1. ページ名は '''アルファベットだけ''' で構成されていなければなりません。数字、空白文字、句点、アンダースコア ( _ ) などは許されていません。 9 1. ページ名は少なくとも2つの大文字が含まれていなければなりません。 10 1. 最初の文字は大文字でなければなりません。 11 1. 大文字に続いて1文字以上、小文字が続いていなければなりません。 12 1. スラッシュ ( / ) をページ名に含めることが許されています (階層構成を表すときなど)。 13 13 14 If you want to create a wiki page that doesn't follow CamelCase rules you can use the following syntax:14 CamelCase ルールに適合しない Wiki ページを生成したいならば、以下のシンタックスを使用することによってできます: 15 15 {{{ 16 16 * [wiki:Wiki_page], [wiki:ISO9000], 17 and with a label: [wiki:ISO9000 ISO 9000 standard]17 ラベル付: [wiki:ISO9000 ISO 9000 準拠] 18 18 * [wiki:"Space Matters"] 19 and with a label: [wiki:"Space Matters" all about white space]20 * or simply: ["WikiPageName"]s21 * even better, the new[[WikiCreole link style]]22 and with a label: [[WikiCreole link style|WikiCreole style links]]19 ラベル付: [wiki:"Space Matters" all about white space] 20 * またはシンプルに: ["WikiPageName"]s 21 * さらに, 新しい [[WikiCreole link style]] 22 ラベル付: [[WikiCreole link style|WikiCreole style links]] 23 23 }}} 24 24 25 This will be rendered as:25 このように表示されます: 26 26 * [wiki:Wiki_page], [wiki:ISO9000], 27 and with a label: [wiki:ISO9000 ISO 9000 standard]28 * [wiki:"Space Matters"] ''( that page name embeds space characters)''29 and with a label: [wiki:"Space Matters" all about white space]30 * or simply: ["WikiPageName"]s ''(old !MoinMoin's internal free links style)''31 * even better, the new[[WikiCreole link style]]32 and with a label: [[WikiCreole link style|WikiCreole style links]]33 ''( since 0.12, also now adopted by !MoinMoin)''27 ラベル付: [wiki:ISO9000 ISO 9000 準拠] 28 * [wiki:"Space Matters"] ''(ページ名にスペースが含まれています)'' 29 ラベル付: [wiki:"Space Matters" all about white space] 30 * または、シンプルに: ["WikiPageName"]s ''(古い !MoinMoin 内部の自由なリンク形式)'' 31 * さらに, 新しい [[WikiCreole link style]] 32 ラベル付: [[WikiCreole link style|WikiCreole style links]] 33 ''(0.12 以降, 現在 !MoinMoin においても採用されています)'' 34 34 35 35 36 Starting with Trac 0.11, it's also possible to link to a specific ''version'' of a Wiki page, as you would do for a specific version of a file, for example: WikiStart@1. 36 Trac-0.11 以降では、 Wiki ページの特定 ''バージョン'' にリンクすることができます。リポジトリのファイルの特定バージョンにリンクするときと同じ要領で WikiStart@1 のように記述してください。 37 37 38 You can also prevent a CamelCase name to be interpreted as a TracLinks, by quoting it. See TracLinks#EscapingLinks. 38 CamelCase の名前をクオートすることによって [TracLinks Trac リンク] として解釈されないようにすることができます。 [TracLinks#EscapingLinks リンクをエスケープする]を参照して下さい。 39 39 40 As visible in the example above, one can also append an anchor to a Wiki page name, in order to link to a specific section within that page. The anchor can easily be seen by hovering the mouse over a section heading, then clicking on the [[html(¶)]] sign that appears at its end. The anchor is usually generated automatically, but it's also possible to specify it explicitly: see WikiFormatting#using-explicit-id-in-heading. 40 上記の例でも見られるとおり、ページ内の特定のセクションへのリンクを追加するために、 Wiki ページにアンカーをつけることもできます。アンカーはセクションのヘッダにマウスポインタをおくことによって簡単に見ることができます。そして、セクションヘッダ行末にある [[html(¶)]] をクリックできます。アンカーは通常自動で作成されますが、明示的に指定することも可能です: [WikiFormatting#using-explicit-id-in-heading 明示的な id] を参照して下さい。 41 41 ---- 42 42 See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks
![(please configure the [header_logo] section in trac.ini)](/python/trac/mypz/chrome/common/trac_logo_mini.png)