These were introduced in MW 1.17 and are always true in production.
They were useful to allow folks to defer title conversion, but it's
been a long time now. We don't need to make this optional any more.
Change-Id: I65dcfe80dc3e1dfeb4d63924a8928655e012a20c
to be removed in a future release.
* The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
and is expected to be removed in a future release.
+* The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
+ introduced in MW 1.17, have been deprecated. These fixes will always be
+ applied for Arabic and Malayalam in the future. Please enable these on
+ your local wiki (if you have them explicitly set to false) and run
+ maintenance/cleanupTitles.php to fix any existing page titles.
* …
=== Other changes in 1.33 ===
*
* Note that pages with titles containing presentation forms will become
* inaccessible, run maintenance/cleanupTitles.php to fix this.
+ *
+ * @deprecated since 1.33: in the future will always be true.
*/
$wgFixArabicUnicode = true;
*
* If you enable this on an existing wiki, run maintenance/cleanupTitles.php to
* fix any ZWJ sequences in existing page titles.
+ *
+ * @deprecated since 1.33: in the future will always be true.
*/
$wgFixMalayalamUnicode = true;
$s = parent::normalize( $s );
if ( $wgFixArabicUnicode ) {
$s = $this->transformUsingPairFile( 'normalize-ar.php', $s );
+ } else {
+ wfDeprecated( '$wgFixArabicUnicode = false', '1.33' );
}
return $s;
}
$s = parent::normalize( $s );
if ( $wgFixMalayalamUnicode ) {
$s = $this->transformUsingPairFile( 'normalize-ml.php', $s );
+ } else {
+ wfDeprecated( '$wgFixMalayalamUnicode = false', '1.33' );
}
return $s;
}
$this->assertSame( $expected, $this->getLang()->normalize( $input ), 'ar-normalised form' );
$this->setMwGlobals( 'wgFixArabicUnicode', false );
+ $this->hideDeprecated( '$wgFixArabicUnicode = false' );
$this->assertSame( $input, $this->getLang()->normalize( $input ), 'regular normalised form' );
}
$this->assertSame( $expected, $this->getLang()->normalize( $input ), 'ml-normalised form' );
$this->setMwGlobals( 'wgFixMalayalamUnicode', false );
+ $this->hideDeprecated( '$wgFixMalayalamUnicode = false' );
$this->assertSame( $input, $this->getLang()->normalize( $input ), 'regular normalised form' );
}