User Tools

Site Tools


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
random_page [2023/05/31 21:45] adminrandom_page [2023/06/01 14:15] (current) admin
Line 1: Line 1:
-==== dummy ==== +==== generate a random page ==== 
-To generate a random page +After installing https://www.dokuwiki.org/plugin:randompage2, appending ''?do=randompage'' or ''?do=nsrandompage'' to page url will redirect to a random page within the wiki or within the namespace respectively. 
-  * install https://www.dokuwiki.org/plugin:randompage2 + 
-    * Append ''?do=randompage'' or ''?do=nsrandompage'' to the page url. This will redirect to a random page within the wiki or within the namespace respectively. +For example, https://www.kamaraju.xyz/dk/start?do=randompage will redirect to a randompage in this wiki and https://www.kamaraju.xyz/dk/public/sotm/start?do=nsrandompage will redirect to a randompage within the public/sotm namespace. 
-    For example, https://www.kamaraju.xyz/dk/start?do=randompage will redirect to a randompage in this wiki and https://www.kamaraju.xyz/dk/public/sotm/start?do=nsrandompage will redirect to a randompage within the public/start namespace. + 
-  install https://www.dokuwiki.org/plugin:shortcutkey +Further, if you install the ShortcutKey Plugin (https://www.dokuwiki.org/plugin:shortcutkey) and map 
-    * Admin -> Configuration Settings -> Plugin -> Shortcutkey ->  + 
-      Set "Shortcut key to show random page within current namespace (Randompage plugin is required)to N +  Set Shortcut key to show random page within current namespace (Randompage plugin is required)” to N 
-      Set "Shortcut key to show random page (Randompage plugin is required)to A +  Set Shortcut key to show random page (Randompage plugin is required)” to A 
-    * Then use 'a' and 'n' to show random pages with in the wiki or at the namespace level.+ 
 +in the configuration settings (''Admin -> Configuration Settings -> Plugin -> Shortcutkey''), you can use ''a'' and ''n'' to get a random page within the wiki and within the namespace respectively. 
  
 Ref:- https://github.com/solewniczak/dokuwiki-plugin-randompage2/issues/5 Ref:- https://github.com/solewniczak/dokuwiki-plugin-randompage2/issues/5
  
random_page.1685569527.txt.gz · Last modified: 2023/05/31 21:45 by admin