add page to compare path in form, it was always wiki/compare and root page will be compared
fix text area content
don't use attr_protected in rails4
use :data => {:confirm, in rails4 is deprecated