autosearch plugin by Ahmet Sacan
handles non-existent pages by redirecting to index sub-page if available; otherwise showing sub-pages and/or displaying Search Results
Last updated on 2007-02-07. Provides Action.
Compatible with DokuWiki 2007-02-07.
Requires indexmenu.
Similar to autostart.
The download archive on his site is broken, as is the CAPTCHA. – abr
The download was an invalid zip file as of 12-06-07. No CAPTCHA required, by the way. – JR
It's not really broken, you need a trick. In Linux, first create the autosearch directory (“mkdir autosearch”) in the same directory of zip file, then unzip it with “unzip autosearch.zip”. When it ask to overwrite the autosearch directory, say “n”. — Samuele Tognini 2008/08/27 17:46
You need to apply this patch to get latest indexmenu releases work:
diff -urN /tmp/autosearch/action.php ./autosearch/action.php --- /tmp/autosearch/action.php 2007-07-03 12:15:00.000000000 +0200 +++ ./autosearch/action.php 2008-08-27 18:40:35.000000000 +0200 @@ -41,7 +41,7 @@ die(); } } - if($this->getConf('pagelist') && is_dir(dirname(wikiFN("$ID:dummy"))) && $indexmenu =& plugin_load('syntax', 'indexmenu')){ + if($this->getConf('pagelist') && is_dir(dirname(wikiFN("$ID:dummy"))) && $indexmenu =& plugin_load('syntax', 'indexmenu_indexmenu')){ $handled = $indexmenu->handle("{{indexmenu>$ID#2|js#default}}",null,nul l,$this); $dummy_renderer = (object) array('doc'=>''); $indexmenu->render('xhtml',$dummy_renderer, $handled);
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported