Changes between Version 2 and Version 3 of WikiPageNames


Ignore:
Timestamp:
Dec 30, 2016, 2:54:47 AM (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiPageNames

    v2 v3  
    1 = Wiki ページ名 = #WikiPageNames
     1= Wiki Page Names
    22[[TracGuideToc]]
    33
    4 Wiki のページ名には通常、 CamelCase の仕様に従います。 Wiki テキストの中では、 CamelCase に相当するすべての単語が、同じ名前を持つ Wiki ページへのハイパーリンクになります。
     4Wiki 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.
    55
    6 CamelCase のページ名は以下のルールに沿っていなければなりません:
     6CamelCase page names follow these rules:
    77
    8  1. ページ名は '''アルファベットだけ''' で構成されていなければなりません。数字、空白文字、句点、アンダースコア ( _ ) などは許されていません。
    9  1. ページ名は少なくとも2つの大文字が含まれていなければなりません。
    10  1. 最初の文字は大文字でなければなりません。
    11  1. 大文字に続いて1文字以上、小文字が続いていなければなりません。
    12  1. スラッシュ ( / ) をページ名に含めることが許されています (階層構成を表すときなど)。
     8 1. The name must consist of '''alphabetic characters only'''; no digits, spaces, punctuation or underscores are allowed.
     9 1. A name must have at least two capital letters.
     10 1. The first character must be capitalized.
     11 1. Every capital letter must be followed by one or more lower-case letters.
     12 1. The use of slash ( / ) is permitted in page names, where it typically represents a hierarchy.
    1313
    14 CamelCase ルールに適合しない Wiki ページを生成したいならば、以下のシンタックスを使用することによってできます:
     14If you want to create a wiki page that does not follow CamelCase rules. you can use the following syntax:
    1515{{{
    1616 * [wiki:Wiki_page], [wiki:ISO9000],
    17    ラベル付: [wiki:ISO9000 ISO 9000 準拠]
     17   and with a label: [wiki:ISO9000 ISO 9000 standard]
    1818 * [wiki:"Space Matters"]
    19    ラベル付: [wiki:"Space Matters" all about white space]
    20  * またはシンプルに: ["WikiPageName"]s
    21  * さらに, 新しい [[WikiCreole link style]]
    22    ラベル付: [[WikiCreole link style|WikiCreole style links]]
     19   and with a label: [wiki:"Space Matters" all about white space]
     20 * or simply: ["WikiPageName"]s
     21 * even better, the [[WikiCreole link style]]
     22   and with a label: [[WikiCreole link style|WikiCreole style links]]
    2323}}}
    2424
    25 このように表示されます:
     25This will be rendered as:
    2626 * [wiki:Wiki_page], [wiki:ISO9000],
    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 においても採用されています)''
     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
     31 * even better, the [[WikiCreole link style]]
     32   and with a label: [[WikiCreole link style|WikiCreole style links]]
    3433
     34It is 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.
    3535
    36 Trac-0.11 以降では、 Wiki ページの特定 ''バージョン'' にリンクすることができます。リポジトリのファイルの特定バージョンにリンクするときと同じ要領で WikiStart@1 のように記述してください。
     36You can prevent a !CamelCase name from being interpreted as a [TracLinks link] by quoting it with an exclamation mark: `!CamelCase`. See TracLinks#EscapingLinks.
    3737
    38 CamelCase の名前をクオートすることによって [TracLinks Trac リンク] として解釈されないようにすることができます。 [TracLinks#EscapingLinks リンクをエスケープする]を参照して下さい。
     38As in the example above, you can append an anchor to a Wiki page name to link to a specific section within that page. The anchor can 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 is also possible to specify it explicitly: see WikiFormatting#using-explicit-id-in-heading.
    3939
    40 上記の例でも見られるとおり、ページ内の特定のセクションへのリンクを追加するために、 Wiki ページにアンカーをつけることもできます。アンカーはセクションのヘッダにマウスポインタをおくことによって簡単に見ることができます。そして、セクションヘッダ行末にある [[html(¶)]] をクリックできます。アンカーは通常自動で作成されますが、明示的に指定することも可能です: [WikiFormatting#using-explicit-id-in-heading 明示的な id] を参照して下さい。
     40There are a few options that govern the rendering of WikiPageNames:
     41* CamelCase linking to missing pages can be disabled with the `ignore_missing_pages` [https://trac.edgewall.org/wiki/TracIni#wiki-section option]. Linking to missing pages is enabled by default.
     42* The `split_page_names` option, when enabled, will split CamelCase words when rendering a link. For example, WikiStart will be rendered as [WikiStart Wiki Start].
     43
    4144----
    4245See also: WikiNewPage, WikiFormatting, TracWiki, TracLinks