UNC links/ja

From MediaWiki.org
Jump to: navigation, search

Universal Naming Convention(ユニバーサルネーミングコンベンション)、もしくはUNCは共有ファイル、ディレクトリ、プリンタといったネットワークリソースの位置を記述するための共通の構文を指定します。Windowsシステム用のUNC構文は次の通りです: \\ComputerName\Shared Folder\Resource Name

UNLはprotocol:接頭辞を持たず、埋め込みスペースを含むことができる点でURLと異なります。企業におけるMediawikiの利用において、UNCをWindows Explorerから直接wikiページにペーストすることが便利なことはよくあります。

[edit] リンクの方法

説明 入力 出力
UNC link, with title {{unc | \\ComputerName\Shared Folder\Resource Name | The resource}} The resource
UNC link, unnamed {{unc | \\ComputerName\Shared Folder\Resource Name}} [1]

[edit] インストレーション

ParserFunctionsStringFunctionsエクステンションをインストールします。

次のコードをLocalSettings.phpに追加して下さい:

array_push($wgUrlProtocols, "file:");

Template:Uncというテンプレートを作成し(Template:Uncを検索してCreate this pageをクリックして下さい)、次のテキストをページの内容に貼って下さい:

[file:{{#replace:{{{1}}}| |%20}} {{#if:{{{2|}}}|{{{2}}}}}]

[edit] 関連項目

Wikipedia-logo.png Wikipedia: Path (computing)


言語: English  • Français • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox