old_text conversion on load, for future UTF-8 conversion of en.wikipedia.org and...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 8 Oct 2004 08:46:25 +0000 (08:46 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 8 Oct 2004 08:46:25 +0000 (08:46 +0000)
commit03e42a53d6daf8a4c42e119688d90caf4aff513f
tree964a4cf1509379ad7ef6b9c4df9675548db4d41a
parent435ecf182249e78cd5b4d74243ca30f48b3c75b4
old_text conversion on load, for future UTF-8 conversion of en.wikipedia.org and remaining holdouts.
* When not $wgUseLatin1, saved revisions are now marked with 'utf-8' in old_flags
* When $wgLegacyEncoding is set, an old row without 'utf-8' in old_flags is converted from $wgLegacyCharset to $wgInputEncoding at load time (after gzip decompression if applicable). Thus the old_text fields will not need to be modified when the wiki is converted; this will mainly be useful after the SCHEMA_WORK changes are made so that the other fields in the old table are discarded (they will need to be separately converted anyway)
includes/Article.php
includes/DefaultSettings.php