Skip to content
Snippets Groups Projects
  1. Feb 06, 2011
  2. Feb 05, 2011
  3. Feb 04, 2011
  4. Feb 03, 2011
  5. Feb 01, 2011
  6. Jan 31, 2011
  7. Jan 27, 2011
    • Andreas Gohr's avatar
      allow placeholders in search intro text · 06756ad2
      Andreas Gohr authored
      This patch allows to use the placeholders in the search intro message that
      will be replaced with the search term.
      
      @SEARCH@ will be replaced with the search query
      @QUERY@  will be replaced with the URL encoded search query for use in URL
               parameters
      
      Please note that the replacement is don't on the XHTML *after* parsing and
      rendering the intro wiki text. This means you can not use the query where
      an ID would be expected.
      
      Examples:
      
        This will work:
          [[http://www.google.com/search?q=@QUERY@|Google for @SEARCH@]].
      
        This will not work and will link to the page "search" instead:
          [[@SEARCH@|Your page]].
      
        You could use this instead:
          [[this>doku.php?id=@QUERY@|Your page]].
      06756ad2
  8. Jan 26, 2011
Loading