On dota2, we sometimes use {{SingleMatch}} for single matches. This takes a width parameter as defined in Template:SingleMatch and is passed into {{ShowSingleMatch}}.
At some point between October 2025 and May 2026, the width parameter stopped being obeyed. Consider this diff, where I specifically widened the widget, and never reverted it (because it worked).
The easiest fix appears to be to change this line. I tested it in my dev module:
return MatchSummary.defaultGetByMatchId(CustomMatchSummary, args, {width = (args.width .. 'px') or '400px', teamStyle = 'bracket'})
It looks like this (which may be moved to mainspace by the time this bug report is looked at more closely). This was widened to 500px.
However, I don't really like this fix, because Module:MatchGroup/Display/SingleMatch specifically strips out the "px". But at the same time, I don't understand the Commons module well enough. (Tangentially though, would we want to support things like percentage-based widths in this module?)
On dota2, we sometimes use
{{SingleMatch}}for single matches. This takes a width parameter as defined inTemplate:SingleMatchand is passed into{{ShowSingleMatch}}.At some point between October 2025 and May 2026, the width parameter stopped being obeyed. Consider this diff, where I specifically widened the widget, and never reverted it (because it worked).
The easiest fix appears to be to change this line. I tested it in my dev module:
return MatchSummary.defaultGetByMatchId(CustomMatchSummary, args, {width = (args.width .. 'px') or '400px', teamStyle = 'bracket'})It looks like this (which may be moved to mainspace by the time this bug report is looked at more closely). This was widened to 500px.
However, I don't really like this fix, because
Module:MatchGroup/Display/SingleMatchspecifically strips out the "px". But at the same time, I don't understand the Commons module well enough. (Tangentially though, would we want to support things like percentage-based widths in this module?)