• 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
    • Template Updating

    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: Template Updating

    • Issue Tools
      • View Changes
    1. issueid=488 April 6, 2009 10:42 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Template Updating
      When a Template is Updated, it doesn't Update all instances of the template

      I've noticed that when I update a template (i.e. edit the template) and then save, when I come back to articles that include the template, they aren't updated.

      I have to edit and save (without actually 'editing' the article) for it to update template in the article.

      This (from how I've been thinking about it) might be difficult to solve, as you don't want to scan all articles after each template update. Perhaps forcing articles that have templates to check for updates when they are next reloaded might be one option to solve, or having an option that you can click after a Template is edited that scans all Wiki articles and updates the templates.
    Issue Details
    Issue Number 488
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Templates
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 2.2.2
    Fixed Version 2.2.3
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 6, 2009 11:21 AM
      pegasus pegasus is offline
      VaultWiki Team
      There is code in place the delete post cache entries for articles with links when the linked article is created (to update the link). This is not as difficult as it sounds because many beta versions ago (and after a lot of bugs), we managed to save every wiki link used to the database, along with the corresponding post IDs that use them.

      For articles with redirects, it deletes the cache when the linked article is updated. For articles with templates, it should delete the cache when the linked template is updated...

      But there is a looping problem with the code where it resets IDs that need updating and only updates the last group. This would be fine since the last group checked is templates, but there is another issue where the redirect code is appended to the template code, which means that only templates that are used in an article and also redirected to in the same article would be updated (this is impossible).

      Fixed for the next build by renaming some things and moving some things around in the post cache updater.
      Reply Reply  
    2. April 6, 2009 12:13 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Fantastic work as always!
      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 4:30 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.