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.
      8f34cf3d
  2. Mar 31, 2017
  3. Jan 29, 2016
  4. Oct 01, 2014
  5. Sep 29, 2014
  6. May 05, 2014
  7. Mar 06, 2014
  8. Mar 05, 2014
  9. Oct 16, 2013
  10. Oct 15, 2013
  11. Aug 01, 2013
    • Michael Hamann's avatar
      Remove search_references() and the refshow configuration option · 3e7e0277
      Michael Hamann authored
      The refshow configuration option wasn't used as described anymore
      already in the latest release and after the introduction of the media
      usage index the parameter is also no longer relevant for internal
      optimization. The only place where it was still used is the no longer
      used search_references()-function which is removed here, too.
      3e7e0277
  12. Jul 31, 2013
    • Michael Hamann's avatar
      Remove search_references() and the refshow configuration option · 0320882f
      Michael Hamann authored
      The refshow configuration option wasn't used as described anymore
      already in the latest release and after the introduction of the media
      usage index the parameter is also no longer relevant for internal
      optimization. The only place where it was still used is the no longer
      used search_references()-function which is removed here, too.
      0320882f
  13. Feb 24, 2013
    • Michael Hamann's avatar
      Revert the search depth behavior changes from #154 · e8baa227
      Michael Hamann authored
      This reverts parts of the changes from #154: Before merging the pull
      request, a depth of 1 returned just the pages in the root namespace.
      With the changes in the pull request, a depth of 1 also returned pages
      in subnamespaces of the root namespace (as it was also tested in the test case).
      This reverts this part of the changes and a depth of 1 returns just the
      pages in the root namespace again.
      e8baa227
  14. Feb 20, 2013
    • Michael Hamann's avatar
      Revert the search depth behavior changes from #154 · 5737a81e
      Michael Hamann authored
      This reverts parts of the changes from #154: Before merging the pull
      request, a depth of 1 returned just the pages in the root namespace.
      With the changes in the pull request, a depth of 1 also returned pages
      in subnamespaces of the root namespace (as it was also tested in the test case).
      This reverts this part of the changes and a depth of 1 returns just the
      pages in the root namespace again.
      5737a81e
  15. Feb 17, 2013
  16. Jan 29, 2013
  17. Jan 27, 2013
  18. Jan 10, 2013
  19. Jan 09, 2013
    • Guillaume Turri's avatar
      Check search limit depth with an inequality · c647387e
      Guillaume Turri authored
      Otherwise, when we check for equality, the test fails if the search start beneath
      the max depth.
      Eg: if I have the page ns1:ns2:mypage in my wiki, and launch the xmlrpc query
      getPagelist("ns1", "depth => 1"), without this patch, it retrieves mypage
      c647387e
  20. Oct 01, 2012
  21. Jul 28, 2012
  22. Sep 04, 2011
  23. Jul 30, 2011
  24. Jul 25, 2011
  25. May 07, 2011
    • Michael Hamann's avatar
      Change when metadata is rendered - only when really needed · 67c15ece
      Michael Hamann authored
      This changes the cache logic for metadata. It introduces a new mode that
      tries to avoid rendering the page again for simple requests but still
      updates the metadata when the page has been changed (but not when the
      cache timeout has been reached or purge is used). It simply compares the
      time of the last rendering with the last modified time of the page.
      
      The old boolean $render parameter has been changed into an int with
      three possible values. Compatibility for the old parameter is provided
      using a check with is_numeric using the following mapping:
      - false is still don't render (0 is the new value for that)
      - true is using that new render logic which means that many plugins will
        still work unchanged even if they request a lot of data using
        $render=true (1 is the new value for that providing full compatibility
        in the case 1 has been used instead of true)
      
      The default value for p_get_first_heading is now that new simple cache
      logic, the default value for getting metadata is the cache logic which
      should be used with care but is the only way to request (rendered)
      metadata that can change because of plugin installations or upgrades.
      67c15ece
  26. Nov 29, 2010
  27. Nov 13, 2010
  28. Oct 26, 2010
  29. Sep 28, 2010
  30. Aug 29, 2010
  31. Mar 22, 2010
Loading