Manual:$wgLegacyEncoding/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Language, regional and character encoding settings</translate>: $wgLegacyEncoding
Set this to the character set, which you used before you updated to MediaWiki 1.5 (eg 'ISO-8859-1'). MediaWiki will then perform a temporary character set conversion when loading old revisions, which are not marked with "utf-8" flag (revisions created with MediaWiki 1.4 and earlier).
<translate> Introduced in version:</translate>1.4.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate>false

Details

Set this to the character set, which you used before you updated to MediaWiki 1.5 (eg 'ISO-8859-1'). MediaWiki will then perform a temporary character set conversion when loading old revisions, which are not marked with "utf-8" flag (that are revisions created with MediaWiki 1.4 and earlier). You can use this when you convert a wiki to UTF-8 and you do not want to do a mass conversion of old text data. Note however, that old texts, that have been converted because $wgLegacyEncoding was set, are not updated in the database! The next time they are needed, they will have to be converted again.

This DOES NOT touch any fields other than old_text and ar_text (and also does not change their content). Titles, comments, user names, etc still must be converted en masse in the database before continuing as a UTF-8 wiki.