UESPWiki:Translations

UESPWiki: Projects

This is an ongoing project to expand the UESP's audience by making itself available in many languages.

Current LanguagesEdit

Linking ToEdit

If you wish to link directly to a page on a specific translation you can do so by adding the two-character language code at the beginning of the link:

In order for the in other languages link to appear at the bottom of the sidebar the desired languages need to be added to each page in the following format:

   [[XX:Namespace:PageTitle]]

where XX is the desired language code. Note that links in this format will not actually be displayed on the page. Add multiple link entries in this format for each language desired.

Desktop/Mobile Server NamesEdit

Desktop wikis have the server name XX.uesp.net while mobile wikis use XX.m.uesp.net.

Proposed LanguagesEdit

Add any desired languages for UESP translation projects below. Note that actual creation of a new translation site will require several active editors fluent in that language.

Shared DataEdit

There is some wiki data that is shared between all UESP translation project wikis:

  • Uploads/images (the primary English wiki acts as the shared source)
  • Users
  • Interwiki links
  • IP Blocks

Setting Up a New Translation WikiEdit

  • Create subdomain XX.uesp.net and XX.m.uesp.net DNS pointing to Squid server.
  • Create entries in Apache config on content1/2/3:
  • Add XX.uesp.net as a ServerAlias to uesp.common.
  • Add XX.m.uesp.net as a ServerAlias to uesp-mobile.common.
  • Update Interwiki table: INSERT INTO uesp_net_wiki5.interwiki VALUES('XX', 'http://xx.uesp.net/wiki/$1', 1, 0, , );
  • Restart Apache.
  • Database Tasks:
  • Create database on db1: create database uesp_net_wiki5_XX;
  • Permissions should be already set for all databases matching uesp_net_wiki5*.
  • Create the blank patrollers table: CREATE TABLE patrollers LIKE uesp_net_wiki5.patrollers;
  • Copy MediaWiki files to new directory.
  • Delete LocalSettings.php and run web config to create database using the name uesp_net_wiki5_XX (is there a better way to do this?).
  • Set the new language in config/InitializeSettings.php.
  • Run maintenance/update.php (creates extension tables in new database).
  • Create and initialize the search index on the new wiki:
    php ./extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php
    php ./extensions/CirrusSearch/maintenance/forceSearchIndex.php --skipLinks --indexOnSkip
    php ./extensions/CirrusSearch/maintenance/forceSearchIndex.php --skipParse
  • Add the new language code to config/InitializeSettings.php. Remove hard coded language and copy file to content1/2/3.
  • Test new wiki.
  • Add the translator user group to the relevant users on the new wiki.
  • Sign in as WikiSysop as entered during the new wiki initialization phase.
  • Update the permissions of the relevant user.
  • Copy Content
  • MediaWiki:Common.css
  • MediaWiki:Common.js
  • MediaWiki:Sidebar
  • MediaWiki:Uespmonobook.css
  • Export the Template and MediaWiki namespaces from the primary wiki and import into new wiki. Export in small batches to prevent timeouts when importing (or export all, import, and check where the import crashing in RecentChanges then repeat).
  • Update backup scripts on backup1 and backup2.
  • Todo

ToDoEdit

  • Mobile version/config for translation wikis.
  • Automatic/semi-automatic linking on language sidebar between language wikis (possible or even desired)?
  • Consolidation of wiki configs (main, mobile, translation, dev, etc...) for easier maintenance.
  • Enable Squid caching of translation wikis.