Wiki: DebugInfo: RedirectToPlugin


Detailed view of a page, which is probably more useful for debugging than anything else.

Querying backend directly for 'RedirectToPlugin'

get_pagedata('RedirectToPlugin')
 _cached_html 
transformedtext Object
(
    [_type] => pagetype_wikitext Object
        (
        )

    [_basepage] => RedirectToPlugin
    [_content] => Array
        (
            [0] => <div class="wikitext"><p class="tightenable top">The 
            [1] => cached_wikilink Object
                (
                    [_page] => RedirectToPlugin
                )

            [2] =>  can be used to redirect a user to another page.
In other words it makes a page an <i>alias</i> for another page.</p>
<h4>Arguments</h4>
<p class="tightenable">Use only one of these arguments at a time.</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>page</th>
<td>The page to redirect to (a wiki page name).</td>
</tr>
<tr class="tightenable top"><th>href</th>
<td>An external URL to redirect to.  Redirection to external URLs will only work
on locked pages.  (If the URL contains funny characters, you'll probably have
to put quotes around the URL.)</td>
</tr>
</table>
<h4>Caveats</h4>
<p class="tightenable">The 
            [3] => cached_wikilink Object
                (
                    [_page] => RedirectToPlugin
                )

            [4] =>  invocation must be the first thing on a page.
For most purposes it makes any other content on the page inaccessible.</p>
<h4>Example</h4>
<p class="tightenable bottom">A page may be made a alias for the 
            [5] => cached_wikilink Object
                (
                    [_page] => HomePage
                )

            [6] =>  by placing this code at the top:</p>
<pre class="tightenable top">
&lt;?plugin RedirectTo page=&quot;HomePage&quot; ?&gt;</pre>
<p class="tightenable bottom">To see the example in action, visit 
            [7] => cached_wikilink Object
                (
                    [_page] => HomePageAlias
                )

            [8] => .</p>
<hr />
<p class="tightenable top">
            [9] => cached_wikilink Object
                (
                    [_page] => PhpWikiDocumentation
                )

            [10] => </p>
<p class="tightenable">&lt;small&gt;
            [11] => cached_wikilink Object
                (
                    [_page] => P
                )

            [12] => 
lesbo three way bisessuale orgy 
            [13] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060713181024/http://www.bfu.bg/site/files/?cla6/bisexualsbisexuals
                    [_label] => kinky
                )

            [14] =>  bisessuale</p>
<p class="tightenable">hairy pussy teens teen tits teen girls teen love 
            [15] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060706224941/http://www.bfu.bg/site/files/?cla6/teenteens
                    [_label] => black hot teens
                )

            [16] =>  teen chat</p>
<p class="tightenable">dirty lingerie intimate lingerie ladies sleepwear lingerie and underwear 
            [17] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060706171143/http://www.bfu.bg/site/files/?cla6/lingerylingerie
                    [_label] => lingerie bustiers
                )

            [18] =>  lace lingerie</p>
<p class="tightenable">schoolgirls hardcore sexy schoolgirl www schoolgirls com asian schoolgirl 
            [19] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060202101352/http://www.network54.com/index/56797
                    [_label] => thai schoolgirls
                )

            [20] =>  asian schoolgirl</p>
<p class="tightenable">black and white sex free black porn gallery ebony girls black pussy porn 
            [21] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060708155124/http://www.bfu.bg/site/files/?cla6/blackblack
                    [_label] => black woman
                )

            [22] =>  mature black porn</p>
<p class="tightenable">annunci transex milano absolute shemale galerias de transexuales shemale jerking 
            [23] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060713181215/http://www.bfu.bg/site/files/?cla6/ladyboystransexual
                    [_label] => transexual story
                )

            [24] =>  shemale video</p>
<p class="tightenable">rough rape rude video rude photographs rude nude 
            [25] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060708155018/http://www.bfu.bg/site/files/?cla6/raperough
                    [_label] => rude tgp
                )

            [26] =>  rough sex videos</p>
<p class="tightenable">
            [27] => cached_wikilink Object
                (
                    [_page] => |
                )

            [28] => </p>
<p class="tightenable">amateur nude webcams la webcam ifriends active webcam 
            [29] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060131191719/http://www.network54.com/index/56806
                    [_label] => ifriends
                )

            [30] =>  genius webcam</p>
<p class="tightenable bottom">&lt;/small&gt;</p>
</div>

        )

    [_description] => The RedirectToPlugin can be used to redirect a user to another page. In other words it makes a page an alias for another page.
)
 hits  748
get_versiondata('RedirectToPlugin',3)
 %content  The RedirectToPlugin can be used to redi ...
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186731709
 pagetype  wikitext
get_versiondata('RedirectToPlugin',2)
 %content  The RedirectToPlugin can be used to redi ...
 _supplanted  1186731709
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1184324252
 pagetype  wikitext
get_versiondata('RedirectToPlugin',1)
 %content  The RedirectToPlugin can be used to redi ...
 _supplanted  1184324252
 author  The PhpWiki programming team
 author_id  The PhpWiki programming team
 is_minor_edit   
 markup  2
 mtime  1045352818
 pagetype  wikitext

Copyright © 2007 RobertMelton.com