Project #2: Put bug fixes into CardChange table
Put bug fixes into CardChange table
From Patch 21.6.0.124497, I wish to put all bug fixes into a table called Template:CardChange table, in order to make the Patch changes section of all card articles automatically functionable. In a nutshell, whenever you put a bug fix into the table, then you go to the corresponding card article and purge it, you will see the Patch changes section automatically updated.
What to do
- Browse through Template:Patches, starting from Patch 21.6.0.124497 to the oldest patch ever that have a build number.
- For each patch, check the patch notes, find the corresponding
dbfId
by using this query, then put into custom subpages of Template:CardChange table with this code:
{{#cargo_store:_table=CardChange |build=<build number of the patch> |dbfId=<dbfId of the corresponding card> |type=custom |new=<whatever it said in patch note> }}
Example scenario
- You visit 21.8 Patch Notes, whose build number is
126451
(on Desktop Battle.net client) - You see this line:
Fixed a bug where Celestial Ink Set would not lose durability in some cases where it should’ve.
- You go to this query and type
Celestial Ink Set
, then press the button "Run query" - You see Celestial Ink Set has dbfId
63673
- You go to Template:CardChange_table/126451/custom and add this:
{{#cargo_store:_table=CardChange |build=126451 |dbfId=63673 |type=custom |new=Fixed a bug where Celestial Ink Set would not lose durability in some cases where it should’ve. }}