This is an organized representation of most of the modules used in this Wikia. Note that these should ideally all be automatically categorized in Category:Lua modules.
Layout[]
The "Data" column states if the module just stores data or actually does processing. Data modules do not need unit tests. Automatically updated data modules are handled by the Python scripts that read the master data and update the Wikia.
* To be deprecated.
Old Table[]
This is the old table used for showing the modules in this Wikia. It is no longer updated and will be deleted eventually.
Stages[]
Stages and dungeons have a complex relationship with the whole Wikia. This tree illustrates how they interact. Note that a dungeon is a collection of stages.
Disclaimer: I'm writing this now so I have a clear plan of the future layout. Some things may not be interacting in exactly this fashion yet.
- Module:EventPicker can return one event entry out of any of the following.
- Module:Event/Data/001-050 is independent.
- Module:Event/Data/051-100 is independent.
- Module:Event/Data/101-150 is independent.
- Module:Dungeon fetches dungeon info from events and non-events.
- Module:EventPicker used to load one event out of the all the event data modules.
- Module:OtherStages/Data used if an "other" stage is being displayed.
- Module:EventDefaults applies default values to event stages.
- Module:StageTable outputs one stage's data for Wikia.
- Module:Dungeon used to fetch a stage's data.
- Module:EventDefaults applies default values to event stages. Should be independent.
- Module:Event/Data ???
- Module:Event does way too much stuff.
- Module:WaifuList used for showing guest parties associated with individual events.
- Module:EventQuests shows daily quest info.
Testing[]
To try and not let issues appear to users, any edits to a module/template can be copied into Module:Sandbox, Template:Sandbox, or any similarly named thing.
Unit tests are done in hopes of maintaining the code. ScribuntoTest was imported into this Wikia for that purpose. So far, these unit test modules exists.
Errors[]
In the same way the above table exists to help editors code in Scribunto, we also have a standard of adding Category:Errors to any pages producing wrong input. People can watch this page for issues. It is intended to show bugs made by editors.
Also, Category:Pages_with_script_errors is automatically generated by the Wikia for us. It shows pages where Lua modules have crashed. These are bugs made by the programmers.
Check Category:ScribuntoUnit failed tests for any failing tests.
Replacements[]
This is the list of things that are going to replace other things. Ideally, this table will be empty and this section will be removed entirely.