Skip to content
Snippets Groups Projects
  1. Jul 26, 2017
    • Michael Große's avatar
      Fix PHP Notices: Reduce error log noise · 8f34cf3d
      Michael Große authored
      While DokuWiki suppresses PHP Notices they are still a code smell and
      should be fixed. This fixes some PHP Notices that occurred.
      
      Some of these fixes could be refactored into nicer code once we move to
      PHP 7 and get access to the `??` operator.
  2. Jan 24, 2017
  3. Jul 16, 2015
  4. Feb 19, 2015
  5. Dec 01, 2014
  6. Oct 01, 2014
  7. May 24, 2014
  8. Mar 05, 2014
  9. Feb 28, 2014
  10. Feb 25, 2014
  11. Feb 15, 2014
  12. Jan 08, 2014
    • Andreas Gohr's avatar
      fix renderer:plugin() signature · 8cc41db0
      Andreas Gohr authored
      in 82d61635 we introduced passing the
      raw match for syntax plugins to the plugin method of the renderer. This
      was introduced for renderer plugins that might need access to the raw
      syntax (like the table editor or WYSIWYG plugins). However the function
      signature was never updated, making these additional parameter basically
      secret. With strict standard this throws errors. This patch fixes this.
      8cc41db0
  13. Oct 17, 2013
  14. Aug 23, 2013
  15. Aug 22, 2013
  16. Nov 18, 2012
  17. Jul 28, 2012
  18. Nov 29, 2010
  19. Oct 12, 2010
  20. Oct 03, 2010
  21. Jul 01, 2010
  22. Mar 29, 2010
    • Adrian Lang's avatar
      Allow plugins to specify that they have to be instantiated · f6ec8df8
      Adrian Lang authored
      Plugins may return false in isSingleton to let plugin_load return a new
      instance every time it is called.
      Renderer plugins are not loaded with $new set to true, but instead specify
      themself that they are not singletons. This behaviour allows the odt renderer
      to keep working (see #1598).
      f6ec8df8
  23. Feb 04, 2010
  24. Jan 19, 2010
  25. Nov 27, 2009
  26. Nov 03, 2009
  27. Jul 26, 2009
    • Andreas Gohr's avatar
      enhanced <code> and <file> syntax · 3d491f75
      Andreas Gohr authored
      Ignore-this: 80398f84222bec1fce56eee8f107d37a
      
      This patch enhances the code and file syntax with several new features.
      
      1. code and file are now essentially the same and just differ in the class
         name. This means you now can use the file syntax with syntax highlighting
         as well. This also solves problems where the code to highlight already
         contains a <code> tag (FS#1493)
      
      2. a filename can be given as label for the code or file block. It is
         specified as second parameter after the language:
      
         <code html myfile.html>...</code>
      
         If no highlighting is wanted, but a filename shall be given, you can use
         a dash as language:
      
         <code - somefile.foo>...</code>
      
      3. when a filename was given (as shown above), the label links to a
         download of the code given in the code/file block. This is made possible
         by a new renderer in inc/parser/code.php. The basename of given filename
         is suggested as filename when downloading.
      
      darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz
      3d491f75
  28. Jan 30, 2009
  29. Dec 13, 2008
  30. Mar 11, 2008
    • Chris Smith's avatar
      Add support for plugin renderers to replace standard renderers · d968d3e5
      Chris Smith authored
      This patch is the fourth in a series aimed at making it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      It adds:
      - new config setting 'renderer_xhtml', default value 'xhtml'
      - new renderer method 'reset()' which is used by reusable renderers when used
        to render second and subsequent data. (*)
      
      An extra step has been added to the renderer selection process.
      - check $conf["renderer_$mode] for renderer name.  If it doesn't exist use $mode as
        the renderer name.
      
      (*) It maybe that the 'document_start()' method can be used for this.  However the
      current xhtml does not correctly reset itself for reuse.
      
      darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
      d968d3e5
Loading