LotS/SMWMigration

From zoywiki.com
Revision as of 03:33, 28 April 2015 by Doomcat (talk | contribs) (Create page, lots of todos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article is aimed at ZoyWiki editors who edit pages in the LotS prefix.

Semantic MediaWiki (henceforth referred to as SMW) is a plugin for MediaWiki that allows us to treat each page as a first level data source. Essentially, this means we can create large complicated list pages without blowing up ZoyWiki.

The Problem

First, and most importantly we need to stop creating new pages with manually maintained lists. A manually maintained list might look like:


{| class="lotstable sortable" width="100%"
! width=10% | Type
! width=40px | Icon
! width="23%" | Name
! width="46%" | Ability
! width="23%" | Obtained
|-
{{LotS/HealingRow|Daikaiju Destroyer Rifle}}
{{LotS/HealingRow|Sian Dragons Right Knuckles}}
{{LotS/HealingRow|Sludge Scavenger Pistol}}
{{LotS/HealingRow|Smythe Laboratories Inc. Injector}}
... This might go on for dozens or even hundreds of items ...
|}

The problem with this approach is two-fold. First, we have a significant number of these pages, and manually maintained means that someone has to know the page exists and has the desire to maintain it indefinitely into the future. Anything outside of the main pages linked in the standard item page header are likely to be forgotten and become useless when their main editor eventually stops. Second, the templates these lists use are necessarily very heavy. The amount of computation time it has started to take generate the Officers page crashed or severely lagged up ZoyWiki on more than one occasion. For these reasons, we need to start migrating all manual lists to use SMW formatting and replace the manual lists.

The Solution

TODO: Write about how to create new SMW pages

Conversion Progress

Known Converted

Known Needs Conversion


TODO: Add more pages to the lists as they're known.