Shortcut links provide a quick way of linking to resources frequently referenced from Confluence. When you create a shortcut link, you are assigning a key to a URL so that when a user edits Confluence documents they can type the key instead of the complete URL.

次のような例があります。

ほとんどの Google 検索は、http://www.google.com/search?q= のようになります。"google" キーを使用してこの検索のショートカットを作成する場合、ユーザーは毎回 http://www.google.com/search?q=searchterms を使用する代わりに、[searchterms@google] と入力するだけですみます。

Here is a screenshot showing the shortcuts currently defined on http://confluence.atlassian.com:

Shortcut links are added and maintained by Confluence administrators from the Administration Console.

ショートカット リンクの作成手順

  1. Go to the Administration Console and click Shortcut Links in the left panel.
  2. ショートカットのキーを入力します。これは、ユーザーが URL を参照するために使用するショートカット名です。
  3. 拡張値を入力します。これがリンクのための URL です。URL 内に '%s' を使用してユーザーの入力が挿入される場所を指定することができます。URL 内に '%s' がない場合、ユーザーの入力は末尾に挿入されます。
  4. (Optional. Available in Confluence version 2.3 and later.) Enter a Default Alias. This is the text of the link which will be displayed on the page where the shortcut is used, with the user's text being substituted for '%s'.
  5. Click Save.



Using Shortcut Links:

Specify in the link what should go on the end of the shortcut URL, followed by an at-sign (@) and the key of the shortcut. Shortcut names are case-insensitive. So, for example, using the keys shown in the above screenshot:

リンク先

入力内容

結果の URL

デモ

JIRA 課題

[CONF-1000@JIRA]

http://jira.atlassian.com/secure/QuickSearch.jspa?searchString=CONF-1000

CONF-1000

Google 検索

[Atlassian Confluence@Google]

http://www.google.com/search?q=Atlassian+Confluence

Atlassian Confluence@Google

Shortcut links can have titles just like any other link:

リンク先

入力内容

結果の URL

デモ

Internet Movie Database

[Fight Club|tt0137523@IMDB]

http://us.imdb.com/Title?tt0137523

Fight Club

Google Cache

[Cached Homepage|www.atlassian.com@cache]

http://www.google.com/search?q=cache:www.atlassian.com

Cached Homepage


Deleting Shortcut Links:

Once you have created a shortcut link, it is listed under Shortcut Links in the Administration Console. Click Remove to delete the shortcut.