Index: maintenance/storage/compressOld.inc
===================================================================
--- maintenance/storage/compressOld.inc (.../REL1_9_1/phase3) (revision 19769)
+++ maintenance/storage/compressOld.inc (.../REL1_9_2/phase3) (revision 19769)
@@ -284,8 +284,8 @@
# Store the stub objects
for ( $j = 1; $j < $thisChunkSize; $j++ ) {
- # Skip if not compressing
- if ( $stubs[$j] !== false ) {
+ # Skip if not compressing and don't overwrite the first revision
+ if ( $stubs[$j] !== false && $revs[$i + $j]->rev_text_id != $primaryOldid ) {
$dbw->update( 'text',
array( /* SET */
'old_text' => serialize($stubs[$j]),
Index: skins/common/wikibits.js
===================================================================
--- skins/common/wikibits.js (.../REL1_9_1/phase3) (revision 19769)
+++ skins/common/wikibits.js (.../REL1_9_2/phase3) (revision 19769)
@@ -853,7 +853,7 @@
function sortableTables() {
if (getElementsByClassName(document, "table", "sortable").length != 0) {
- document.write('');
+ document.write('');
}
}
Index: skins/common/sorttable.js
===================================================================
--- skins/common/sorttable.js (.../REL1_9_1/phase3) (revision 19769)
+++ skins/common/sorttable.js (.../REL1_9_2/phase3) (revision 19769)
@@ -55,9 +55,8 @@
// We have a first row: assume it's the header, and make its contents clickable links
for (var i=0;i