Wiki: DebugInfo: CreateTocPlugin


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

Querying backend directly for 'CreateTocPlugin'

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

    [_basepage] => CreateTocPlugin
    [_content] => Array
        (
            [0] => <div class="wikitext">
            [1] => cached_plugininvocation Object
                (
                    [_pi] => <?plugin CreateToc jshide||=1 ?>
                    [_tightenable] => 1
                )

            [2] => <p class="tightenable">
            [3] => cached_wikilink Object
                (
                    [_page] => WikiPlugin
                )

            [4] =>  to create a dynamical <b>Table Of Contents</b> of all headers. Since v1.3.8</p>
<h3>Usage</h3>
<pre class="tightenable top">
     &lt;?plugin CreateToc ?&gt;
     &lt;?plugin CreateToc jshide||=1 with_toclink||=1 ?&gt;</pre>
<h3>Plugin Arguments</h3>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th><strong>jshide</strong>:</th>
<td>Boolean if the TOC should be initially hidden and on click expanded. Default: 0</td>
</tr>
<tr class="tightenable top bottom"><th><strong>with_toclink</strong>:</th>
<td>Boolean if headers should link back to the TOC. Default: 0</td>
</tr>
<tr class="tightenable top bottom"><th><strong>headers</strong>:</th>
<td>Which headers to include.  Default: !!!,!!,!    1,2,3 also allowed</td>
</tr>
<tr class="tightenable top bottom"><th><strong>noheader</strong>:</th>
<td>Boolean if the &quot;Table of Contents&quot; h2 header should be omitted. Default: 0</td>
</tr>
<tr class="tightenable top bottom"><th><strong>liststyle</strong>:</th>
<td>dl or ol or ul. Default: dl</td>
</tr>
<tr class="tightenable top bottom"><th><strong>indentstr</strong>:</th>
<td>Default: &amp;nbsp;&amp;nbsp;</td>
</tr>
<tr class="tightenable top"><th><strong>pagename</strong>:</th>
<td>TOC of which page? Default: current pagename</td>
</tr>
</table>
<h3>Known Problems</h3>
<p class="tightenable">If any header contains a link or a WikiWord or non-word characters, CreateToc will print a warning and refuse to link this header.</p>
<h3>Examples</h3>
<p class="tightenable">See for example 
            [5] => cached_interwikilink Object
                (
                    [_link] => PhpWikiDemo:en/TextFormattingRules
                )

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

            [8] => 

            [9] => cached_wikilink Object
                (
                    [_page] => |
                )

            [10] => </p>
<p class="tightenable">big boobs and tits perky teen tits bouncy tits nips 
            [11] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060707153111/http://www.bfu.bg/site/files/?cla6/bobsnipples
                    [_label] => inverted nipples
                )

            [12] =>  tits com</p>
<p class="tightenable">japanese artwork jap japanese dolls english japanese 
            [13] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060202095145/http://www.network54.com/index/56656
                    [_label] => japanese sex videos
                )

            [14] =>  japanese adult movie</p>
<p class="tightenable">erotic comics nifty erotic www erotic lesbian stories 
            [15] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060706000216/http://www.bfu.bg/site/files/?cla6/storiesstories
                    [_label] => adult stories
                )

            [16] =>  erotic sex stories</p>
<p class="tightenable">cartoon cartoon walt disney cartoon funny cartoons sex family guy cartoon porn 
            [17] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060131190229/http://www.network54.com/index/56651
                    [_label] => mr cartoon
                )

            [18] =>  homer simpson cartoons</p>
<p class="tightenable">
            [19] => cached_wikilink Object
                (
                    [_page] => |
                )

            [20] => </p>
<p class="tightenable">hotties shemalecenter shemail absolute shemale 
            [21] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060205100853/http://www.network54.com/index/56730
                    [_label] => chicks with dicks pics
                )

            [22] =>  tit fucking</p>
<p class="tightenable">smoking sexy smoke fetish smoking pics teen smoking 
            [23] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060707181337/http://www.bfu.bg/site/files/?cla6/smokingsmoking
                    [_label] => smokin movies
                )

            [24] =>  smoking chicks</p>
<p class="tightenable">brother fuck sister incest free incest sister brother sister incest video sister incest story 
            [25] => cached_externallink Object
                (
                    [_url] => http://web.archive.org/web/20060203093445/http://www.network54.com/index/56723
                    [_label] => sister in law incest
                )

            [26] =>  free incest brother sister</p>
<p class="tightenable bottom">&lt;/small&gt;</p>
</div>

        )

)
 hits  837
get_versiondata('CreateTocPlugin',4)
 %content  <?plugin CreateToc jshide||=1 ?> WikiPl ...
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1186709466
 pagetype  wikitext
get_versiondata('CreateTocPlugin',3)
 %content  <?plugin CreateToc jshide||=1 ?> WikiPl ...
 _supplanted  1186709466
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1184035093
 pagetype  wikitext
get_versiondata('CreateTocPlugin',2)
 %content  <?plugin CreateToc jshide||=1 ?> WikiPl ...
 _supplanted  1184035093
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1183064482
 pagetype  wikitext
get_versiondata('CreateTocPlugin',1)
 %content  <?plugin CreateToc jshide||=1 ?> WikiPl ...
 _supplanted  1183064482
 author  The PhpWiki programming team
 author_id  The PhpWiki programming team
 is_minor_edit   
 markup  2
 mtime  1082385959
 pagetype  wikitext

Copyright © 2007 RobertMelton.com