Skip to content

GlouphrieTranslator (or GT) is a Python integration of MWParserFromHell and PyWikiBot. This tool allows PT-BR Runescape Wiki editors rapidily translate the English pages from RSW. The key feature of this tools is the auto-template translator.

License

Notifications You must be signed in to change notification settings

Toktom/GlouphrieTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Para a versão em português deste arquivo, clique aqui.

GlouphrieTranslator

GlouphrieTranslator (or GT) is an integration of MWParserFromHell and PyWikiBot. This tool allows PT-BR Runescape Wiki editors to increase their editing speed when translating the pages from RSW. The key feature of the tool is the auto-template translator.

Installation

  1. Before installing the tool, you need to install the following dependencies:
  1. Install git to be able to proceed with the installation.

  2. Go to your Python directory installation folder and go to the folder Lib/site-packages and then find the folder pywikibot. Inside the pywikibot folder open the folder families and add the python file rsw_family.py to it (this file can be found at the pywikibot_family).

  3. Finally, you can install the tool by running the following command:

pip install git+https://github.com/Toktom/GlouphrieTranslator.

Features

The tool has the following features:

  • Extraction of the Infoboxes from the list below, besides other simple templates.
    • Infobox Item;
    • Infobox Monster;
    • Infobox Familiar;
    • Databox Summoning Pouch; and
    • Databox Summoning Scroll.

Examples

The folder examples contain some examples of how to use the tool. Currently, there is only one example: to extract the Infobox Item template from an item page.

TODO list

  • Add support for more infoboxes templates;
  • Add automatic installation verification;
  • Add logging system;
  • Speed optimization (remove for loops if possible); and
  • Improve usage of try/except in functions and classes.

About

GlouphrieTranslator (or GT) is a Python integration of MWParserFromHell and PyWikiBot. This tool allows PT-BR Runescape Wiki editors rapidily translate the English pages from RSW. The key feature of this tools is the auto-template translator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages