Skip to content

fix: issue with aoe subteams with team participants - #7448

Open
Rathoz wants to merge 8 commits into
mainfrom
fix-aoe-subteam-issues
Open

fix: issue with aoe subteams with team participants#7448
Rathoz wants to merge 8 commits into
mainfrom
fix-aoe-subteam-issues

Conversation

@Rathoz

@Rathoz Rathoz commented Apr 30, 2026

Copy link
Copy Markdown
Member

Summary

Resolves #7217

How did you test this change?

dev

@Rathoz
Rathoz force-pushed the fix-aoe-subteam-issues branch from 63af91c to 2e3520a Compare April 30, 2026 12:29
@Rathoz
Rathoz marked this pull request as ready for review April 30, 2026 12:34
@Rathoz
Rathoz requested review from a team as code owners April 30, 2026 12:34
Copilot AI review requested due to automatic review settings April 30, 2026 12:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes missing team roster/flag variable storage for subteam (A/B variant) participants by ensuring the team’s template identifier is included among the stored aliases, improving downstream retrieval in match parsing/display.

Changes:

  • Add opponent.template to the alias list generated for each parsed team participant.
  • This results in additional alias-based variable storage paths for teams, helping match modules find roster/flag data for subteams.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lua/wikis/commons/TeamParticipants/Parse/Wiki.lua
@Rathoz
Rathoz requested a review from mbergen April 30, 2026 12:41
Comment thread lua/wikis/commons/TeamTemplate.lua Outdated
Comment thread lua/wikis/commons/TeamTemplate.lua Outdated
Comment thread lua/wikis/commons/TeamParticipants/Repository.lua
Comment thread lua/wikis/commons/TeamParticipants/Parse/Wiki.lua

local function generateObjectName()
local team = Opponent.toName(participant.opponent)
local team = TeamTemplate.getPageNameNoRedirect(participant.opponent.template)

@mbergen mbergen Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo: Redirect or not needs to be toggled as *craft wikis have it enabled in PrizePool

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we drop it from PPT on craft wikis?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would need to check the earnings etc stuff on sc2 in player/team infoboxes
if that relies on the redirect it would need to be adjusted first

could also potentially break

currently don't have the time to check it

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would these require the object name to not have a redirect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TeamParticipants does not support A/B teams linking (via page redirect) to the same page

5 participants