• 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 4.x Series
    • Bug
    • MediaWiki import categories contain no edit history, only initial edit seems to have imported

    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: MediaWiki import categories contain no edit history, only initial edit seems to have imported

    • Issue Tools
      • View Changes
    1. issueid=4949 March 3, 2017 8:41 AM
      ACL ACL is offline
      Regular Member
      MediaWiki import categories contain no edit history, only initial edit seems to have imported

      I have multiple instances (possibly every instance!) where MediaWiki categories are imported but all of the edit history except for the first/oldest one (at page creation) is missing.

      The "Last updated" date also refers to the very first edit for a category page rather than the latest revision. I've attached a screenshot showing MediaWiki revision history for an example category.
    Issue Details
    Issue Number 4949
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Importing
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.16
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 1
    Assigned Users (none)
    Tags (none)




    1. March 3, 2017 10:12 AM
      pegasus pegasus is offline
      VaultWiki Team
      I don't see a reason why this would only affect categories, at least not if the categories in question have the correct creation timestamp.

      Can you find any regular pages that are missing edits? If so, are there any similarities between the edits that are missing there vs the edits missing from the categories?

      Did you make any changes to the import config file after step 1, but before the importer completed?
      Please check your import config file. Make sure that the following appears in the file, in the $namespaces array:
      Code:
      14 => 'Category'
      Reply Reply  
    2. March 3, 2017 10:30 AM
      ACL ACL is offline
      Regular Member
      Interesting, does VaultWiki have any reason to refer to the importer configuration after the importer has completed? I have made a change to the namespaces array to comment out Template and Category for a future round of import testing, but the file modified timestamp is for a period after the importer had finished.

      I guess I'll see it it occurs during the next import test and if it does look for non-category pages with missing edits and reply to this issue.
      Reply Reply  
    3. March 3, 2017 11:25 AM
      pegasus pegasus is offline
      VaultWiki Team
      The import configuration is only used during the import itself. If the change to the namespaces array which commented out Category was made after the "Importing pages" step but before the "Importing edits" step, then it would account for the problem you are seeing.

      However, if there are missing edits in non-category pages, then it could be something else entirely, and we would need to know more about the edits that are being skipped.
      Reply Reply  
    4. March 3, 2017 12:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please check Wiki Admin Panel > Permissions > Usergroups, and make sure your group has been granted all permissions under the "Moderator Permissions" section.

      I have reason to believe that you can only see the first edit for all wiki pages, and that the edits in question were all imported with the "needs moderator approval" flag. If you have all the Moderator Permissions, then you should be able to see edits that need approval.

      To prevent this issue on a subsequent import, in vault/core/controller/import/handle/mw/revision/vw.php, find:
      Code:
      $dm->set('import_editid', $edit['revisionid']);
      After it, add:
      Code:
      $edit['revision_visible'] = $edit['visible'];
      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 5:42 PM.
    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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.