* (bug 2520) Don't show enotif options when disabled
== Changes since 1.5beta1 ==
+
* (bug 2531) Changed the interwiki name for sh (Serbocroatian) to
Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski))
* Nonzero return code for command-line scripts on wfDebugDieBacktrace()
* (bug 2541) Fix unprotect tab
* (bug 1242) category list now show on edit page
* Skip sidebar entries where link text is '-'
+* Convert non-UTF-8 URL parameters even if referer is local
=== Caveats ===
if( isset( $arr[$name] ) ) {
global $wgServer, $wgContLang;
$data = $arr[$name];
- if( isset( $_GET[$name] ) &&
- !is_array( $data ) &&
- ( empty( $_SERVER['HTTP_REFERER'] ) ||
- strncmp($wgServer, $_SERVER['HTTP_REFERER'], strlen( $wgServer ) ) ) ) {
- # For links that came from outside, check for alternate/legacy
- # character encoding.
+ if( isset( $_GET[$name] ) && !is_array( $data ) ) {
+ # Check for alternate/legacy character encoding.
if( isset( $wgContLang ) ) {
$data = $wgContLang->checkTitleEncoding( $data );
}