fix(PlayerTournamentAppearances): players with spaces/underscores not counted together correctly#7526
fix(PlayerTournamentAppearances): players with spaces/underscores not counted together correctly#7526hjpalpha wants to merge 1 commit into
Conversation
… counted together correctly
|
This seems like we should rather fix the regression in TeamParticipants, no? |
it gest fixed automatically once all tc are migrated |
How so? There's a change in how TPs stores pagenames compared to old TCs, and any other consumer that might depend on it breaks? |
most components catch it already |
There's still a lot of cases with plain gsub (instead of Module:Page), that might assume that its stored with underscores, which could fail regardless of there being two variants. It's also a change for API consumers, and generally a step back, given we eventually want to always store pagenames with underscores? |
fwiw the new version (TeamParticipants) is at least consistent in that it uses |
That's great in theory, but bad in practice is what i'm trying to say. |
Summary
new team participants store with spaces unless
Info.config.forceUnderscoresis enabledold TC did store with underscores on some wikis
this mismatch causes issues in PlayerTournamentAppearances as it doesn't treat e.g.
A_Hao_eiandA Hao eias the sameHow did you test this change?
dev