Diff Results

The results of a diff between the official 4.2 zip and the last official svn code


The diff was done using KDiff3.


  • /wakka.php
    • Adds spam filter config file option
  • /actions
    • tree.php
      • There were alot of formatting changes i.e. brackets moved onto the next next and extra whitespace added
      • The only proper code change was on line 145 where the link tag is printed. It now does an extra validation check on the link.
    • usersettings.php
      • Added the "autocomplete" option and a tickbox to toggle it 
  • /classes
    • wacko.php
      • Added "ACTIONS4DIFF" definition at top
      • Someone had experimented with some new sql code for the LoadWantedPages and LoadOrphanedPages. I decided it was experimental based on the face that the LoadOrphanedPages function had two print_r statements and a die() at the end. No way that was supposed to be in the production code.
      • A few more entries have been added to the spam filter array
      • The spam filter functionality now checks whether it should be enabled via the config option, before it ran all the time
  • /formatters
    • post_wacko.php
      • The $options argument has been added to the new post_wacko declaration
  • /handlers/page
    • _autocomplete.php
      • This file is a new addition
      • According to the english language file entry for this it "Complete wikilinks by Ctrl+Space" when editing/creating a page
    • diff.php
      • Slight change to outputting/formatting of the "additions" and "deletions" div tags
    • edit.php
      • Includes the _autocomplete file near the top and uses it near the bottom in the JS section
      • Appends a "cf" value to the edit forms action url 
  • /images/wikiedit
    • z.gif
      • This file is a new addition, its a 1x1 blank image
  • /js
    • autocomplete.js
      • This file is a new addition. As the name suggests it is the JS helper file for the new autocomplete functionality
    • default.js
      • Added code to produce a popup if the content has been changed but not saved. Say you're editing a page and then you accidentally click a menu link. Instead of it loading that page and you losing your edits you will now be prompted with a popup asking if you're sure you want to lose your changes. The code is taken from here.
    • protoedit.js
      • Adds support for Opera 8
    • wikiedit.js
      • Is removed
    • wikiedit2.js
      • Adds support for Opera 8
      • Implements autocomplete functionality
      • Handles loading images a bit differently
  • /lang
    • wakka.en.php
      • Added "WikieditAutocomplete" entry, TODO this needs to be added to the other language files as well
    • wakka.ru.php
      • Added "WikieditAutocomplete" entry
  • /theme/coffee/appearance
  • /theme/default/appearance
  • /theme/tabs/appearance
    • footermsword.php
      • Is removed
    • footerprint.php
      • Is removed
    • header.php
      • Added JS include line for autocomplete.js
    • ../css/wakka.css
      • Added style for autocomplete button