scryfall / gatherer-bugs

A public repository tracking bugs on gatherer.wizards.com
20 stars 2 forks source link

Localized split cards have multiple data issues #19

Open csuhta opened 6 years ago

csuhta commented 6 years ago

(1) On some localized split card pages, the names of the cards have the full split card name, instead of their individual names:

(2) On some even older split cards, the data is fully duplicated on both halves and no images are provided.

WotC Incident ID: 180527-000003

ZeldaZach commented 6 years ago

So what I was doing to determine the differences was use the header information Wizards gave us

...
ClientIDs.textRating = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_currentRating_textRating';
ClientIDs.totalVotes = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_currentRating_totalVotes';
ClientIDs.extraVoteInfo = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_currentRating_extraVoteInfo';
ClientIDs.discussionLink = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_discussionLink';
ClientIDs.Literal2 = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_Literal2';
ClientIDs.Literal3 = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_Literal3';
ClientIDs.Literal4 = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_Literal4';
ClientIDs.specialCaseLayoutBreakers = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_specialCaseLayoutBreakers';
ClientIDs.rightCol = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_rightCol';
ClientIDs.cardWordingSwitch = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_cardWordingSwitch';
ClientIDs.nameRow = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_nameRow';
ClientIDs.nameLabel = 'ctl00_ctl00_ctl00_MainContent_SubContent_SubContent_ctl01_nameLabel';
...

From here, we can determine the "halves" by reading the ctlXY number. XY and XY+1 will be the numbers for split cards. Most will be 01 and 02, but I've seen them vary up to 08/09. It feels random.

Ex: On the card you posted,

If you use a replacement of ctl02 you will get Alvorecer and ctl01 will get you Anoitecer. This replacement happens after SubContent. Hope this helps!