[pmwiki-users] Again: looking to add more randomness
Comit
sam at usamedia.tv
Tue Feb 14 22:41:44 CST 2006
Well, here's the Random Page mod:
http://www.pmwiki.org/wiki/Cookbook/RandomPage
It's almost there. But as you can see you have to type in all the pages to
include.
In the example its:
(:randpage Banners/Banner1 Banners/Banner2 Banners/Banner3 MyBanner/Thing:)
Would be perfect if you could just do:
(:randpage Banners/*) meaning to include all pages.
Then I could just add a link to the nav bar which takes you to a page that
has nothing more than(:randpage Group/*), and viola, a random page.
As for the 'Did You Know', which is a higher priority at the moment (I guess
I should note that the wiki is used for a game me and my friends make, and
that the wiki plays a role in it). RandomQuote is perfect for displaying
*one* DYK.
http://www.pmwiki.org/wiki/Cookbook/RandomQuote
But only one, as you can see on my wiki. Adding the markup additional times
doesn't work. Here's a mediawiki page belonging to a friend of mine -
http://wiki.kenbro.net. If I understand the randomized 'Did You Know'
function is a popular mediawiki feature, but I'm struggling to find a way to
find a way to emulate that on pmwiki.
- Com | wiki.swcity.net
"Patrick R. Michaud" <pmichaud at pobox.com> wrote in message
news:20060215023132.GD6115 at host.pmichaud.com...
> On Tue, Feb 14, 2006 at 06:11:42PM -0800, Comit wrote:
>> Two features I wanted to add to make the wiki feel more dynamic and worth
>> visiting on a regular basis was a Random Page function and a Did You Know
>> list on the front page.
>
> Tell me how you want them to work and I'll see about a recipe for
> it. :-)
>
> Pm
More information about the pmwiki-users
mailing list