Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | also happens to create the page |
180 | 180 | * (bug 32960) Remove EmailAuthenticationTimestamp from database when a |
181 | 181 | email address is removed |
182 | | -* (bug 31759) Undefined property notice in querypages API |
| 182 | +* (bug 32414) Empty page get a empty bytes attribute in Export/Dump |
183 | 183 | |
184 | 184 | === API changes in 1.19 === |
185 | 185 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
— | — | @@ -204,6 +204,7 @@ |
205 | 205 | * (bug 32688) Paraminfo for parameter "generator" of the query module shows too |
206 | 206 | many types |
207 | 207 | * (bug 32415) Empty page get no size attribute in API output |
| 208 | +* (bug 31759) Undefined property notice in querypages API |
208 | 209 | |
209 | 210 | === Languages updated in 1.19 === |
210 | 211 | |
Index: trunk/phase3/includes/Export.php |
— | — | @@ -543,12 +543,12 @@ |
544 | 544 | // Raw text from the database may have invalid chars |
545 | 545 | $text = strval( Revision::getRevisionText( $row ) ); |
546 | 546 | $out .= " " . Xml::elementClean( 'text', |
547 | | - array( 'xml:space' => 'preserve', 'bytes' => $row->rev_len ), |
| 547 | + array( 'xml:space' => 'preserve', 'bytes' => intval( $row->rev_len ) ), |
548 | 548 | strval( $text ) ) . "\n"; |
549 | 549 | } else { |
550 | 550 | // Stub output |
551 | 551 | $out .= " " . Xml::element( 'text', |
552 | | - array( 'id' => $row->rev_text_id, 'bytes' => $row->rev_len ), |
| 552 | + array( 'id' => $row->rev_text_id, 'bytes' => intval( $row->rev_len ) ), |
553 | 553 | "" ) . "\n"; |
554 | 554 | } |
555 | 555 | |