Difference between revisions of "User:Ch4zm/Hellmouth II/Wiki bot retrofit"

From Golly.Life Wiki
Line 28: Line 28:
 
* {{Tl|JetstreamCrownHellmouthIICupPostseason}}
 
* {{Tl|JetstreamCrownHellmouthIICupPostseason}}
  
also had to go in and figure out exactly where to use "crown_data.name" versus "crown_data.spaces_name"
+
also had to go in and figure out exactly where to use "cup_data.name" versus "cup_data.spaces_name"
  
 
[[:Category:Hellmouth II Cup]] , not [[:Category:HellmouthII Cup]]
 
[[:Category:Hellmouth II Cup]] , not [[:Category:HellmouthII Cup]]
 +
 +
===season by season pages===
 +
 +
going through and replacing cup_data.name with cup_data.spaces_name
 +
 +
* {{Tl|Infobox hellmouth season}}
 +
* {{Tl|Infobox klein season}}

Revision as of 17:05, 8 October 2023

Retrofit pkg modules

Where did we start?

  • pkg/summaries/
  • pkg/winners/
  • pkg/seasons/

Next, look for all the imports of cup data classes that don't include Hellmouth II:

$ grep "from ..cup_data import HellmouthCup" pkg/* -r
  • pkg/crowns/
  • pkg/records/
  • (leave records for last...)

Botdrivers

crowns driver

crowns driver golly:

also had to go in and figure out exactly where to use "cup_data.name" versus "cup_data.spaces_name"

Category:Hellmouth II Cup , not Category:HellmouthII Cup

season by season pages

going through and replacing cup_data.name with cup_data.spaces_name