From 3537978a48f53b058a92ea31317062ffaa4d7b40 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Sat, 17 Oct 2026 16:53:13 +0200 Subject: [PATCH 1/2] feat(Standings): let next legacy wrapper throw on unsupported first tiebreaker --- lua/wikis/commons/Standings/Table/Legacy/Next.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/wikis/commons/Standings/Table/Legacy/Next.lua b/lua/wikis/commons/Standings/Table/Legacy/Next.lua index 22c6895ea23..035a4177f6d 100644 --- a/lua/wikis/commons/Standings/Table/Legacy/Next.lua +++ b/lua/wikis/commons/Standings/Table/Legacy/Next.lua @@ -60,6 +60,8 @@ local IMPLICIT_TIEBREAKERS = { function StandingTableLegacyNext.run(frame) local args = Arguments.getArgs(frame) + assert(args.tiebreaker1 ~= 'finalTiebreak', 'This SwissTableLeague has to be converted manually due to using unsupported manual tiebreakers') + local matchRecords = StandingTableLegacyNext.fetchMatches(args) local matchesByRound, roundCount = StandingTableLegacyNext.groupMatchesByRound(args, matchRecords) local rounds = Table.map(Array.range(1, roundCount), function(roundIndex) From 9a3f38efaf52b7d52e7fbf6d95b1fbe449c1980b Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Sat, 17 Oct 2026 17:06:04 +0200 Subject: [PATCH 2/2] break the line --- lua/wikis/commons/Standings/Table/Legacy/Next.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/wikis/commons/Standings/Table/Legacy/Next.lua b/lua/wikis/commons/Standings/Table/Legacy/Next.lua index 035a4177f6d..6628f238175 100644 --- a/lua/wikis/commons/Standings/Table/Legacy/Next.lua +++ b/lua/wikis/commons/Standings/Table/Legacy/Next.lua @@ -60,7 +60,8 @@ local IMPLICIT_TIEBREAKERS = { function StandingTableLegacyNext.run(frame) local args = Arguments.getArgs(frame) - assert(args.tiebreaker1 ~= 'finalTiebreak', 'This SwissTableLeague has to be converted manually due to using unsupported manual tiebreakers') + assert(args.tiebreaker1 ~= 'finalTiebreak', 'This SwissTableLeague has to be converted' + .. ' manually due to using unsupported manual tiebreakers') local matchRecords = StandingTableLegacyNext.fetchMatches(args) local matchesByRound, roundCount = StandingTableLegacyNext.groupMatchesByRound(args, matchRecords)