2: 2008-04-07 (月) 20:15:51 nonn50 | 3: 2008-04-07 (月) 20:24:40 nonn50 | ||
---|---|---|---|
Line 55: | Line 55: | ||
**redirect [#f7877c85] | **redirect [#f7877c85] | ||
- | :概要| | ||
- | 非公開サイトなどから、PukiWiki Plus! でリンクを貼った場合に、 Refererが漏れるのを防ぐために、リダイレクトする機能を提供するプラグインです。 | ||
- | リダイレクト元が自サイト(パスまでチェック)の場合のみ、リダイレクト機能が働きます。したがって、Refererが無い場合もリダイレクト機能が働きません。 | ||
- | :書式| | + | ;( 判らない?? By nonn50 |
- | #redirect(キャプション,URL,IMG) | + | |
- | &redirect(キャプション,URL,IMG); | + | |
- | :引数| | + | |
- | |パラメータ|説明|補足| | + | |
- | |キャプション|リンク文字列を指定|| | + | |
- | |URL|リンクしたいURL|必須| | + | |
- | |IMG|画像を利用したい場合に指定|任意| | + | |
- | :使い方| | + | -下記の二種類の redirect.inc.php が存在し、xpWikiはどちらなのか判りません。 |
- | -&redirect(お試しサイト,http://cafelounge.net/dev/plusi18n/); | + | |
- | &redirect(お試しサイト,http://cafelounge.net/dev/plusi18n/); | + | ちなみに、どちらの書式で書いても動作しない様子です。 |
- | :pukiwiki.ini.php| | + | |
- | 以下の設定を 1 にすることで、Plus! 本体が変換する際のリンクをリダイレクト変換するようになります。 | + | --[[自作プラグイン/redirect.inc.php>http://pukiwiki.sourceforge.jp/?%E8%87%AA%E4%BD%9C%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%2Fredirect.inc.php]] |
- | // PKWK_USE_REDIRECT - When linking outside, Referer is removed. | + | |
- | if (! defined('PKWK_USE_REDIRECT')) | + | --[[Plugin/redirect.inc.php>http://pukiwiki.cafelounge.net/plus/?Plugin%2Fredirect.inc.php]] |
- | define('PKWK_USE_REDIRECT', 0); | + | |
- | :著作権表示| | + | |
- | (c)2006 upk | + | |
**region [#d3737fb6] | **region [#d3737fb6] |
ぺージ情報 | |
---|---|
ぺージ名 : | xpWiki/追加PluginManual/O-R |
ページ別名 : | 未設定 |
ページオーナー : | nao-pon |
閲覧可 | |
グループ : | すべての訪問者 |
ユーザー : | すべての訪問者 |
編集可 | |
グループ : | すべての訪問者 |
ユーザー : | すべての訪問者 |