Annotated edit history of
RedirectToPlugin version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
AristotlePagaltzis |
1 |
! Syntax |
|
|
2 |
|
2 |
AristotlePagaltzis |
3 |
At the __very beginning__ of the content (otherwise it will be ignored):'''' |
1 |
AristotlePagaltzis |
4 |
|
|
|
5 |
<verbatim> |
|
|
6 |
<?plugin-head RedirectTo page|href=... ?> |
|
|
7 |
</verbatim> |
|
|
8 |
|
|
|
9 |
! Arguments |
|
|
10 |
|
|
|
11 |
<tt>page</tt>:: |
|
|
12 |
A wiki page name. |
|
|
13 |
<tt>href</tt>:: |
|
|
14 |
A [URI]. |
|
|
15 |
|
|
|
16 |
Either <tt>page</tt> or <tt>href</tt> must be defined. |
|
|
17 |
|
|
|
18 |
! Note |
|
|
19 |
|
|
|
20 |
Use this sparingly, because it blows monkey butter. Pages with redirects on them become inaccessible without addressbar editing, and they do not properly propagate their BackLinks to the redirected-to page or otherwise integrate with any wiki mechanisms in any way. (This is in contrast to ~MediaWiki's redirects, which actually work sanely.) |
|
|
21 |
|
|
|
22 |
! Examples |
|
|
23 |
|
|
|
24 |
<verbatim> |
|
|
25 |
<?plugin-head RedirectTo page=SomeOtherPage ?> |
|
|
26 |
<?plugin-head RedirectTo href=http://www.newzealand.com/ ?> |
|
|
27 |
</verbatim> |
|
|
28 |
|
|
|
29 |
---- |
|
|
30 |
PhpWikiDocumentation |