DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:random_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:random_page [2022-12-01 17:53] 61.74.132.138plugin:random_page [2023-03-04 15:43] (current) Aleksandr
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: A Random Page Action plugin, like MediaWiki's Random Page function description: A Random Page Action plugin, like MediaWiki's Random Page function
-author     : Jean Marc Massou+author     : Jean Marc Massou, Pete Prodoehl
 email      : massou at gmail dot com email      : massou at gmail dot com
 type       : action type       : action
-lastupdate : 2009-01-03 +lastupdate : 2022-12-02 
-compatible : Binky+compatible : Igor,Binky
 depends    :  depends    : 
 conflicts  conflicts 
-similar    :  +similar    : randompage2 
-tags       : random page, random, mediawiki+tags       :  mediawiki, page, random
  
 downloadurl: https://github.com/dryoo/DokuWiki-randompage/zipball/master downloadurl: https://github.com/dryoo/DokuWiki-randompage/zipball/master
 +bugtracker : https://github.com/dryoo/DokuWiki-randompage/issues
 +sourcerepo : https://github.com/dryoo/DokuWiki-randompage/
 +screenshot_img :http://jeanmarcmassou.free.fr/random.png
 ---- ----
-{{http://jeanmarcmassou.free.fr/random.png}}{{http://jeanmarcmassou.free.fr/random.png}}{{http://jeanmarcmassou.free.fr/random.png}}{{http://jeanmarcmassou.free.fr/random.png}}{{http://jeanmarcmassou.free.fr/random.png}}{{http://jeanmarcmassou.free.fr/random.png}}+ 
  
  
Line 39: Line 42:
 <code php> <code php>
 <?PHP <?PHP
-echo '<a href=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"'. $conf['baseurl'] . $conf['basedir'] .'/doku.php?do=randompage" >'; +echo '<a href=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"'. $conf['baseurl'] . $conf['basedir'] .'/doku.php?do=randompage" >'; 
-?><img src=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"<?php echo DOKU_BASE?>lib/plugins/random_page/random.png" alt="Random"> A Random Page</a>+?><img src=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"<?php echo DOKU_BASE?>lib/plugins/random_page/random.png" alt="Random"> A Random Page</a>
 </code> </code>
  
Line 220: Line 223:
  
 <code> <code>
-        <form class="button" method="get" action=/cgi-bin/anon-www.cgi/http://www.dokuwiki.org/"<?php wl($ID)?>">+        <form class="button" method="get" action=/cgi-bin/anon-www.cgi/https://www.dokuwiki.org/"<?php wl($ID)?>">
           <div class="no">           <div class="no">
             <input type="submit" value="Random Page" class="button" />             <input type="submit" value="Random Page" class="button" />
plugin/random_page.1669913628.txt.gz · Last modified: 2022-12-01 17:53 by 61.74.132.138

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki