-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AoE: Infobox player bugfixes #2577
Conversation
since we want to store pagfenames with underscore in the future imo already prep the module for the switch and query for |
i mean to actually have them as an OR condition not just replacing them see e.g. https://github.com/Liquipedia/Lua-Modules/blob/main/components/infobox/wikis/starcraft2/infobox_person_player_custom.lua as reference: #1802 |
Should i add another bugfix in here or a separate PR? |
Summary
Without resolved ID, querying would fail for lowercased IDs.
Removing the pagename as that doesn't work in userspace and ID is mandatory anyways.
Added optional query for pagenames with underscores instead of spaces.
Also changed the array merge to do one after another (otherwise, games might be added multiple times)
How did you test this change?
/dev