[Bps-public-commit] wifty branch, master, updated. 4fcfd073b971eb215ba8be7de6a961cba437a57e

Thomas Sibley trs at bestpractical.com
Mon Nov 22 14:32:30 EST 2010


The branch, master has been updated
       via  4fcfd073b971eb215ba8be7de6a961cba437a57e (commit)
      from  7f064311dae46959be8680ef97ec7a93bd962c0f (commit)

Summary of changes:
 bin/export-to-mediawiki |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 4fcfd073b971eb215ba8be7de6a961cba437a57e
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Nov 22 14:32:10 2010 -0500

    Fix an exporter bug that left all but the last chunk without a </page>

diff --git a/bin/export-to-mediawiki b/bin/export-to-mediawiki
index 812b558..f63a844 100755
--- a/bin/export-to-mediawiki
+++ b/bin/export-to-mediawiki
@@ -151,6 +151,7 @@ CHUNK: while ($CHUNK > 0) {
 
             if (tell $FH > $THRESH*1024*1024) {
                 warn "Starting a new chunk after ", tell $FH, " bytes\n";
+                print $FH "  </page>\n";
                 next CHUNK;
             }
         }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list