Difference between revisions of "Help:Maintenance guide"

From mtgpq wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
# '''Update the wiki's knowledge about the new release'''
 
# '''Update the wiki's knowledge about the new release'''
 
#* Create a new release data template (e.g. [[Template:Release_data:_3.3]]) by copying an existing data template and modifying the details as needed
 
#* Create a new release data template (e.g. [[Template:Release_data:_3.3]]) by copying an existing data template and modifying the details as needed
#* Add a row for the new release on the [[Game_History]] page
+
#* Add a row for the new release on the [[Game_history]] page
 
# '''Update sets, abilities, planeswalkers, and events'''
 
# '''Update sets, abilities, planeswalkers, and events'''
 
#* If the release contains new game content, also follow the steps in the corresponding sub-section(s) below.
 
#* If the release contains new game content, also follow the steps in the corresponding sub-section(s) below.
Line 42: Line 42:
 
#* Edit [[Template:StandardSetList]] if a card set was added to or removed from Standard
 
#* Edit [[Template:StandardSetList]] if a card set was added to or removed from Standard
 
#* Edit [[Template:LegacySetList]] if a Legacy card set was added, or a card set was moved to Legacy
 
#* Edit [[Template:LegacySetList]] if a Legacy card set was added, or a card set was moved to Legacy
 +
#* Add a row to [[Template:Infobox Formats]] for the new card set
 
# '''Update the wiki's knowledge about the card set as a whole'''
 
# '''Update the wiki's knowledge about the card set as a whole'''
 
#* Create a new data template for the set (e.g. [[Template:Card_set_data:_GRN]]) by copying an existing data template and modifying the details as needed
 
#* Create a new data template for the set (e.g. [[Template:Card_set_data:_GRN]]) by copying an existing data template and modifying the details as needed
 +
# '''Create a redirect and template for the new card set abbreviation'''
 +
#* Create a page whose name is the set abbreviation (e.g. [[RNA]]), whose contents is e.g. <code><nowiki>#REDIRECT [[Ravnica Allegiance]]</nowiki></code>
 +
#* Other card set content, such as the card sets navbox ([[Template:Sets]]) and the card sets portal ([[Portal:Cards]]) will update automatically after the above changes are done
 +
# '''Create a wiki page for the new card set'''
 +
#* Create a new page (e.g. [[Guilds of Ravnica]]) by copying an existing card set page and modifying the details as needed
 
# '''Update the wiki's knowledge of each card in the new set'''
 
# '''Update the wiki's knowledge of each card in the new set'''
 
#* '''''(Server task)''''' Upload card data templates for all cards in the new set
 
#* '''''(Server task)''''' Upload card data templates for all cards in the new set
# '''Create a redirect page for the new card set'''
 
#* Create a page whose name is the set abbreviation (e.g. [[RNA]]), whose contents is e.g. <code><nowiki>#REDIRECT [[Ravnica Allegiance]]</nowiki></code>
 
 
# '''Update the Card of the Day card list'''
 
# '''Update the Card of the Day card list'''
 
#* Extend the list of cards at [[Template:Card_of_the_day_selection]], as well as the magic total number of cards, to allow the new set's cards to appear as Card of the Day on the Main page
 
#* Extend the list of cards at [[Template:Card_of_the_day_selection]], as well as the magic total number of cards, to allow the new set's cards to appear as Card of the Day on the Main page
# '''Create a wiki page for the new card set'''
 
#* Create a new page (e.g. [[Guilds of Ravnica]]) by copying an existing card set page and modifying the details as needed
 
#* Other card set content, such as the card sets navbox ([[Template:Sets]]) and the card sets portal ([[Portal:Cards]]) will update automatically after the above changes are done
 
  
 
===New card abilities===
 
===New card abilities===
 
# '''Add new icon abilities to the wiki'''
 
# '''Add new icon abilities to the wiki'''
#* For each new icon ability, upload an icon image and add a row (alphabetical order) to the table at [[Abilities#Card Icon Abilities]]
+
#* For each new icon ability:
 +
#** Upload a pair of icon images at 120x120px (width may be narrower): A white-on-alpha version as [Ability].png, and a black-on-alpha version as [Ability]-b.png
 +
#** Add the ability name to [[Template:IconAbilityList]]
 +
#** Add a row (alphabetical order) to the table at [[Abilities#Icon Abilities]]
 
# '''Add new keyword abilities to the wiki'''
 
# '''Add new keyword abilities to the wiki'''
#* For each new keyword ability, add a row (alphabetical order) to the table at [[Abilities#Card Icon Abilities]]
+
#* For each new keyword ability, add a row (alphabetical order) to the table at [[Abilities#Keyword Abilities]]
  
 
===New planeswalkers===
 
===New planeswalkers===
 
# ''' Upload the planeswalker image'''
 
# ''' Upload the planeswalker image'''
#* Obtain the image from mtgpq.info
+
#* Obtain the image from mtgpq.info, or if not present, from a Google image search
 
# '''Update the wiki's overall knowledge about the planeswalker'''
 
# '''Update the wiki's overall knowledge about the planeswalker'''
 
#* Create a new data template for the planeswalker (e.g. [[Template: PW data: Dovin, Grand Arbiter]] by copying an existing data template and modifying the details as needed
 
#* Create a new data template for the planeswalker (e.g. [[Template: PW data: Dovin, Grand Arbiter]] by copying an existing data template and modifying the details as needed
Line 71: Line 75:
 
# '''Create a new wiki page for the new planeswalker'''
 
# '''Create a new wiki page for the new planeswalker'''
 
#* Create a new page (e.g. [[Dovin, Grand Arbiter]]) by copying an existing planeswalker page and modifying the details as needed
 
#* Create a new page (e.g. [[Dovin, Grand Arbiter]]) by copying an existing planeswalker page and modifying the details as needed
#* To automatically generate the level 1-60 details table and abilities tables, obtain the PW data from Octal9, then process it using convert_pw_wiki.py, available from the MtGPQ wiki discord server
+
#* To automatically generate the level 1-60 details table and abilities tables, obtain the PW data from the [https://docs.google.com/spreadsheets/d/1tT-FpEV4YeSjA75-TjZPI_I2nk22h7J5yPYqZpnpgKw/edit PW Level Breakdown spreadsheet], then process it using convert_pw_wiki.py, available from the MtGPQ wiki discord server
  
 
===New events===
 
===New events===
Line 82: Line 86:
 
# '''Create a wiki page for the new event'''
 
# '''Create a wiki page for the new event'''
 
#* Create a new page (e.g. [[Tour de Ravnica]]) by copying an existing event page and modifying the details as needed
 
#* Create a new page (e.g. [[Tour de Ravnica]]) by copying an existing event page and modifying the details as needed
 +
#* Add any new objectives to the [[Template:Objective]] and [[Objectives]] pages

Latest revision as of 04:44, 14 August 2021

This page describes how to maintain the wiki in the case of new release content, or weekly updates such as event schedules.


Weekly maintenance

The following needs to be done each week to keep the wiki current.

  1. Update the Main Page event schedule
  2. Update the Main Page Developer News
    • Edit Template:Main_page_news:
      • Add major news items to the top of the list (blog posts, Q&A, pre-release threads, etc)
      • Remove older news items to keep the list size reasonable (~5 items)
  3. Track elite pack contents
    • Edit Elite pack tracking:
      • Fill in a row of the tracking table, giving the names of each elite pack in the vault this week
      • If any elite pack is new, add the list of its cards to the Elite pack card pools section

New release

When a game release is made containing any significant new content or changes, the wiki needs to be updated using the following steps.

  1. Update the wiki's knowledge of which releases exist
    • Edit Template:Release list:
      • Add version number of the new release to the end of the list
      • Increment the first number (total number of releases)
  2. Update the wiki's knowledge about the new release
    • Create a new release data template (e.g. Template:Release_data:_3.3) by copying an existing data template and modifying the details as needed
    • Add a row for the new release on the Game_history page
  3. Update sets, abilities, planeswalkers, and events
    • If the release contains new game content, also follow the steps in the corresponding sub-section(s) below.

New card set

  1. Upload a symbol for the new set
    • Follow the instructions at Template:SetSymbol for best results
    • Create a new symbol template (e.g. Template:GRN) by copying an existing symbol template and modifying for the new card set
  2. Update the wiki's knowledge of which card sets exist, and which sets are in Standard
  3. Update the wiki's knowledge about the card set as a whole
    • Create a new data template for the set (e.g. Template:Card_set_data:_GRN) by copying an existing data template and modifying the details as needed
  4. Create a redirect and template for the new card set abbreviation
    • Create a page whose name is the set abbreviation (e.g. RNA), whose contents is e.g. #REDIRECT [[Ravnica Allegiance]]
    • Other card set content, such as the card sets navbox (Template:Sets) and the card sets portal (Portal:Cards) will update automatically after the above changes are done
  5. Create a wiki page for the new card set
    • Create a new page (e.g. Guilds of Ravnica) by copying an existing card set page and modifying the details as needed
  6. Update the wiki's knowledge of each card in the new set
    • (Server task) Upload card data templates for all cards in the new set
  7. Update the Card of the Day card list
    • Extend the list of cards at Template:Card_of_the_day_selection, as well as the magic total number of cards, to allow the new set's cards to appear as Card of the Day on the Main page

New card abilities

  1. Add new icon abilities to the wiki
    • For each new icon ability:
      • Upload a pair of icon images at 120x120px (width may be narrower): A white-on-alpha version as [Ability].png, and a black-on-alpha version as [Ability]-b.png
      • Add the ability name to Template:IconAbilityList
      • Add a row (alphabetical order) to the table at Abilities#Icon Abilities
  2. Add new keyword abilities to the wiki

New planeswalkers

  1. Upload the planeswalker image
    • Obtain the image from mtgpq.info, or if not present, from a Google image search
  2. Update the wiki's overall knowledge about the planeswalker
  3. Update the Planeswalker navbox
  4. Update the Planeswalker Portal page
  5. Create a new wiki page for the new planeswalker
    • Create a new page (e.g. Dovin, Grand Arbiter) by copying an existing planeswalker page and modifying the details as needed
    • To automatically generate the level 1-60 details table and abilities tables, obtain the PW data from the PW Level Breakdown spreadsheet, then process it using convert_pw_wiki.py, available from the MtGPQ wiki discord server

New events

  1. Update the wiki's knowledge about the event as a whole
  2. Update the Events navbox
  3. Update the Events portal
    • Add an EventTableRow (alphabetically sorted) to Portal:Events, giving the name of the new event
  4. Create a wiki page for the new event