DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:goto

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:goto [2016-10-02 16:05]
cziehr Moved to github, different fixes/improvements
plugin:goto [2018-07-07 01:01] (current)
Webmust Add compatibility
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description:​ Easily have a page redirect to another page in the wiki+description:​ Easily have a page redirect to another page in the wiki
 author ​    : Allen Ormond, cziehr author ​    : Allen Ormond, cziehr
 email      : aormond@gmail.com,​ info@einsatzleiterwiki.de email      : aormond@gmail.com,​ info@einsatzleiterwiki.de
 type       : syntax type       : syntax
-lastupdate : 2016-10-02 +lastupdate : 2017-02-16 
-compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort+compatible : Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
Line 13: Line 13:
 tags       : redirect tags       : redirect
  
-downloadurl: ​http://​github.com/​cziehr/​goto/​zipball/​master +downloadurl: ​https://​github.com/​cziehr/​goto/​zipball/​master 
-bugtracker : http://​github.com/​cziehr/​goto/​issues +bugtracker : https://​github.com/​cziehr/​goto/​issues 
-sourcerepo : http://​github.com/​cziehr/​goto/​+sourcerepo : https://​github.com/​cziehr/​goto/​
  
 ---- ----
  
-This [[plugins|plugin]] requires the user to have JavaScript enabled in order to work to its fullest. However, a redirect link will still be displayed even without JavaScript.+This plugin requires the user to have JavaScript enabled in order to work to its fullest. However, a redirect link will still be displayed even without JavaScript.
  
 ===== Syntax ===== ===== Syntax =====
 +
 You can put the GOTO string anywhere in the document, but it probably makes the most sense to put it at the top. You can put the GOTO string anywhere in the document, but it probably makes the most sense to put it at the top.
 +
   ~~GOTO>​wiki:​syntax~~   ~~GOTO>​wiki:​syntax~~
 +
 The above will force the document to redirect to the [[:​wiki:​syntax]] page after the default amount of seconds. You can change the default number of seconds by editing the plugin (by default, this is 10 seconds). The above will force the document to redirect to the [[:​wiki:​syntax]] page after the default amount of seconds. You can change the default number of seconds by editing the plugin (by default, this is 10 seconds).
  
Line 31: Line 34:
 You can change the number of seconds on the fly like so: You can change the number of seconds on the fly like so:
   ~~GOTO>​wiki:​syntax?​15~~   ~~GOTO>​wiki:​syntax?​15~~
 +
 This will redirect the page after a 15 second pause. This will redirect the page after a 15 second pause.
  
Line 36: Line 40:
  
 ===== Issues ===== ===== Issues =====
-  ​*The viewer'​s web browser must have JavaScript enabled in order to automatically redirect. + 
-  *Currently, the plugin only works correctly for internal links.+  ​* The viewer'​s web browser must have JavaScript enabled in order to automatically redirect. 
 +  * Currently, the plugin only works correctly for internal links.
  
 ===== Installation ===== ===== Installation =====
  
-Install ​the plugin using the [[plugin:plugin|Plugin ​Manager]] ​and the download URL above, which points to latest version of the plugin. Refer to [[:plugins|Plugins]] on how to install plugins manually. ​+Search and install ​the plugin using the [[plugin:extension|Extension ​Manager]]. Refer to [[:​Plugins]] on how to install plugins manually.
  
 The default pause length and the minimum pause length can be edited in the configuration manager. The default pause length and the minimum pause length can be edited in the configuration manager.
  
 ===== Revision History ===== ===== Revision History =====
 +
   * 2006-06-30 --- Released.   * 2006-06-30 --- Released.
   * 2006-07-19 --- Made it easier to customize the displayed redirect message.   * 2006-07-19 --- Made it easier to customize the displayed redirect message.
Line 123: Line 129:
  
 ===== Discussion ===== ===== Discussion =====
 +
 Right now this plugin can only redirect to internal wiki pages. I'd like it to be able to redirect to external pages, but I'm a little hazy on how DokuWiki processes URLs. Any help is appreciated. ​ --- //​[[aormond@gmail.com|Allen Ormond]] 2006-06-30 22:35// Right now this plugin can only redirect to internal wiki pages. I'd like it to be able to redirect to external pages, but I'm a little hazy on how DokuWiki processes URLs. Any help is appreciated. ​ --- //​[[aormond@gmail.com|Allen Ormond]] 2006-06-30 22:35//
  
Line 155: Line 162:
 Note that the download links (to yeahway.com) are **broken** as of 2013-07-11. I'm not touching them as I don't know what policy is. Note that the download links (to yeahway.com) are **broken** as of 2013-07-11. I'm not touching them as I don't know what policy is.
 ---- ----
 + 
 ==== Why not allow to redirect to external sites? ==== ==== Why not allow to redirect to external sites? ====
  
plugin/goto.1475417154.txt.gz · Last modified: 2016-10-02 16:05 by cziehr