Anonymous

Bot: Difference between revisions

From Melvor Idle
1,534 bytes added ,  31 December 2021
m
no edit summary
No edit summary
mNo edit summary
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{V0.16}}
{{V}}
__NOINDEX__


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 [https://github.com/coolrox95/Melvor-Wiki-Bot here];
'''Note:''' As of [[V0.17.0]], the bot has been discontinued in favour of automating page updates using Lua modules.
----
Coolrox95 created 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 [https://github.com/MelvorIdle/Melvor-Wiki-Bot here] (Forked from the original bot);


== GOAL ==
== GOAL ==
Line 9: Line 12:
* Make sure proper templates, categories and menus are added to each page.
* Make sure proper templates, categories and menus are added to each page.


== V0.16 Changes Required ==
== V0.16.1 Changes Required ==
* Import new global game data variables from page scope into content script scope
* <del>Import new global game data variables from page scope into content script scope</del>
* Add alt magic as an item source
* <del>Add item uses for things used in new magic</del>
* Add item sources for crown components
* <del>Add alt magic as an item source</del>
* Create pages for new spell types and rework [[Template:Spell]] to include combo runes
* <del>Add item sources for crown components</del>
* Upload art for new spell types
* <del>Create pages for new spell types and rework [[Template:Spell]] to include combo runes</del>
* Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)
* <del>Create maintenance functions for new spell type pages</del>
* Create tables for new runecrafting sections (Combo runes, stave+wands, air,water,earth and fire gear)
* <del>Upload art for new spell types</del>
* Create pages for pets
* <del>Create tables for new spell types (Auroras, Curses, Ancient Magicks, Alt-magic)</del>
* Upload art for pets
* <del>Create tables for new runecrafting sections (Combo runes, stave+wands, air,water,earth and fire gear)</del>
* Add pets and new spell types to page disambiguation code to prevent edit conflicts
* <del>Create pages for pets</del>
* <del>Create maintenance functions for pet pages</del>
* <del>Upload art for pets</del>
* <del>Add pets and new spell types to page disambiguation code to prevent edit conflicts</del>
* <del> Add feathers and party hat to shop materials </del>
* Add prerequisite dungeons to dungeon pages. <code>requiresCompletion: DungeonID</code> in DUNGEONS array.


== TODO ==
== TODO ==
Line 28: Line 36:


== Current Features ==
== Current Features ==
* Fill out the [[Template:Item|Item Template]] for all items.
* Create pages and maintain their templates
** Fill out the [[Template:Item|Main Item Template]]
** Add the [[Template:ArmourStats|Armour Stats Template]] and [[Template:WeaponStats|Weapon Stats Template]] to item pages when necessary
** Add the [[Template:ArmourStats|Armour Stats Template]] and [[Template:WeaponStats|Weapon Stats Template]] to item pages when necessary
** Add the [[Chest Drop Tables|Chest Drop Table]] for items that can be opened
** Add the [[Chest Drop Tables|Chest Drop Table]] for items that can be opened
** Add the healing amount for items that can be consumed
** Add the healing amount for items that can be consumed
* Fill out the [[Template:Monster|Monster Template]] for all monsters.
** Adds the Item Source Template for that specific item
* Creates Item source templates for each item, and maintains them.
** See [[:Category:Item Sources]] for a full list
* Create pages for each Monster and maintain their templates
** Fills in the [[Template:Monster|Monster Template]]
** 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
** 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 Combat Area, Slayer Area and Dungeon and maintain their templates
* Create pages for each Prayer
** Templates used are: [[Template:Dungeon|Dungeon template]], [[Template:SlayerArea|Slayer Area Template]] and [[Template:CombatArea|Combat Area Template]]
* Create pages for each Spell
* Create pages for each Prayer and maintain their templates
* Create pages for some Shop Upgrades
** Fills in the [[Template:Prayer|Prayer template]]
* Create pages for each Standard Spell, Aurora, Curse, Alt. Magic and Ancient Magick, and maintains their templates
** Fills in the following templates: [[Template:Spell]], [[Template:Aurora]], [[Template:Curse]], [[Template:AltMagic]], [[Template:AncientMagick]]
* Creates pages for each Pet and maintains their templates
** Fills in [[Template:Pet]]
* Create pages for some Shop Upgrades and maintains their templates
** Fills in [[Template:Upgrade]]
* Create template pages for auto-generated tables.
* Create template pages for auto-generated tables.
* Creates Item source templates for each item.
** See [[:Category:Tables]] for a full list
* Uploads/Updates images for Dungeons, Combat Areas, Slayer Areas, Items, Monsters, Spells, Upgrades and Prayers.
* Uploads/Updates images for Dungeons, Combat Areas, Slayer Areas, Items, Monsters, Spells, Upgrades, Prayers and Pets.
*  Updates bot generated pages without interfering with user added descriptions, and detects if the underlying data has changed.  
*  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.
** 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.
Feel free to add tasks or remarks to this page.