Jump to content
  • 0

Spreadsheet to Wikipedia



I've taken on a huge but quite fulfilling endeavour! 

I work as together with another buch of volunteers on a huge project. 
It's a tabletop fantasy RPG translation project. 

Within this project we have a huge glossary in a spreadsheet. 
This glossary is beginning to be really tough to work with, as we have about 10.000 items by now. 

What do I want to do? 

  1. Create a typical MediaWiki page on our server. 
  2. We'll use the MediaWiki first of all as a real Wiki (with some limitations) but also as a CMS for the entire site. 
  3. We'll want to load the Spreadsheet - as a tsv or csv - up to the wiki. 
  4. In that wiki, we'll have several kinds of hyponym-hyperonym. 
    For example
    1. Main category: geography > Planet: earth > continent: North-America > country: USA > State: California > County: Orange County > Santa Ana (Town)
      In this case we have category planet, subcategory continent, sub-subcategory country and so on. Last category is "town", describing the item itself.
  5. There also will be items that fall in several categories. 
    For example: 
    1. Main category: geography > Planet: earth > continent: South-America > countries: Peru - Brasil - Bolivia - Colombia - Ecuador > Amazonas (River)
      In this case we have category planet, subcategory continent, sub-categories all the countries the Amazonas runs though. Last category is "river". 
  6. We want to create a template, a form where people just have to pick and chose categories from drop downs, and only will have to fill out what is not in the drop downs as well as the main text. 
  7. New pages will have to be checked and approved before they will be uploaded. 

Now the questions:

  1. How do we make up the spreadsheet? Because there will be for example geography and its subcategories, there will be animals and its subcategories, there will be famous people and its subcategories and so on. How are we going to do that? 
  2. How do we make the form?
    1. How do we only show the dropdowns in that form that are applicable?
      For example:
      1. Josh wants to make a new entry for the Amazonas. He starts the form and immediately choses: "geography" as the main category. That means that the category "plants" and all of its subcategories won't be accessable, but only the subcategories that are valid for "geography". Then he choses "planet earth" and only continents on earth will be shown in the drop down list and so on.

I know, it's quite something, but any other way it will at the end be WAY more work on the longer run. 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can create nested subcategories and you can import CSV as per https://www.mediawiki.org/wiki/Extension:Data_Transfer but to automate this for 10K items is complicated and you would most likely need a developer for that.

Your request about a custom form that shows the nested categories as dropdowns is also doable. Part of it is here https://www.mediawiki.org/wiki/Extension:MsCatSelect but I am uncertain if that's what you need.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.