• 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
    • Linking article translations troug the 'apply' tab changes thread title to number.

    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: Linking article translations troug the 'apply' tab changes thread title to number.

    • Issue Tools
      • View Changes
    1. issueid=2155 December 12, 2010 5:05 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Linking article translations troug the 'apply' tab changes thread title to number.

      After I changed the article language to German and then made it the German translation of another article, the thread title was changed to 125611 (this is the threadID)
    Issue Details
    Issue Number 2155
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Translating Pages
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.7
    Fixed Version 3.0.8
    Milestone VaultWiki 3.0.8
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 12, 2010 11:55 PM
      pegasus pegasus is offline
      VaultWiki Team
      I checked out the thread ID you mentioned and the title appears correct for me for both the German and the English versions.
      Reply Reply  
    2. December 13, 2010 6:25 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Oh wow. Thats weird. The title is back again and now the other titles in that forum have become threadIDs.
      When looking at these articles in forumdisplay.php these have threadIDs as names, while they display normal titles on showwiki.php.
      See: forumdisplay.php?f=389
      Reply Reply  
    3. December 13, 2010 6:33 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Ah. This has to do with language settings. If an article is set to 'English' and you are viewing in German forum language, then the article title will turn to threadID.
      If an article is set to 'German' and you are viewing in English forum language, then the article title will turn to threadID.
      Reply Reply  
    4. December 13, 2010 1:56 PM
      pegasus pegasus is offline
      VaultWiki Team
      Strangely, still can't duplicate this, even though I see the flaw in the code.

      Fixed. In vault/wiki/url.php, find:
      Code:
      		$this->affix_prefix($urlinfo);
      Replace with:
      Code:
      		if ($urlinfo['namespaceid'] != ISLAND_SPACE)
      		{
      			$this->affix_prefix($urlinfo);
      		}
      Find:
      Code:
      	function affix_prefix(&$item)
      	{
      Add after:
      Code:
      		if ($item['namespaceid'] == ISLAND_SPACE)
      		{
      			return;
      		}
      Reply Reply  
    5. December 13, 2010 2:00 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      fixed!
      Reply Reply  
    6. December 13, 2010 2:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Sounds like you added the second code change before the find code rather than after it.
      Reply Reply  
    7. December 13, 2010 2:04 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      yes, noticed that and corrected it. But you where too quick.
      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 12:42 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.