Difference between revisions of "Help:Maintenance guide"
(17 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
#** Move the schedule for the old week to [[Event calendar historical]] | #** Move the schedule for the old week to [[Event calendar historical]] | ||
#** Add the new week's schedule, by copying an existing week and modifying the details as needed | #** Add the new week's schedule, by copying an existing week and modifying the details as needed | ||
+ | # '''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) | ||
# '''Track elite pack contents''' | # '''Track elite pack contents''' | ||
#* Edit [[Elite pack tracking]]: | #* Edit [[Elite pack tracking]]: | ||
Line 24: | 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 | ||
# '''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 30: | Line 35: | ||
# '''Upload a symbol for the new set''' | # '''Upload a symbol for the new set''' | ||
#* Follow the instructions at [[Template:SetSymbol]] for best results | #* 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 | ||
# '''Update the wiki's knowledge of which card sets exist, and which sets are in Standard''' | # '''Update the wiki's knowledge of which card sets exist, and which sets are in Standard''' | ||
#* Add the new set and its ID to [[Template:Id to set]] | #* Add the new set and its ID to [[Template:Id to set]] | ||
#* Add the new set and its ID to [[Template:Set to id]] | #* Add the new set and its ID to [[Template:Set to id]] | ||
+ | #* Add the new set abbreviation and its full name to [[Template:Set expand]] | ||
#* 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 | ||
− | # ''' | + | # '''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=== | ===New card abilities=== | ||
# '''Add new icon abilities to the wiki''' | # '''Add new icon abilities to the wiki''' | ||
− | #* For each new icon ability, | + | #* 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# | + | #* 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''' |
+ | #* Obtain the image from mtgpq.info, or if not present, from a Google image search | ||
+ | # '''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 | ||
+ | # '''Update the Planeswalker navbox''' | ||
+ | #* For each new planeswalker, add an entry to [[Template:Planeswalkers]] | ||
+ | # '''Update the Planeswalker Portal page''' | ||
+ | #* For each new planeswalker, add a row (alphabetical order) to the table at [[Portal:Planeswalkers]] | ||
+ | # '''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 [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 61: | 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.
Contents
Weekly maintenance
The following needs to be done each week to keep the wiki current.
- Update the Main Page event schedule
- Edit Template:Main_page_calendar:
- Move the schedule for the old week to Event calendar historical
- Add the new week's schedule, by copying an existing week and modifying the details as needed
- Edit Template:Main_page_calendar:
- 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)
- Edit Template:Main_page_news:
- 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
- Edit Elite pack tracking:
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.
- 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)
- Edit Template:Release list:
- 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
- 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
- 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
- Update the wiki's knowledge of which card sets exist, and which sets are in Standard
- Add the new set and its ID to Template:Id to set
- Add the new set and its ID to Template:Set to id
- Add the new set abbreviation and its full name to Template:Set expand
- 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
- Add a row to Template:Infobox Formats for the new card set
- 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 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
- Create a page whose name is the set abbreviation (e.g. RNA), whose contents is e.g.
- 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
- (Server task) Upload card data templates for all cards in the new set
- 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
- 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
- For each new icon ability:
- Add new keyword abilities to the wiki
- For each new keyword ability, add a row (alphabetical order) to the table at Abilities#Keyword Abilities
New planeswalkers
- Upload the planeswalker image
- Obtain the image from mtgpq.info, or if not present, from a Google image search
- 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
- Update the Planeswalker navbox
- For each new planeswalker, add an entry to Template:Planeswalkers
- Update the Planeswalker Portal page
- For each new planeswalker, add a row (alphabetical order) to the table at Portal:Planeswalkers
- 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
- Update the wiki's knowledge about the event as a whole
- Create a new data template for the event (e.g. Template:Event data: Tour de Ravnica) by copying an existing data template and modifying the details as needed
- Update the Events navbox
- Add a link to the event to Template:Events in the appropriate section
- Update the Events portal
- Add an EventTableRow (alphabetically sorted) to Portal:Events, giving the name of 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
- Add any new objectives to the Template:Objective and Objectives pages