Para a versão em português deste arquivo, clique aqui.
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.
- Before installing the tool, you need to install the following dependencies:
- Pywikibot;
- MWParserFromHell;
- requests; and
- lxml.
-
Install git to be able to proceed with the installation.
-
Go to your Python directory installation folder and go to the folder
Lib/site-packages
and then find the folderpywikibot
. Inside the pywikibot folder open the folderfamilies
and add the python filersw_family.py
to it (this file can be found at the pywikibot_family). -
Finally, you can install the tool by running the following command:
pip install git+https://github.com/Toktom/GlouphrieTranslator
.
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.
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.
- 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.