Wiki: DebugInfo: OldMarkupTestPage


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

Querying backend directly for 'OldMarkupTestPage'

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

    [_basepage] => OldMarkupTestPage
    [_content] => Array
        (
            [0] => <div class="wikitext"><pre class="tightenable top bottom">
 New lists: asterisks, hash marks, and &quot;;text:def&quot;</pre>
<ul><li class="tightenable top bottom">bullet</li>
<li class="tightenable top bottom"><p class="tightenable top bottom">l1</p>
<ul><li class="tightenable top bottom">l2</li>
<li class="tightenable top bottom"><p class="tightenable top bottom">l2</p>
<ul><li class="tightenable top bottom">l3</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol><li class="tightenable top bottom">one</li>
<li class="tightenable top bottom">two</li>
<li class="tightenable top bottom">three</li>
</ol>
<dl><dt class="tightenable top">Term1</dt>
<dd class="tightenable bottom">definition1.1</dd>
<dd class="tightenable top bottom">defintion1.2</dd>
<dt class="tightenable top">Term2</dt>
<dd class="tightenable"><p class="tightenable top bottom">defintion2</p>
<dl><dt class="tightenable top">Term3</dt>
<dd class="tightenable bottom"><p class="tightenable top bottom">defintion3</p>
<dl><dt class="tightenable top">Term4</dt>
<dd class="tightenable bottom">definition4</dd>
<dd class="tightenable top bottom">defintion4.2</dd>
<dt class="tightenable top">Term5</dt>
<dd class="tightenable bottom">defintion5</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
<p class="tightenable bottom">Mixed:</p>
<ul><li class="tightenable top"><p class="tightenable top bottom">ul1</p>
<ol><li class="tightenable top bottom">ul1-ol1</li>
<li class="tightenable top bottom"><p class="tightenable top bottom">ul1-ol2</p>
<ul><li class="tightenable top bottom">ul1-ol2-ul1</li>
<li class="tightenable top bottom"><p class="tightenable top bottom">ul1-ol2-ul2</p>
<ul><li class="tightenable top bottom">ul1-ol2-ul2-ul1</li>
<li class="tightenable top bottom">ul1-ol2-ul2-ul1</li>
</ul>
</li>
</ul>
</li>
</ol>
</li>
<li class="tightenable bottom">l1</li>
</ul>
<pre class="tightenable top bottom">
 preformatted text</pre>
<blockquote class="tightenable top bottom"><ul><li class="tightenable top bottom">l2</li>
</ul>
</blockquote>
<hr />
<pre class="tightenable top bottom">
 old lists
        * level 1
        * l1
                *l2
                *l2
                        *l3
                        *l3
                                *l4
                        *l3
                                        *l5
                        *l3
        #one
        #two
                #one
                #two
        *l1
                #three
                #four
        *l1
                *l2
                # one
                # two

 preformatted text
 some more text

        *l1
                                *l4
        # number
        # number</pre>
<p class="tightenable top bottom">this is a plain paragraph</p>
<pre class="tightenable top bottom">
        * bullet</pre>
<p class="tightenable top bottom">this is a plain paragraph again</p>
<pre class="tightenable top bottom">
        # number</pre>
<hr />
<p class="tightenable top bottom"><strong>Link tests</strong></p>
<ol><li class="tightenable top bottom">normal: 
            [1] => cached_wikilink Object
                (
                    [_page] => HomePage
                )

            [2] => </li>
<li class="tightenable top bottom">in brackets: 
            [3] => cached_wikilink Object
                (
                    [_page] => HomePage
                )

            [4] =>  -- named: 
            [5] => cached_wikilink Object
                (
                    [_page] => HomePage
                    [_label] => the front page
                )

            [6] => </li>
<li class="tightenable top bottom">Link in brackets: 
            [7] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                )

            [8] => </li>
<li class="tightenable top bottom">Link outside brackets: 
            [9] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                )

            [10] => </li>
<li class="tightenable top bottom">Link with Wiki word: 
            [11] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/phpwiki/index.php?HomePage
                )

            [12] => </li>
<li class="tightenable top bottom">Two consecutive links: 
            [13] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                )

            [14] =>  
            [15] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/phpwiki/
                )

            [16] => </li>
<li class="tightenable top bottom">
            [17] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                    [_label] => PhpWiki on Sourceforge
                )

            [18] => </li>
<li class="tightenable top bottom">
            [19] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/phpwiki/index.php?RecentChanges
                    [_label] => URL with a WikiWord
                )

            [20] => </li>
<li class="tightenable top bottom">Javascript: 
            [21] => cached_wikilink Object
                (
                    [_page] => javascript:alert('oops')
                    [_label] => boo!
                )

            [22] =>   (is now: named internal link)</li>
<li class="tightenable top bottom">A [Link] produces a 
            [23] => cached_wikilink Object
                (
                    [_page] => Link
                )

            [24] => </li>
<li class="tightenable top bottom">A 
            [25] => cached_wikilink Object
                (
                    [_page] => Link
                )

            [26] =>  looks like this: [Link]</li>
<li class="tightenable top bottom">This is a 
            [27] => cached_wikilink Object
                (
                    [_page] => %%%
                )

            [28] =>  line break link</li>
<li class="tightenable top"><p class="tightenable top bottom">Also this page is [not linked to], and this one is NotLinkedTo and this one neither http://not.linked.to/.</p>
<ul><li class="tightenable top bottom">
            [29] => cached_wikilink Object
                (
                    [_page] => WikiName
                )

            [30] =>  - 
            [31] => cached_wikilink Object
                (
                    [_page] => WikiNameSameStem
                )

            [32] =>  -- !WikiName - !WikiNameSameStem</li>
<li class="tightenable top bottom">!WikiName - !WikiNameSameStem -- 
            [33] => cached_wikilink Object
                (
                    [_page] => WikiName
                )

            [34] =>  - 
            [35] => cached_wikilink Object
                (
                    [_page] => WikiNameSameStem
                )

            [36] => </li>
<li class="tightenable top bottom">
            [37] => cached_wikilink Object
                (
                    [_page] => WikiNameSameStem
                )

            [38] =>  - 
            [39] => cached_wikilink Object
                (
                    [_page] => WikiName
                )

            [40] =>  -- !WikiNameSameStem - !WikiName</li>
<li class="tightenable top bottom">!WikiNameSameStem - !WikiName -- 
            [41] => cached_wikilink Object
                (
                    [_page] => WikiNameSameStem
                )

            [42] =>  - 
            [43] => cached_wikilink Object
                (
                    [_page] => WikiName
                )

            [44] => </li>
</ul>
</li>
</ol>
<hr />
<p class="tightenable top">Markup tests:</p>
<p class="tightenable"><strong>underscores for bold</strong></p>
<p class="tightenable"><em>'quotes for bold</em>'</p>
<p class="tightenable"><em>quotes for italic</em></p>
<p class="tightenable"><strong><em>underscores bold italic</em></strong></p>
<p class="tightenable"><em></em>'five quotes bold italic<em></em>'</p>
<p class="tightenable"><em></em><em>six quotes</em><em></em></p>
<p class="tightenable"><em></em>'Bold italic<em>' and italic</em> (buggy)</p>
<p class="tightenable"><em>'Bold and </em>bold-italic<em></em>' (also buggy)</p>
<h2>h1</h2>
<h3>h2</h3>
<h4>h3</h4>
<p class="tightenable">this is plain text with <br /><br />
a line break</p>
<p class="tightenable">look at the &lt;a href=&quot;
            [45] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                )

            [46] => &quot;&gt;markup language&lt;/a&gt;</p>
<p class="tightenable">you cannot use &amp;, &lt; or &gt;</p>
<hr />
<p class="tightenable top">Usage in preformatted text:</p>
<pre class="tightenable bottom">
 <strong>underscores for bold</strong>
 <em>'quotes for bold</em>'
 <em>quotes for italic</em>
 <strong><em>underscores bold italic</em></strong>
 <em></em>'five quotes bold italic<em></em>'
 <em></em><em>six quotes</em><em></em>
 !!! h1
 !! h2
 ! h3
 this is plain text with <br /><br />
 a line break
 look at the &lt;a href=&quot;
            [47] => cached_externallink Object
                (
                    [_url] => http://phpwiki.sourceforge.net/
                )

            [48] => &quot;&gt;markup language&lt;/a&gt;
 you cannot use &amp;, &lt; or &gt;</pre>
</div>

        )

)
 hits  715
 locked  yes
get_versiondata('OldMarkupTestPage',1)
 %content  New lists: asterisks, hash marks, and " ...
 author  The PhpWiki programming team
 author_id  The PhpWiki programming team
 is_minor_edit   
 mtime  1082385962
 pagetype  wikitext

Copyright © 2007 RobertMelton.com