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

    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 Expansion

    • Issue Tools
      • View Changes
    1. issueid=6261 October 18, 2021 6:44 PM
      JeffJ JeffJ is offline
      New Member
      Template Expansion
      Templates are expanding to huge page sizes and failing to render

      Original Page from 2014: https://www.badgerandblade.com/forum...ew&oldid=61366 which now expands to something too large to process.

      Here's a fragment of that page that still works: https://www.badgerandblade.com/forum...imeline_Test_1

      Adding a few more lines blows the page up, still much smaller than the original page: https://www.badgerandblade.com/forum...tte_Timeline_2

      Templates used:
      https://www.badgerandblade.com/forum...imeline_Months
      https://www.badgerandblade.com/forum...Timeline_Dates
      https://www.badgerandblade.com/forum...Timeline_Event

      The templates for this page are being used more like a style sheet than a template, which isn't a great use case. It worked in the past. In the meantime we are stripping out these three templates. The VaultWiki behavior is different from the past enough to post it.
    Issue Details
    Issue Number 6261
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Templates
    Status Working as Designed
    Priority 3 - Loss of Functionality
    Affected Version Unknown
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags bb-code




    1. October 18, 2021 7:43 PM
      pegasus pegasus is offline
      VaultWiki Team
      It differs from 2014 because as of 2014, VWE-2015-1840 had not been discovered (it was patched November 11, 2015). It is also possible that your Maximum Allowed Characters setting changed if you used vBulletin in 2014 and use XenForo now. The default values for those settings are different depending on your forum platform, because the efficiency of those platforms for certain tasks is different.

      Instead of stripping out templates, you can try to make the templates more efficient. Here are a few options:
      • Move template documentation to a separate page that is injected (INJECT tag) only on the template within NOINCLUDE tags; OR
      • Move template documentation to a separate page that has been set as header content for that template page; OR
      • Move template documentation to a separate page that has been picked in a wiki-chooser custom field that applies to the template (not included by the template), where that field renders as a separate tab (preferably called "Documentation").

      In all these situations, the documentation content would largely/completely not be counted when using the template.

      Unfortunately, otherwise, unless you have evidence to show that the expanded form of the page is actually lower than what it reports, or that the reported value is not high enough to trigger expansion protection, AND the page is reaching that decision in less than 5 seconds (because there is also a time limit applied), this appears to be Working as Designed.
      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 10:45 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.