• 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
    • "View in language" Option Leads to Wrong Translation

    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: "View in language" Option Leads to Wrong Translation

    • Issue Tools
      • View Changes
    1. issueid=1444 April 17, 2010 4:03 AM
      Mokonzi Mokonzi is offline
      Senior Member
      "View in language" Option Leads to Wrong Translation
      "View in language" Option Leads to Wrong Translation

      The "View in language" Option leads to a malformed URL.

      For example, my Main Page is my URL with Main+Page. The German Page is Hauptseite. In Hauptseite I linked the English version with the full URL, this then got dropped to a lower case main+page and loads as a new unedited page.

      However, at the Main+Page URL, the Hauptseite links correctly.

      Despite all that, it is only the View in language option that has the malformed option, where as on the Apply tab the [View] link you get after the URL has been entered works correctly.
    Issue Details
    Issue Number 1444
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Translating Pages
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.0 RC 1
    Fixed Version 3.0.0 RC 1
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 17, 2010 4:06 AM
      Mokonzi Mokonzi is offline
      Senior Member
      More detals:

      On one of the other articles in my Review namespace, I get this for an article title frmot he View in lanaguge:

      a:1:+i:-1+s:7:+Reviews:terran+sleipnir+eng+review

      It is a blank article, and should linked to Reviews:terran+sleipnir+eng+review
      Reply Reply  
    2. April 17, 2010 1:02 PM
      pegasus pegasus is online now
      VaultWiki Team
      In vault/special_plugins.php, find:
      Code:
      				$transpage['enctitle'] = $vault->urlencode($vault->namespacecache[$transpage['namespaceid']]['title'], $transpage['namespaceid']) . ':' . $transpage['title_enc'];
      Replace with:
      Code:
      				$transpage['namespace'] = $vault->fetch_field('title', $transpage['namespaceid'], $newlanguageid, 'namespaceid');
      				$transpage['enctitle'] = urldecode($vault->urlencode($transpage['namespace'], $transpage['namespaceid']) . ':' . $transpage['title_enc']);
      Reply Reply  
    3. April 17, 2010 2:56 PM
      Mokonzi Mokonzi is offline
      Senior Member
      Worked a charm. Thanks pegasus.
      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 9:06 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.