Bot: Difference between revisions
From Melvor Idle
No edit summary |
|||
Line 14: | Line 14: | ||
* <del>Add alt magic as an item source</del> | * <del>Add alt magic as an item source</del> | ||
* <del>Add item sources for crown components</del> | * <del>Add item sources for crown components</del> | ||
* Create pages for new spell types and rework [[Template:Spell]] to include combo runes | * <del>Create pages for new spell types and rework [[Template:Spell]] to include combo runes</del> | ||
* Create maintenance functions for new spell type pages | |||
* <del>Upload art for new spell types</del> | * <del>Upload art for new spell types</del> | ||
* <del>Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)</del> | * <del>Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)</del> |
Revision as of 09:26, 24 July 2020
Coolrox95 is working on a bot for the wiki. The main purpose of the bot is to upload all the item and monster pages to the wiki, and maintain them as needed. The source code for the bot can be found here;
GOAL
The goal of the wiki bot is to:
- Automatically fill out the wiki using the game's code and objects.
- Automatically update changed images.
- Make sure proper templates, categories and menus are added to each page.
V0.16 Changes Required
Import new global game data variables from page scope into content script scopeAdd item uses for things used in new magicAdd alt magic as an item sourceAdd item sources for crown componentsCreate pages for new spell types and rework Template:Spell to include combo runes- Create maintenance functions for new spell type pages
Upload art for new spell typesCreate tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)Create tables for new runecrafting sections (Combo runes, stave+wands, air,water,earth and fire gear)- Create pages for pets
Upload art for petsAdd pets and new spell types to page disambiguation code to prevent edit conflictsAdd feathers and party hat to shop materials
TODO
- Add bones as a loot source to item source templates
- Add Mastery token sources to item source templates
- Fetch and parse each page to detect if proper categories, templates and menus are used.
- Automatically create disambiguation pages for bot generated pages with name conflicts
Current Features
- Fill out the Item Template for all items.
- Add the Armour Stats Template and Weapon Stats Template to item pages when necessary
- Add the Chest Drop Table for items that can be opened
- Add the healing amount for items that can be consumed
- Fill out the Monster Template for all monsters.
- Currently some monsters are named the same while having a different ID. This has been resolved by adding combat level to the page names for monsters with duplicate names
- Create pages for each Combat Area and Dungeon
- Create pages for each Prayer
- Create pages for each Spell
- Create pages for some Shop Upgrades
- Create template pages for auto-generated tables.
- Creates Item source templates for each item.
- Uploads/Updates images for Dungeons, Combat Areas, Slayer Areas, Items, Monsters, Spells, Upgrades and Prayers.
- Updates bot generated pages without interfering with user added descriptions, and detects if the underlying data has changed.
- If the data has not changed or if the page does not contain any user made content, the game version of the page is automatically updated.
Feel free to add tasks or remarks to this page.