Jun 15, 2026

PmWiki

PmWiki

pmwiki.org

edit SideBar

Search

リンク

A key feature of WikiWikiWebs? is the ease of creating links to other places in the text of the document. PmWiki provides multiple mechanisms for creating such links.

WikiWikiWeb?ã®é‡è¦ãªç‰¹è‰²ã¯ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã®åŽŸæœ¬ã§ä»–ã®å ´æ‰€ã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹å®¹æ˜“ã•ã§ã™ã€‚ PmWikiã¯ãã®ã‚ˆã†ãªãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹è¤‡æ•°ã®ãƒ¡ã‚«ãƒ‹ã‚ºãƒ ã‚’æä¾›ã—ã¾ã™ã€‚

Links to other pages

ä»–ã®ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯

First, to create a link to another page, simply enclose the name of the page inside double brackets, as in [[wiki sandbox]] or [[installation]]. These result in links to wiki sandbox and installation?, respectively.

ã¾ãšæœ€åˆã«ã€åˆ¥ã®ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹ãŸã‚ã«ã€äºŒé‡æ‹¬å¼§ã§å˜ã«ãƒšãƒ¼ã‚¸ã®åå‰ã‚’åŒå°ã—ã¦ãã ã•ã„ã€[[wiki sandbox]]ã‚„[[installation]]ã®ã‚ˆã†ã«ã€‚ ã“れらã¯ãれãžã‚Œwiki sandboxã¨installation?ã¸ã®ãƒªãƒ³ã‚¯ã‚’ã‚‚ãŸã‚‰ã—ã¾ã™ã€‚

PmWiki ignores all spaces between words when creating a link from the text inside the double brackets, and will automatically capitalize words following spaces and other punctuation (like ~). Thus [[Wiki sandbox]], [[wiki sandbox]], and [[WikiSandbox]] all display differently but link to the same page - which is titled WikiSandbox.

PmWikiã¯ãƒ†ã‚­ã‚¹ãƒˆã‹ã‚‰äºŒé‡æ‹¬å¼§ã§ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹ã¨ãã€å˜èªžã®é–“ã®ã™ã¹ã¦ã®ç©ºé–“を無視ã—ã¦ã€è‡ªå‹•çš„ã«ã€ç©ºé–“ã«ç¶šãå˜èªžã¨ä»–ã®å¥èª­(~ã®ã‚ˆã†ãª)ã‚’å¤§æ–‡å­—ã§æ›¸ãã§ã—ょã†ã€‚ ãã®çµæžœã€[[Wiki sandbox]]ã€[[wiki sandbox]]ã€ãŠã‚ˆã³ã™ã¹ã¦ãŒç•°ãªã£ã¦è¡¨ç¤ºã—ã¾ã™ãŒã€åŒã˜ãƒšãƒ¼ã‚¸ã«ãƒªãƒ³ã‚¯ã™ã‚‹[[WikiSandbox]]--WikiSandboxã¨é¡Œã‚’ã¤ã‘られる。

In other words, when a page is created PmWiki will automatically create a WikiWord for its title, but links to the page will display as written.

è¨€ã„æ›ãˆã‚Œã°ã€ãƒšãƒ¼ã‚¸ãŒä½œæˆã•れるã¨ãã€PmWikiã¯ã‚¿ã‚¤ãƒˆãƒ«ã®ãŸã‚ã«è‡ªå‹•çš„ã«WikiWordを作æˆã™ã‚‹ã§ã—ょã†ãŒã€ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯ã¯æ›¸ã‹ã‚Œã¦ã„るよã†ã«è¡¨ç¤ºã™ã‚‹ã§ã—ょã†ã€‚

A suffix can also be added to the end of a link, which becomes part of the link text but not the target. Thus [[wiki sandbox]]es is still a link to WikiSandbox but displays as wiki sandboxes. And you can put parentheses around any text you don't want to have displayed, so that [[(wiki) sandbox]] still links to WikiSandbox but displays as sandbox.

ã¾ãŸã€ãƒªãƒ³ã‚¯ã®ç«¯ã«æŽ¥å°¾èªžã‚’加ãˆã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚(リンクã¯ç›®æ¨™ã§ã¯ãªãã€ãƒªãƒ³ã‚¯ãƒ†ã‚­ã‚¹ãƒˆã®ä¸€éƒ¨ã«ãªã‚Šã¾ã™)。 ã—ãŸãŒã£ã¦ã€[[wiki sandbox]]esã¯ãれã§ã‚‚ã€WikiSandboxã¸ã®ãƒªãƒ³ã‚¯ã«ã‚‚ã‹ã‹ã‚らãšã€wiki sandboxesã¨ã—ã¦è¡¨ç¤ºã§ã™ã€‚ ãã—ã¦ã€ã‚ãªãŸã¯ã‚ãªãŸãŒè¡¨ç¤ºã—ãŸããªã„ã©ã‚“ãªãƒ†ã‚­ã‚¹ãƒˆã®å‘¨ã‚Šã®æ‹¬å¼§ã‚’ç½®ãã“ã¨ãŒã§ãã¾ã™ã€[[(wiki) sandbox]]㌠sandboxã¨ã—ã¦ã¾ã WikiSandboxã«ã‚‚ã‹ã‹ã‚らãšã€è¡¨ç¤ºã«ãƒªãƒ³ã‚¯ã•れã¦ã„るよã†ã«ã€‚

Finally, you can specify the link text via a vertical brace, thus [[WikiSandbox |a play area]], which links to WikiSandbox but displays as a play area. Alternately, you can use an arrow (->) to reverse the order of the text and target, as in [[a play area -> WikiSandbox]] (a play area).

最終的ã«ã€ã‚ãªãŸã¯åž‚ç›´ãªæ”¯æŸ±ã€ãã®çµæžœa play areaã¨ã—ã¦WikiSandboxã«ã‚‚ã‹ã‹ã‚らãšã€è¡¨ç¤ºã«ãƒªãƒ³ã‚¯ã•れる[[WikiSandbox |a play area]]を通ã—ã¦ãƒªãƒ³ã‚¯ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ 交互ã«ã€ã‚ãªãŸã¯ãƒ†ã‚­ã‚¹ãƒˆã¨ç›®æ¨™ã®æ³¨æ–‡ã‚’逆ã«ã™ã‚‹ã®ã«ã€çŸ¢(->)を使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€[[a play area -> WikiSandbox]](a play area)ã®ã‚ˆã†ã«ã€‚

Some sites also recognize WikiWord links, in which a WikiWord appearing in the text is automatically treated as a link to a page of the same name.

ã¾ãŸã€ã„ãã¤ã‹ã®ã‚µã‚¤ãƒˆãŒWikiWordリンクをèªè­˜ã—ã¾ã™ã€‚ãã“ã§ã¯ã€ãƒ†ã‚­ã‚¹ãƒˆã«è¼‰ã£ã¦ã„ã‚‹WikiWordãŒè‡ªå‹•çš„ã«åŒã˜1ページã®åå‰ã¸ã®ãƒªãƒ³ã‚¯ã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚

Links to external sites (URLs)

外部ã®ã‚µã‚¤ãƒˆã¸ã®ãƒªãƒ³ã‚¯ (URLs)

Links to external sites simply begin with a prefix such as 'http:', 'ftp:', etc. Thus http://www.google.com/ and [[http://www.google.com/]] both link to Google. As with the above, an author can specify the link text by using the vertical brace or arrow syntax, as in [[http://www.google.com/ | Google]] and [[Google -> http://www.google.com]].

外部ã®ã‚µã‚¤ãƒˆã¸ã®ãƒªãƒ³ã‚¯ã¯ã€'http:'ã¨ã接頭語ãŒãã®ã‚ˆã†ãªçŠ¶æ…‹ã§å˜ã«å§‹ã¾ã£ã¦ã€'ftp:'ã€ãªã©ã€‚ ãã®çµæžœã€http://www.google.com/ ã¨ä¸¡æ–¹ãŒGoogleã«ãƒªãƒ³ã‚¯ã™ã‚‹[[http://www.google.com/]]。 上記ã«ã‚ˆã£ã¦ã€ä½œè€…ã¯åž‚ç›´ãªæ”¯æŸ±ã‹çŸ¢ã®æ§‹æ–‡ã‚’使用ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ã€ãƒªãƒ³ã‚¯ãƒ†ã‚­ã‚¹ãƒˆã‚’指定ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€[[ http://www.google.com/ | Google]]ã¨[[Google -> http://www.google.com]]]ã®ã‚ˆã†ã«ã€‚

InterMap links are also supported (see InterMap).

Links to specific locations within a page

To define a location within a page to which you may jump directly, use the markup [[#name]]. This will create an "anchor" that uniquely identifies that location in the page. Then to have a link jump directly to that anchor, use one of

  • [[#name|link text]] within the same page, or
  • PageName#name or [[PageName#name|link text]] for a location on another page

You may find the form [[PageName(#name)]] more useful than [[Pagename#name]] as the former hides the anchor text while the latter displays it.

Links that open a new browser window

These are particularly useful for links to external sites where you want to keep the window to your Wiki open, allowing users to return to your site easily.

  • %newwin% http://www.pmichaud.com produces this link: http://www.pmichaud.com
  • %newwin% Main.WikiSandbox produces this link: Main.WikiSandbox

You can also specify that links should open in a new window via the target attribute:

    %target=_blank% Any links on this line like http://www.pmichaud.com 
    will open in a new window. 

which gives

ã©ã‚Œã€ä»˜ä¸Ž

Any links on this line like http://www.pmichaud.com will open in a new window.
Anyã¯http://www.pmichaud.com ãŒæ–°ã—ã„窓ã§é–‹ãよã†ã«ã“ã®ç·šã«ãƒªãƒ³ã‚¯ã—ã¾ã™ã€‚

(This method is described in WikiStyles). (ã“ã®ãƒ¡ã‚½ãƒƒãƒ‰ã¯WikiStylesã§èª¬æ˜Žã¦ã„ã¾ã™).

<< ãƒšãƒ¼ã‚¸ã®æ–°è¦ä½œæˆ | PmWikiJa.ドキュメント目次 | wikiページ内ã®ç”»åƒ >>

Page Actions

Recent Changes

Group & Page

Back Links