Path of Exile Wiki:Community portal: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
>Vinifera7
(I want this info to be more prominent.)
Line 48: Line 48:
* [[Path of Exile Wiki:Semantic Mediawiki rework|Semantic Mediawiki rework]] (also see the discussion on the portal talk page)
* [[Path of Exile Wiki:Semantic Mediawiki rework|Semantic Mediawiki rework]] (also see the discussion on the portal talk page)


==Adding New Languages==
==Uncompressed DDS files from the ggpk for the wiki==
We get a lot of inquiries about adding new languages to the site, this section will help guide you through the process of what we need in order to implement these new sections.
If you've been trying to get images for the wiki from the content.ggpk recently, you'll probably have noticed that they are "no valid dds file".


If you would like to translate a page, first please let the head admin know on his talk page: [[User_talk:Iamacyborg|Iamacyborg talk]].  
The image files are compressed with google's brotli library. The first 4 bytes of the file are not part of the image data, but rather a byte-size of the uncompressed image.
Some "dds" files may also be text file to contain a pointer to another dds file (like <code>*2DArt/Whatever.dds</code>


The steps for translating are the following:
If you don't want to handle that yourself you can use PyPoE as long you install the brotli library manually, basically follow those steps
*Create a new page with "/languagecode" added to the end of the pagename of the page you wish to translate. ie. If you want to translate the page "Templar" to Spanish, you would create page "Templar/es". For a list of Language codes, please see: http://www.loc.gov/standards/iso639-2/php/code_list.php
* Install Python 3.4 (NOT 3.5) and [https://github.com/OmegaK2/PyPoE PyPoE]
*At the bottom of the page edit, add the page to the category: <code><nowiki>[[Category:LANGUAGECODE Translation]]</nowiki></code>. ie. Translating a page to Spanish would have <code><nowiki>[[Category:ES Translation]]</nowiki></code> added to the bottom of the edit. This will put all translated pages into a single category.  
* Navigate to the brotli releases https://github.com/google/brotli/releases
*If the main page and all pages linked to from the main page are translated a sub-domain will be set up for that translation. ie. A translated Spanish wiki would be at es.pathofexilewiki.com. Those who did the translating will be given admin access to this sub-domain.  
* Download the lastest wheel for 3.4, i.e. Brotli-0.5.2-cp34-cp34m-win32.whl
* Install with <code>pip install Brotli-0.5.2-cp34-cp34m-win32.whl</code>


We also hope that you can keep an eye on the wiki to prevent vandals, etc.
Then using the pypoe_ui command in the ggpk viewer, you have check in the options menu that dds files are uncompressed upon extracting them.
 
If you have any issues or additional question, post on [[User_talk:Iamacyborg|Iamacyborg talk]] or [[User_talk:Game_widow|Game widow talk]].

Revision as of 01:22, 23 August 2016

If you're new to the Path of Exile Wiki project, please read the Help page, and don't forget to check the Editing page for details on how to format pages.

Getting started

New to wiki editing?

New to the path of exile wiki?

Helping out on the path of exile wiki

The wiki is community maintained and we need everyone to help out.

If you don't have any ideas where to start, here are some ideas:

  • Browse Category:Maintenance and improve any pages
  • Improve existing pages (see the section below for more details)
  • Create new pages if you can't find the information you seek (or create redirect pages if the information exists)
  • Reduce content-duplication by implementing Labeled Section Transclusion
  • Help with any of the projects listed on this page

Improving existing pages

  • Correct spelling and grammar
  • Make sure the pages are in line with other similar pages (i.e. share similar layout and order of sections)
  • Adding sources
  • Add missing information
  • Improve the understanding of pages by
  • Adding interwiki links to other articles
  • Verify the information on the page is still correct in regards to the current version of the game
  • Port existing templates to lua modules

Projects

Uncompressed DDS files from the ggpk for the wiki

If you've been trying to get images for the wiki from the content.ggpk recently, you'll probably have noticed that they are "no valid dds file".

The image files are compressed with google's brotli library. The first 4 bytes of the file are not part of the image data, but rather a byte-size of the uncompressed image. Some "dds" files may also be text file to contain a pointer to another dds file (like *2DArt/Whatever.dds

If you don't want to handle that yourself you can use PyPoE as long you install the brotli library manually, basically follow those steps

  • Install Python 3.4 (NOT 3.5) and PyPoE
  • Navigate to the brotli releases https://github.com/google/brotli/releases
  • Download the lastest wheel for 3.4, i.e. Brotli-0.5.2-cp34-cp34m-win32.whl
  • Install with pip install Brotli-0.5.2-cp34-cp34m-win32.whl

Then using the pypoe_ui command in the ggpk viewer, you have check in the options menu that dds files are uncompressed upon extracting them.