[pmwiki-users] Link to random page/article

Robert Riebisch rr at bttr-software.de
Thu Nov 28 04:00:28 PST 2019


Hi,

how can I mimic Wikipedia's https://en.wikipedia.org/wiki/Special:Random
in PmWiki?

What I tried:
1) Added to Side.SiteBar:
	* [[Main/RandomPage|Zufällige Seite]]
2) Created Main.RandomPage:
	(:pagelist order=random count=1 fmt=#include list=normal:)

It works, but not like on Wikipedia, because it doesn't redirect the
browser to the random page. Therefore the pages's title is always
RandomPage and can't edit the random page directly.

I would like to have such a feature to make users aware of other content
and encourage updating possibly outdated articles.

Thanks in advance!

Cheers,
Robert
-- 
              +++ BTTR Software +++
     Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/



More information about the pmwiki-users mailing list