• 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
    • Number of contributions is incorrect after import

    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: Number of contributions is incorrect after import

    • Issue Tools
      • View Changes
    1. issueid=5202 August 27, 2017 5:55 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Number of contributions is incorrect after import

      When I upgraded from 4.0.18 to 4.0.19 the contribution statistics changed. For example I had 6k contributions and my main members had hundreds of contributions with the top one at 800.
      Now I did an import straight into 4.0.19 and the contributions are much lower. Except my contributions which are For example my contributions are 9k. the top contributors are below 200.

      At least one of the results must be wrong. (import or upgrade)
    Issue Details
    Issue Number 5202
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category History / Revisions
    Status Not a Bug
    Priority 3 - Loss of Functionality
    Affected Version 4.0.19
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 27, 2017 3:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      The 4.0.19 import counts fewer changes as contributions (per your comments in another thread, many automatic changes are now discounted). When upgrading from 4.0.18 to 4.0.19, the contributions were counted using a higher number of changes as contributions, because automatic changes had not been discounted.

      Regarding you having a lower number of contributions in 4.0.18 => 4.0.19, I believe this was because the 5000 number I gave you for a manual edit to the upgrade script was too high to count properly and was also not applied correctly. This resulted in many records being skipped (the build 002 upgrade uses 2000 which works correctly). It was a test run anyway so I didn't re-run the counters; I only solved the infinite looping problem. This would all result in the post-upgrade numbers from that attempt being lower than expected for a 4.0.18 import.

      According to the post referred to above, 4.0.19's importer now does NOT count the following as contributions:
      - Automatic edits related to "converted link" formats (neither did 4.0.18)
      - Automatically generated categories from found category tags
      - Automatically generated attachments

      The latter two would explain why many users' counts are lower.

      If SUM(vw_usercount.vw_contribs) - SUM(vw_usercount.vw_redirects) is less than the number of rows in the vw_revision table, and SUM(vw_usercount.vw_redirects) is no more than the number of rows in the vw_redirect table, then there probably is not a bug.

      Some side notes:
      In the future, I believe that non-automatic attachments should not be counted as contributions anymore, unless there was a change to the attachment description. The user already receives credit to their vw_uploads count. Likewise, with non-automatic categories, when the user creates them in the Add Categories of another editor, this should not be counted anymore; as there is no description added, the increase to the vw_categorizes count is sufficient credit. In this vein, it is probably also time to stop counting synonyms as contributions (this probably affects your numbers significantly as well); this behavior was kept because they were technically edits in VW3. Maybe we can make changes like this in 4.1 or 4.2.
      Reply Reply  
    2. August 27, 2017 4:18 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thats really nice. I just ran the update counter tool and all contributions have gone up a lot, while mine went down to 1700.
      It would be nice it attachments are not counted anymore.

      Please consider to add a batch update contributions function. I added a feature request for it.
      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 3:47 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 © 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.