Skip to content

refactor(Faction): Use game identifiers instead of abbreviations for AoE factions#7813

Open
mbergen wants to merge 18 commits into
mainfrom
aoe-faction-gamekeys
Open

refactor(Faction): Use game identifiers instead of abbreviations for AoE factions#7813
mbergen wants to merge 18 commits into
mainfrom
aoe-faction-gamekeys

Conversation

@mbergen

@mbergen mbergen commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Migrates the table keys in AoE faction data to use game identifiers, to align with other wikis.
To facilitate this, normalize game input in Module:Faction, which handles backwards compatibility with non-git usage.

Also removes the FactionData defaultGame, as it's only usage is now directly using Info.defaultGame

How did you test this change?

dev on aoe, sc2

hjpalpha

This comment was marked as resolved.

@mbergen

This comment was marked as resolved.

@mbergen
mbergen requested a review from hjpalpha July 14, 2026 12:06
@mbergen
mbergen marked this pull request as ready for review July 14, 2026 12:13
@mbergen
mbergen requested review from a team as code owners July 14, 2026 12:13

@hjpalpha hjpalpha left a comment

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.

can you test it on one of the craft wikis too?
(just to double-check the commons changes work fine here too)

@mbergen

mbergen commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

can you test it on one of the craft wikis too? (just to double-check the commons changes work fine here too)

After getting bamboozled by the data-on-commons setup of these being semi-compatible with our dev envs, seems to work besides some modules not using Lua.import yet

@Rathoz Rathoz changed the title fix(Faction): Use game identifiers instead of abbreviations for AoE factions refactor(Faction): Use game identifiers instead of abbreviations for AoE factions Jul 15, 2026
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.

2 participants