Skip to content
Snippets Groups Projects
  1. Feb 18, 2016
    • Andreas Gohr's avatar
      refactor page saving and introduce COMMON_WIKIPAGE_SAVE · b24d9195
      Andreas Gohr authored
      This makes the saveWikiText() function a little easier to read and moves
      external edit handling to its own function. Behavior stays the same
      (tests are unchanged).
      
      In addition a new event COMMON_WIKIPAGE_SAVE is introduced that makes
      intercepting and acting on page saves much easier than possible before.
      
      Developers can:
      
      * prevent saves by either preventing the default action or overwriting
        the contentChanged field in a BEFORE hook
      * enforce saves even when no content changed by overwriting the
        contentChanged field in a BEFORE hook
      * Adjust the saved content by modifying the newContent field in a BEFORE
        hook
      * Adjust the stored change log information (summary, type, extras) in an
        AFTER hook
      * Easily know if a page was deleted, created or edited by inspecting the
        changeType field
      * what ever they want before or after a wiki page is saved
      b24d9195
  2. Feb 14, 2016
  3. Feb 11, 2016
  4. Feb 03, 2016
  5. Jan 29, 2016
  6. Jan 22, 2016
  7. Jan 07, 2016
  8. Dec 29, 2015
  9. Dec 27, 2015
  10. Dec 24, 2015
  11. Dec 22, 2015
  12. Dec 21, 2015
  13. Dec 19, 2015
  14. Dec 17, 2015
  15. Dec 13, 2015
  16. Dec 10, 2015
  17. Nov 27, 2015
  18. Nov 25, 2015
  19. Nov 15, 2015
  20. Nov 13, 2015
  21. Nov 05, 2015
  22. Nov 01, 2015
  23. Oct 29, 2015
  24. Oct 28, 2015
  25. Oct 17, 2015
    • David Stone's avatar
      fix error · b20eed15
      David Stone authored
      b20eed15
    • David Stone's avatar
      Optimizations to autoloader · 8a58013e
      David Stone authored
      Autoloader should return true if it can handle the class so other registered autoloader don't execute.
      require is faster than require_once and should be safe to use since the autoloader won't run if the class already exists
      8a58013e
  26. Sep 25, 2015
  27. Sep 16, 2015
  28. Sep 11, 2015
  29. Sep 10, 2015
  30. Sep 07, 2015
  31. Sep 05, 2015
Loading