Skip to content
Snippets Groups Projects
  1. Apr 18, 2016
  2. Mar 20, 2016
  3. Mar 19, 2016
  4. Mar 18, 2016
  5. Mar 15, 2016
  6. Mar 12, 2016
  7. Mar 11, 2016
  8. Mar 04, 2016
  9. Mar 02, 2016
  10. Feb 24, 2016
  11. Feb 22, 2016
  12. Feb 19, 2016
  13. 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
  14. Feb 17, 2016
  15. Feb 14, 2016
  16. Feb 12, 2016
  17. Feb 11, 2016
  18. Feb 05, 2016
  19. Feb 03, 2016
Loading