The Magical Mixture Mill Wiki:Editor links

From The Magical Mixture Mill Wiki
Jump to navigation Jump to search

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

Text Formatting

MediaWiki:Common.css

Template:Potion


Template:FAQ

Map Maintenance

Refresh Maps - For unknown reasons, you must edit and save the page to trigger the refresh

Category Maintenance

Database Maintenance

Technical

  • Version Info

Special:Version

  • 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:
InventoryIcon Potion Classic.png

FAQ Template Template:FAQ

{{FAQ|Question|Answer}}
results in:

Q: Question

A: Answer

Map Maintenance

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

  1. 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.
Note that first column must be "Title" and other columns must be
TableName[FieldName]
  1. Create category Special:CreateCategory
  2. Create template Create Template
  3. Create form Create Form
  4. Generate cargo table from template page. Look for tab at top of Template created in step 3. It will take a few minutes.
  5. 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

Other useful links

  • Template Inventory

Special:Templates

  • Form Inventory

Special:Forms

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

Special:CargoTables

  • Import CSV to Cargo Tables

Special:ImportCSV

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.


Wiki Sites for Inspiration or Source Code