• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • New Import after Interrupted Import results in many problems

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: New Import after Interrupted Import results in many problems

    • Issue Tools
      • View Changes
    1. issueid=1613 May 31, 2010 4:48 AM
      Webbstre Webbstre is offline
      Junior Member
      New Import after Interrupted Import results in many problems
      Duplicate posts and erasing all changes previously made.

      Continuing from this issue: http://www.vaultwiki.org/issues/1604/

      I attempted the secondary import to fill in the gaps from my first apparently partial import. After doing so I had the following problems:
      1- Every page in the wiki now had a duplicate entry
      2- All changes previously made were erased and replaced by the original broken imported pages
      3- Attempting to rename one of the duplicate pages to see if the other was my newer edited version had no result, as either both copies were the same or it was forcing a redirect to the renamed page.

      I was forced to do a fast restore of the MySQL database to my automatic back-up from a day before, and forgot to check to see whether or not the second import managed to import the pages that the first import missed.

      My suggestion for this issue would be to create some kind of tag or code attached to imported pages based off of the original mediawiki page's title, and then have the importer ignore importing any pages with a tag matching a tag already existing in the database. Then you could even break the importer script down into smaller repeatable chunks and just let it cycle through until an import was completely finished. That just my thought based on how I remember the Impex importer working, not sure how practical it is.
    Issue Details
    Issue Number 1613
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Importing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.0 RC 3
    Fixed Version 3.0.0
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 31, 2010 11:12 AM
      pegasus pegasus is offline
      VaultWiki Team
      It sounds like you said yes to the option that asks something like "Ignore existing pages and import all anyway"

      Either way, it should not have done this. It looks like the importer bypasses the duplicate check because the duplicate check doesn't run consistently. This can be fixed by the following edit. In vault/plugins/data.php, find:
      Code:
      if (!$vault->misc['creating_article'])
      Replace with:
      Code:
      if (!$vault->fetch_namespaceid($current_forumid))
      I would recommend running the importer on your test board first to make sure this was the only other problem.
      Reply Reply  
    2. June 1, 2010 9:52 AM
      Webbstre Webbstre is offline
      Junior Member
      Well, the good news is that after making that change and double-checking that the option for "Ignore existing pages..." was set to no, no duplicates were made and nothing that had already been edited was overwritten. The bad news is that despite all of that every page that was missed in the first import was missed in the newer import as well. I've checked for character limits, I've done everything you said here and in the previous issue post, and still something is keeping those pages from making it through the import.

      What should I do next?
      Reply Reply  
    3. June 1, 2010 10:19 AM
      pegasus pegasus is offline
      VaultWiki Team
      Okay I will reopen your original report to continue discussion on your original problem.
      Reply Reply  
    4. June 1, 2010 8:36 PM
      Webbstre Webbstre is offline
      Junior Member
      Ok, I will look there for answers. I assume you mean the post linked to in my first part of this report.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 11:28 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.