• 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
    • Autolinking not working

    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: Autolinking not working

    • Issue Tools
      • View Changes
    1. issueid=3933 August 17, 2014 9:43 PM
      tommythejoat tommythejoat is offline
      Regular Member
      Autolinking not working
      My members are reporting inconsistent behavior with autolinking.

      We have used autolinking heavily on our message board for several years now but the current release seems to not be working correctly.

      Initially we were having problems with spurious autolinks to areas other than main so that templates, etc. show up as autolinks as well as the name template, image etc. autolinking.

      I believe you fixed that for us, but now there seem to be many autolink failures.

      This is a link to a test post that I creatd with the names of three articles in the post, none of which have autolinked.

      http://mb.nawcc.org/showthread.php?1...856#post888856
    Issue Details
    Issue Number 3933
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category BB-Code Parsing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.0 Gamma 6
    Fixed Version 4.0.0 RC 2
    Milestone VaultWiki 4.0 Gold
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags auto-links




    1. August 18, 2014 12:41 AM
      pegasus pegasus is offline
      VaultWiki Team
      It should be working as expected now.

      The problem with autolinks is allowing all cases to autolink, even though the rules are in conflict with each other:

      - Only link whole words. Determining if it's a "whole" word depends on a whitelist of characters that can be considered a boundary of any word.
      - Adjacent words should be possibly autolinked, so boundaries should be excluded from the result set.
      - Words including the URL space character should be autolinked.
      - Exclude words that start or end with a hypen - or _. Even though it's a special character, it is probably part of another word like wave-motion or a function_name and therefore not a distinct word.
      - Allow words to contain characters that technically aren't word characters (like periods or hyphens), but still disallow those characters at the boundaries.

      You were occasionally running into a collision with the last rule, since you have article names that end in a period, and you want them to autolink. Sometimes PHP was failing to find a boundary after the period, because the period itself is usually considered a boundary.

      wiki demo headline-issues in stream bb-code tags
      Reply Reply  
    2. August 18, 2014 9:25 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Thank you.

      Is there some way to re-parse the posts to repair the missing auto-links?

      I am not sure I really want to do that because sometimes people have problems with unexpected auto-links.
      Reply Reply  
    3. August 18, 2014 10:32 AM
      pegasus pegasus is offline
      VaultWiki Team
      I would recommend clearing the parsed posts cache rather than re-parsing them. That way the posts are only re-parsed when they need to be viewed.

      You can clear the forum posts cache with the database query:
      Code:
      TRUNCATE TABLE postparsed
      You can clear the wiki posts cache with the database query:
      Code:
      TRUNCATE TABLE vw_parsed
      Reply Reply  
    4. August 18, 2014 12:46 PM
      tommythejoat tommythejoat is offline
      Regular Member
      Double thanks for that one, I had forgotten when parsing occured and thought it was at creation time rather than read time.

      I did notice that VaultWiki is not populating the vw_parsed table. Could that have anything to do with the presence of both vault and vw tables in the database?
      Reply Reply  
    5. August 18, 2014 1:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      Wiki parser caching was not available before 4.0.0 Gamma 7.
      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:13 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.