Skip to content

Switch from Template:LeagueIconSmall/mainpageTST to Template:LeagueIconSmall/custom#11

Merged
FO-nTTaX merged 4 commits intoLiquipedia:masterfrom
hjpalpha:master
Sep 9, 2025
Merged

Switch from Template:LeagueIconSmall/mainpageTST to Template:LeagueIconSmall/custom#11
FO-nTTaX merged 4 commits intoLiquipedia:masterfrom
hjpalpha:master

Conversation

@hjpalpha
Copy link
Contributor

@hjpalpha hjpalpha commented Sep 8, 2025

Template:LeagueIconSmall/custom exists on commons and hence is available for all wikis, hence this removes the need for wikis to create Template:LeagueIconSmall/mainpageTST if they want to switch from using LIS to using the icons from the LPDB data.

Potential follow up: Adjust Module:TournamentsSummaryTable to always (on all wikis) use the icon data from LPDB instead of LIS.

$iconTemplatePrefix . '/custom',
NS_TEMPLATE
);
if ( $iconfileTitle !== null && $iconfileTitle->exists() && $skin->getTitle() !== null ) {
Copy link
Member

Choose a reason for hiding this comment

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

As long as the $iconfileTitle->exists() code is in there it will not see the commons version existing.

@hjpalpha hjpalpha requested a review from FO-nTTaX September 8, 2025 07:58
@FO-nTTaX FO-nTTaX merged commit e195d31 into Liquipedia:master Sep 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants