The Magical Mixture Mill Wiki:Editor links
This page is meant to be a useful aid to both first-time and experienced wiki editors. If you have already read the notes in the collapsed sections, feel free to just use the consolidated list of links below. If this is your first time editing this site, please review the relevant sections for notes that may be useful.
Just the links please
General
- Edit Sidebar MediaWiki:Sidebar
- File Inventory Special:ListFiles
- Upload File(s) Special:Upload
Text Formatting
Map Maintenance
- Map file format: https://support.wiki.gg/wiki/DataMaps/Data_format
- Standard Marker Group definitions: Map:StandardGroups
- Map CSS: MediaWiki:DataMaps.css
Refresh Maps - For unknown reasons, you must edit and save the page to trigger the refresh
Category Maintenance
Database Maintenance
- TMMM Cargo database tables
- Create Template
- Create Form
- Create a Class
- View Cargo Tables
- Template:Mixtures/loader
- Import CSV
- When uploading the CSV, Be sure to select "Overwrite only fields contained in the file" or community content not sourced from the official spreadsheet will be overwritten.
Technical
- Version Info
- Check Statistics
https://themagicalmixturemill.wiki.gg/api.php?action=query&meta=siteinfo&siprop=statistics
General
- Your personal sandbox to test before saving to the shared site pages
- Edit Sidebar MediaWiki:Sidebar
- File Inventory Special:ListFiles
- Upload File(s) Special:Upload
- Place category links in Summary field when uploading to proactively group the files. If creating a new category, don't forget to edit the category page to assign it to a parent category.
- Place any images not received from Glowlight in the "Unofficial/Screen grab" category or one of it's children
Text Formatting
Site CSS (contains class definitions/styles used throughout the site) MediaWiki:Common.css
Potion Template Template:Potion
{{Potion|red}}results in:
FAQ Template Template:FAQ
{{FAQ|Question|Answer}}results in:
Q: Question
Map Maintenance
- Map file format: https://support.wiki.gg/wiki/DataMaps/Data_format
- Standard Marker Group definitions: Map:StandardGroups
- Map CSS: MediaWiki:DataMaps.css
After editing a map, run these pages to refresh the table with the database markers
Refresh Maps - For unknown reasons, you must edit and save the page to trigger the refresh
- When adding new maps, the Map: page must have the same name as the main page which calls it for the refresh to work. (e.g. \Old_Woods and \Map:Old_Woods)
Category Maintenance
Category Tree Special:CategoryTree
- setting the category to "The Magical Mixture Mill wiki" will show all categories for the whole site
- setting the category to "The Magical Mixture Mill" will show all categories organized under the main page - should generally be the categories users can see
Category List Special:Categories
Create Category Special:CreateCategory
Note: Many categories with database tables do have "Page Schemas" defined using the PageSchemas extension. However, the extension did not run and thus the actual templates and forms were created through other means. Those schemas are outdated and should not be used without being brought up to date with the current site design.
Database Maintenance
Adding tables
- Create/edit table layout and data in master Google Sheet TMMM Cargo database tables This Google Sheet contains the data for upload to Cargo database tables. The contents are expected to be maintained by Glowlight or their delegate, so be certain of any changes made. Save each page as CSV (except for Mixtures page) and use CVS Import (via Data Transfer extension) to make data available for upload.
TableName[FieldName]
- Create category Special:CreateCategory
- Create template Create Template
- Create form Create Form
- Generate cargo table from template page. Look for tab at top of Template created in step 3. It will take a few minutes.
- Import CSV or enter data into Form. Import CSV CSV preferred to facilitate reload/refresh by Glowlight when updates are released
Alternatively, steps 2,3 and 4 can be achieved in one step by using Create a Class
Editing tables
Same sequence above recommended with following changes
- Editing any of these items must be done manually by going to the page and clicking "Edit Source".
- In addition to the template page, you can regenerate tables from Cargo Tables
- Mixtures page requires a copy/paste into the Template:Mixtures/loader page from the sheet itself instead of CSV upload. Delete all current contents after the "Note" to begin the page and then paste.
- When uploading the CSV, Be sure to select "Overwrite only fields contained in the file" or community content not sourced from the official spreadsheet will be overwritten.
Querying data
These pages use different techniques for querying and/or formatting data based on what was desired for the page design
- Edibles - straight forward, basic query and formatting
- All Recipes - Similar to Edibles, but incorporates the Potion formatting template
- Crafted - Using a template for filtered views off of same table with same formatting
- Template:NonEdibles defines the common table used for all items except Ingredients, Edibles and Bottles
- Template:NonEdiblesPage contains query filter / shared page layout
- Template:NonEdiblesFormat and Template:NonEdiblesFormat/start format the query results
- Ingredients - more complex, uses conditional formatting via Templates Template:IngredientFormat and Template:IngredientFormat/start
- All Mixtures - Uses Cargo's "dynamic table" feature which allows for filtering and some other advanced functionality. Formatting is more challenging, so it's a tradeoff with the other examples.
Other useful links
- Template Inventory
- Form Inventory
Note on creating forms: use "field|<<field name>>|input type=combobox|values from category=<<category name>>|existing values only" to make a lookup field. If using CreateClass or CreateForm functions instead of manually editing, the text beginning with "values from" can be put into the "only allow certain value" text box.
- View Cargo Table List
- Import CSV to Cargo Tables
Technical
- Version Info
- Check Statistics
https://themagicalmixturemill.wiki.gg/api.php?action=query&meta=siteinfo&siprop=statistics
Note: 2 icon fiiles have been renamed from the original received from Glowlight. "Lifelemon.png" -> "Life Lemon.png", "Gogo Berry.png" -> "Go-Go-Berry.png" to match the name as shown in game.