From 07d74a087c2ff83f0879121fb2b46bd73d7fd608 Mon Sep 17 00:00:00 2001 From: vargenau Date: Mon, 9 Aug 2010 12:06:15 +0000 Subject: [PATCH] This is not true: content can be put before the plugin call git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7632 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/RedirectTo.php | 1 - pgsrc/Help%2FRedirectToPlugin | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/plugin/RedirectTo.php b/lib/plugin/RedirectTo.php index 35399b772..42e5c8fb3 100644 --- a/lib/plugin/RedirectTo.php +++ b/lib/plugin/RedirectTo.php @@ -25,7 +25,6 @@ * Usage: * <> * or <> - * at the VERY FIRST LINE in the content! Otherwise it will be ignored. * * Author: Reini Urban * diff --git a/pgsrc/Help%2FRedirectToPlugin b/pgsrc/Help%2FRedirectToPlugin index a46d70a5f..6f50aa48c 100644 --- a/pgsrc/Help%2FRedirectToPlugin +++ b/pgsrc/Help%2FRedirectToPlugin @@ -1,4 +1,4 @@ -Date: Mon, 9 Aug 2010 14:00:10 +0000 +Date: Mon, 9 Aug 2010 14:02:27 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; @@ -14,6 +14,7 @@ In other words it makes a page an //alias// for another page. When redirecting to another wiki page, a note is added to the top of the target page saying //(Redirected from SomeRedirectingPage)//. +Redirection to external URLs will only work on locked pages. == Arguments == @@ -36,12 +37,11 @@ Use only one of these arguments at a time. == Caveats == -The ~RedirectToPlugin invocation must be the first thing on a page. -For most purposes it makes any other content on the page inaccessible. +For most purposes, the ~RedirectToPlugin invocation makes any other content on the page inaccessible. == Example == -A page may be made a alias for the HomePage by placing this code at the top: +A page may be made a alias for the [[HomePage]] by using this code: {{{ <> }}} -- 2.45.0