[pmwiki-users] Re: Wikified action lists
Bronwyn Boltwood
arndis at gmail.com
Tue Aug 2 22:35:40 CDT 2005
Here's a problem I've run into while wikifying the footer. I'd like
to know why this
$[Page last modified on {$LastModified}]
(:if auth edit:)
* [[{$Name}?action=edit | $[Edit Page]]]
* [[{$Name}?action=diff | $[Page History]]]
* (:if auth upload:) %item class=upload% [[{$Name}?action=upload |
$[Attach file]]]
* (:if auth attr:) %item class=attr% [[{$Name}?action=attr | $[Change
Attributes]]]
* %newwin% [[{$Name}?action=print | $[Printable View]]]
* %newwin% [[{$Name}?action=search&q=link={$FullName} | $[Backlinks]]]
* [[$[Recent Changes]]]
* [[$[Site/AllRecentChanges]]]
* %item class=feed% [[{$SiteGroup}/XML Feeds]]
* [[$[Site/Search]]]
(:if ! auth edit:)
* %newwin% [[{$Name}?action=print | $[Printable View]]]
* %newwin% [[{$Name}?action=search&q=link={$FullName} | $[Backlinks]]]
* [[$[Recent Changes]]]
* [[$[Site/AllRecentChanges]]]
* %item class=feed% [[{$SiteGroup}/XML Feeds]]
* [[$[Site/Search]]]
(:ifend:)
produces this, with auth edit:
<p>Page last modified on August 02, 2005, at 11:06 PM</p>
<p class='vspace'></p>
<p class='vspace'></p>
<ul>
<li><a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=edit'>Edit
Page</a></li>
<li><a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=diff'>Page
History</a></li>
<li class='upload' > <a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=upload'>Attach
file</a></li>
<li class='attr' > <a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=attr'>Change
Attributes</a></li>
<li> <a target='_blank' class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=print'>Printable
View</a></li>
<li>
<a target='_blank' class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Footer?action=search&q=link=Site.Footer'>Backlinks</a>
****Here is the weirdness -- why is there a vspace instead of a new UL?****
<p class='vspace'></p>
</li>
<li><a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/RecentChanges'>Recent
Changes</a></li>
<li><a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/AllRecentChanges'>AllRecentChanges</a></li>
<li class='feed' > <a class='createlinktext'
href='http://localhost/pmwiki-latest/testing/field.php/Site/XMLFeeds?action=edit'
title='Create page'>XML Feeds</a><a class='createlink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/XMLFeeds?action=edit'>?</a></li>
<li><a class='wikilink'
href='http://localhost/pmwiki-latest/testing/field.php/Site/Search'>Search</a></li>
</ul>
<p class='vspace'></p>
I can cope with the vspaces (using .novspace {display:none
!important;}), but why is it not just making a new UL, the way one
would expect it to?
Bronwyn
More information about the pmwiki-users
mailing list