• 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
    • Heading reference inside article reference

    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: Heading reference inside article reference

    • Issue Tools
      • View Changes
    1. issueid=564 May 1, 2009 9:23 PM
      tommythejoat tommythejoat is offline
      Regular Member
      Heading reference inside article reference
      It would be useful to reference a particular heading inside an article.

      The option form of namespace linkage/reference would be more useful if one could reference a particular Heading inside the article such as [wiki="watch adjustment|private label adjustment"]adjusted[/wiki]. Perhaps this already exists and I have just not found it in the documentation.
    Issue Details
    Issue Number 564
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category BB-Code Parsing
    Status Not a Bug
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.2.3 Patch Level 1
    Fixed Version (none)
    Milestone VaultWiki 2.3.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 3, 2009 1:08 AM
      pegasus pegasus is offline
      VaultWiki Team
      This already exists, undocumented, or if it does not work it is a bug. You need to reference the actual anchor by #anchor_name... for something like you have above it would probably be [noparse][wiki="watch adjustment#private_label_adjustment"]adjusted[/wiki].
      Reply Reply  
    2. May 3, 2009 9:04 AM
      tommythejoat tommythejoat is offline
      Regular Member
      I spent a little time on Wikipedia looking at this and templates. Your use of underscores in the example leads to another question. Are underscores and spaces equivalent in article name references as they say they are on Wikipedia?
      ============later==============
      I checked the usage of # in the wiki reference and it does not seem to work. The popup shows the top of the article, not the reference point.

      Here is the actual bb code used [WIKI="Watch Adjustment#Private_Label_Adjustment"]Adjusted[/WIKI]. Clicking on the link also goes to the top of the article, not to the heading.
      Reply Reply  
    3. May 3, 2009 2:14 PM
      pegasus pegasus is offline
      VaultWiki Team
      No. Underscores are underscores.
      Reply Reply  
    4. May 3, 2009 2:55 PM
      tommythejoat tommythejoat is offline
      Regular Member
      I actually tried the sub heading # notation both without underscores and with them as above. Neither way worked to reference the heading rather than the article. Do I need to do anything else to make this a formal bug report?
      Reply Reply  
    5. May 3, 2009 4:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please provide the link created by that BB-Code example.
      Reply Reply  
    6. May 3, 2009 7:03 PM
      tommythejoat tommythejoat is offline
      Regular Member
      http://mb.nawcc.org/showwiki.php?title=Santa+Fe+Watch+Co.#What_is_the_Descrip tion_of_Adjustment_

      The troublesome link is at the end of the paragraph and is the second occurence of "Adjustment." The first one is an ordinary url to the same location.
      Reply Reply  
    7. May 3, 2009 11:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      Both of these links worked for me using Firefox.
      Reply Reply  
    8. May 4, 2009 12:29 AM
      tommythejoat tommythejoat is offline
      Regular Member
      Do you mean they both display the popup? Or do you mean you can link to the article?

      Only the second one can display a popup since it is the only wiki link. The popup it displays is not the sub heading text, but the top text of the article. The link it goes to is correct, but was not earlier. I was probably having a cache problem with that.

      The expected behavior was to have the popup text begin at the link point.
      Reply Reply  
    9. May 4, 2009 2:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      No the popup doesn't jump to anything. That's not the way it's designed. All of the anchor stuff is handled by the browser, and I don't think making the popup previews any slower would be wise. This would entail trying to find the desired anchor point on the server side, then backtracking to find a place near it that doesn't break any HTML so it can take a snip... something the browser itself doesn't need to worry about because all the HTML is rendered anyway.
      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: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.