Skip to content
Snippets Groups Projects
  1. Mar 18, 2016
  2. Mar 15, 2016
  3. Mar 11, 2016
  4. Mar 04, 2016
  5. Feb 19, 2016
    • Andreas Gohr's avatar
      removed isset() from blank() function · 67234204
      Andreas Gohr authored
      As discussed in #1471, an uninitialized variable will always be
      implicitly created when passed to the blank() function. Calling isset()
      is thus a no-op. A warning about this behavior has been added to the
      function comment.
      67234204
  6. 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
  7. Feb 14, 2016
  8. Feb 11, 2016
  9. Feb 03, 2016
  10. Jan 29, 2016
  11. Jan 22, 2016
  12. Jan 07, 2016
  13. Dec 29, 2015
  14. Dec 27, 2015
  15. Dec 24, 2015
  16. Dec 22, 2015
  17. Dec 21, 2015
  18. Dec 19, 2015
  19. Dec 17, 2015
  20. Dec 13, 2015
  21. Dec 10, 2015
  22. Dec 07, 2015
  23. Nov 27, 2015
  24. Nov 25, 2015
  25. Nov 15, 2015
  26. Nov 13, 2015
  27. Nov 05, 2015
Loading