• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • How do I find all articles in a certain language?

    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.

    Results 1 to 6 of 6

    Thread: How do I find all articles in a certain language?

    • Thread Tools
      • Show Printable Version
    1. June 21, 2020 #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285

      How do I find all articles in a certain language?

      The main language of my wiki is English. I also have other languages like Dutch & German.
      I have translators who want to translate my wiki articles. One translator will do the Dutch translations and another will handle the German translation.

      How do I show the translators which articles still need to be translated?
      How do I show the translators which articles are already translated?
      There does not seem to be any overview of articles in a specific language.

      I tried to search for the articles a user has contributed to, but the advanced search does not include a field to enter the user. Any other content type in xenforo does have this function.

      I need to give the translators a clear list of what they need to do.
      Do you have any idea on how to approach this?
      Reply With Quote Reply With Quote

    2. June 22, 2020 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      On the front end, I think we need new Special pages to handle this:

      - A list of all pages in a selected language
      - A list of all pages in a selected language that don't have translations in another selected language

      As for searching articles a user contributed to by advanced search, that information is not indexed by XenForo and it would use too many resources if we tried, since a page can have thousands of different contributors. Instead, use Special:Contributions to get a list of all edits by a selected user.

      In the AdminCP, I believe you can get a list of all pages in a language through the Mass Management system. For your criteria, only choose a language. For your replacement, enter anything, just don't approve the changes in the next step. The Prepared Results should be a list of only pages in the language.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. June 22, 2020 #3
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285
      New special pages would be welcome as I need to show it on the front end.

      Would it use to many ElasticSearch resources to do a search for all articles a member has contributed to? Are edits in an article not like posts in a thread? Just like you can search for posts and have the results displayed as threads, I would expect that the results would display as Articles. Elastic Handles large threads or multiple millions of posts fine.
      Reply With Quote Reply With Quote

    4. June 23, 2020 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      Individual edits are not indexed. While indexing posts is valuable because they contain varied text, edits are generally the same text with slight changes. The only valuable information they would really provide is user information. Basically it is the same problem of adding millions of entries to an index that won't really provide good relevancy information and will slow down normal searches.

      Without ballooning the index, it is easier to search for the creator of a wiki page or the last editor, than a random editor in between.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. June 23, 2020 #5
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285
      Thanks for explaining. That makes a lot of sense. If I want a list of Pages in a Wiki Area that do not have a Dutch translation, can this be done by a query? And can this result in a list of article names?
      Reply With Quote Reply With Quote

    6. June 24, 2020 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      The following should result in all wiki pages that don't have a Dutch version, sorted by title. You may need to tweak the output due to the prefix being stored differently than the URL would display it (possibly > vs : ). Also, sortkey is cropped to a certain number of characters in the index. You may not get usable results for entries with very long titles.

      In the query below, replace {DUTCH_LANGUAGEID} with the appropriate ID number, which can be found in the Wiki AdminCP language page.

      SELECT i.sortkey FROM vw_route AS i
      INNER JOIN vw_nodetype AS t ON (t.`id` = i.itemtypeid AND t.accesskey = 'Page')
      LEFT JOIN vw_langitem AS c ON (c.pageid = i.itemid)
      LEFT JOIN vw_langitem AS l ON ( l.langgroupid = c.langgroupid AND l.languageid = {DUTCH_LANGUAGEID} )
      WHERE l.langgroupid IS NULL
      ORDER BY i.sortkey ASC
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Where to find my special pages?
      By the3hm in forum VaultWiki Questions
      Replies: 1
      Last Post: June 3, 2015, 9:40 AM
    2. Cannot find tutorial on Gallery bbCode
      By tommythejoat in forum VaultWiki Questions
      Replies: 1
      Last Post: February 22, 2015, 10:17 AM
    3. Where can i find the colon
      By hollosch in forum VaultWiki Questions
      Replies: 3
      Last Post: January 25, 2015, 11:11 AM
    4. Possible to Turn Blog Posts or Articles into Wiki articles?
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 9, 2010, 11:59 AM
    5. I must be vision impaired because I can't find how to make....
      By Jella in forum VaultWiki Questions
      Replies: 2
      Last Post: June 24, 2010, 4:09 PM

    Tags for this Thread

    articles, language, translating, translators

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:07 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.