From mediawiki.org
Jump to navigation Jump to search

Cherry-pick fix for bug 37059 and another cherry-pick to make it possible to replace the feedback form with a link to prevent ongoing spamming of the feedback page.

  • commit f6ed8ba3db58f7be7945f7cc10b22ccdcf75e525
Author: awjrichards <arichards@wikimedia.org> 
Date:   Mon May 21 16:03:48 2012 -0700
   * Makes feedback form for technical problems appear only if there is not
   a link configured for techcnical problem feedback
   * Changes getFeedbackHtml() to renderFeedbackHtml() since the method
   was already partially rendering the HTML anyway. Now it renders
   all of the HTML generated in this function so behavior is consistent
   and predictable.
   * Adds htmlspecialchars() escaping to generated feedback links
   Change-Id: Ifaa09e4b245d6bcc983ed335368c4749c141212f
  • commit 2a527553336771ed79d2256282ca6bf1713bcac3
 Author: Jon Robson <jdlrobson@gmail.com>
 Date:   Wed May 23 17:58:13 2012 +0100
   use history api to avoid problems with buggy browsers (bug 37059)
   window.location.replace causes a page reload on blackberry rather than
   just updating the hash. Better to just not update the hash at all on these
   older browsers
   Change-Id: Ic2ca284b8f40d252b3fb3b5a839fec623addde59