From 4c889b4416f7cac5b1481e2be667cae759b94c13 Mon Sep 17 00:00:00 2001 From: elisa Date: Tue, 14 Jan 2025 23:18:19 +0900 Subject: [PATCH 01/16] Start setting up standardized mainpage for Overwatch --- .../wikis/overwatch/filter_buttons_config.lua | 41 ++++++ .../wikis/overwatch/main_page_layout_data.lua | 122 ++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 components/filter_buttons/wikis/overwatch/filter_buttons_config.lua create mode 100644 components/main_page/wikis/overwatch/main_page_layout_data.lua diff --git a/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua new file mode 100644 index 0000000000..94d9d1be98 --- /dev/null +++ b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua @@ -0,0 +1,41 @@ +local Config = {} +local Tier = require('Module:Tier/Utils') +local FnUtil = require('Module:FnUtil') +local Game = require('Module:Game') + +Config.categories = { + { + name = 'liquipediatier', + query = 'liquipediatier', + load = function(category) + category.items = {} + for _, tier in Tier.iterate('tiers') do + table.insert(category.items, tier.value) + end + end, + defaultItems = {'1', '2', '3'}, + transform = function(tier) + return Tier.toName(tier) + end, + expandKey = "liquipediatiertype", + additionalClass = '' + }, + { + name = 'liquipediatiertype', + query = 'liquipediatiertype', + expandable = true, + load = function(category) + category.items = {} + for _, tiertype in Tier.iterate('tierTypes') do + table.insert(category.items, tiertype.value) + end + --table.insert(category.items, "") + end, + transform = function(tiertype) + return tiertype + end, + additionalClass = '' + }, +} + +return Config diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua new file mode 100644 index 0000000000..54be713a6d --- /dev/null +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -0,0 +1,122 @@ +--- +-- @Liquipedia +-- wiki=overwatch +-- page=Module:MainPageLayout/data +-- +-- Please see https://github.com/Liquipedia/Lua-Modules to contribute +-- + +local CONTENT = { + wantToHelp = { + heading = 'Want To Help?', + body = '{{Liquipedia:Want_to_help}}', + padding = true, + boxid = 1504, + }, + transfers = { + heading = 'Transfers', + body = '{{Transfer List|limit=15}}\n
\n' .. + '
\'\'[[#Top|Back to top]]\'\'
\n' .. + '\n' .. + '
' .. + '[[Portal:Transfers|See more transfers]]' .. + '[[Transfer query]]' .. + '[[lpcommons:Special:RunQuery/Transfer|Input Form]]' .. + '' .. + '[[Portal:Rumours|Rumours]]
\n
', + boxid = 1509, + }, + thisDay = { + heading = 'This day in Overwatch ' .. + '({{#time:F}} {{Ordinal|{{#time:j}}}})', + body = '{{Liquipedia:This day}}', + padding = true, + boxid = 1510, + }, + specialEvents = { + noPanel = true, + body = '{{Liquipedia:Special Event}}', + boxid = 1511, + }, + filterButtons = { + noPanel = true, + body = '
' .. + '{{#invoke:Lua|invoke|module=FilterButtons|fn=getFromConfig}}
', + }, + matches = { + heading = 'Matches', + body = '{{MainPageMatches}}
[[Liquipedia:Matches|See more matches]]
', + padding = true, + boxid = 1507, + }, + tournaments = { + heading = 'Tournaments', + body = '{{#invoke:Lua|invoke|module=TournamentsList|fn=run|upcomingDays=120|' .. + 'completedDays=30|filterByTierTypes=true|useExternalFilters=true}}', + boxid = 1508, + }, +} + +return { + main = { + { -- Left + size = 6, + children = { + { + mobileOrder = 1, + content = CONTENT.specialEvents, + }, + { + mobileOrder = 6, + content = CONTENT.thisDay, + }, + { + mobileOrder = 4, + content = CONTENT.transfers, + }, + { + mobileOrder = 8, + content = CONTENT.wantToHelp, + }, + } + }, + { -- Right + size = 6, + children = { + { + mobileOrder = 2, + children = { + { + children = { + { + noPanel = true, + content = CONTENT.filterButtons, + }, + }, + }, + { + size = 6, + children = { + { + noPanel = true, + content = CONTENT.matches, + }, + }, + }, + { + size = 6, + children = { + { + noPanel = true, + content = CONTENT.tournaments, + }, + }, + }, + }, + }, + }, + }, + }, +} From 3fe1fabde5e72dae036111eee102323b32e689d8 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Tue, 14 Jan 2025 23:20:33 +0900 Subject: [PATCH 02/16] Add latest changes --- .../wikis/overwatch/filter_buttons_config.lua | 32 +-- .../wikis/overwatch/main_page_layout_data.lua | 184 +++++++++++++----- 2 files changed, 143 insertions(+), 73 deletions(-) diff --git a/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua index 94d9d1be98..707867e02c 100644 --- a/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua +++ b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua @@ -1,12 +1,18 @@ -local Config = {} +--- +-- @Liquipedia +-- wiki=overwatch +-- page=Module:FilterButtons/Config +-- +-- Please see https://github.com/Liquipedia/Lua-Modules to contribute +-- + local Tier = require('Module:Tier/Utils') -local FnUtil = require('Module:FnUtil') -local Game = require('Module:Game') +local Config = {} Config.categories = { { name = 'liquipediatier', - query = 'liquipediatier', + property = 'liquipediaTier', load = function(category) category.items = {} for _, tier in Tier.iterate('tiers') do @@ -17,24 +23,6 @@ Config.categories = { transform = function(tier) return Tier.toName(tier) end, - expandKey = "liquipediatiertype", - additionalClass = '' - }, - { - name = 'liquipediatiertype', - query = 'liquipediatiertype', - expandable = true, - load = function(category) - category.items = {} - for _, tiertype in Tier.iterate('tierTypes') do - table.insert(category.items, tiertype.value) - end - --table.insert(category.items, "") - end, - transform = function(tiertype) - return tiertype - end, - additionalClass = '' }, } diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 54be713a6d..4c823792f1 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -7,6 +7,12 @@ -- local CONTENT = { + usefulArticles = { + heading = 'Useful Articles', + body = '{{Liquipedia:Useful Articles}}', + padding = true, + boxid = 1503, + }, wantToHelp = { heading = 'Want To Help?', body = '{{Liquipedia:Want_to_help}}', @@ -18,7 +24,7 @@ local CONTENT = { body = '{{Transfer List|limit=15}}\n
\n' .. '
\'\'[[#Top|Back to top]]\'\'
\n' .. '\n' .. + '[[[Special:EditPage/Player Transfers/{{CURRENTYEAR}}/{{CURRENTMONTHNAME}}|edit]]]
\n' .. '
' .. '[[Portal:Transfers|See more transfers]]' .. '[[Transfer query]]' .. @@ -46,75 +52,151 @@ local CONTENT = { }, matches = { heading = 'Matches', - body = '{{MainPageMatches}}
[[Liquipedia:Matches|See more matches]]
', + body = '{{#invoke:Lua|invoke|module=Widget/Factory|fn=fromTemplate|widget=Match/Ticker/Container}}' .. + '
[[Liquipedia:Upcoming and ongoing matches|See more matches]]
', padding = true, boxid = 1507, }, tournaments = { heading = 'Tournaments', - body = '{{#invoke:Lua|invoke|module=TournamentsList|fn=run|upcomingDays=120|' .. - 'completedDays=30|filterByTierTypes=true|useExternalFilters=true}}', + body = '{{#invoke:Lua|invoke|module=Widget/Factory|fn=fromTemplate|widget=Tournaments/Ticker' .. + '|upcomingDays=120|completedDays=30}}', boxid = 1508, }, } return { - main = { - { -- Left - size = 6, - children = { - { - mobileOrder = 1, - content = CONTENT.specialEvents, - }, - { - mobileOrder = 6, - content = CONTENT.thisDay, - }, - { - mobileOrder = 4, - content = CONTENT.transfers, - }, - { - mobileOrder = 8, - content = CONTENT.wantToHelp, - }, - } + banner = { + lightmode = 'Overwatch-logo-lightmode.svg', + darkmode = 'Overwatch-logo-darkmode.svg', + }, + metadesc = 'The Overwatch esports wiki covering everything from players, teams and transfers, ' .. + 'to tournaments and results, maps, weapons, and operators.', + title = 'Overwatch', + navigation = { + { + file = 'Stalk3r OWCS Finals 2024.jpeg', + title = 'Players', + link = 'Portal:Players', + count = { + method = 'LPDB', + table = 'player', + }, }, - { -- Right - size = 6, - children = { - { - mobileOrder = 2, - children = { - { - children = { - { - noPanel = true, - content = CONTENT.filterButtons, + { + file = 'Proper OWCS Finals.jpeg', + title = 'Teams', + link = 'Portal:Teams', + count = { + method = 'LPDB', + table = 'team', + }, + }, + { + file = 'Proper OWCS Finals.jpeg', + title = 'Transfers', + link = 'Portal:Transfers', + count = { + method = 'LPDB', + table = 'transfer', + }, + }, + { + file = 'Proper OWCS Finals.jpeg', + title = 'Tournaments', + link = 'Portal:Tournaments', + count = { + method = 'LPDB', + table = 'tournament', + }, + }, + { + file = 'Proper OWCS Finals.jpeg', + title = 'Heroes', + link = 'Portal:Heroes', + count = { + method = 'LPDB', + table = 'datapoint', + conditions = '[[type::character]]', + }, + }, + { + file = 'Junkertown Overwatch map.jpg', + title = 'Maps', + link = 'Portal:Maps', + count = { + method = 'LPDB', + table = 'datapoint', + conditions = '[[type::map]]', + }, + }, + }, + layouts = { + main = { + { -- Left + size = 6, + children = { + { + mobileOrder = 1, + content = CONTENT.specialEvents, + }, + { + mobileOrder = 4, + content = CONTENT.transfers, + }, + { + mobileOrder = 8, + content = CONTENT.wantToHelp, + }, + } + }, + { -- Right + size = 6, + children = { + { + mobileOrder = 2, + children = { + { + children = { + { + noPanel = true, + content = CONTENT.filterButtons, + }, }, }, - }, - { - size = 6, - children = { - { - noPanel = true, - content = CONTENT.matches, + { + size = 6, + children = { + { + noPanel = true, + content = CONTENT.matches, + }, }, }, - }, - { - size = 6, - children = { - { - noPanel = true, - content = CONTENT.tournaments, + { + size = 6, + children = { + { + noPanel = true, + content = CONTENT.tournaments, + }, }, }, }, }, + { + mobileOrder = 6, + content = CONTENT.thisDay, + }, + }, + }, + { + children = { + { + mobileOrder = 8, + content = CONTENT.usefulArticles, + }, }, }, }, From ec60ce7e29191b859926ed61a1e246562ca7d019 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Tue, 14 Jan 2025 23:34:58 +0900 Subject: [PATCH 03/16] Add header image for Overwatch mainpage --- stylesheets/commons/Banner.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stylesheets/commons/Banner.less b/stylesheets/commons/Banner.less index d2ff4e506f..f1ada03f34 100644 --- a/stylesheets/commons/Banner.less +++ b/stylesheets/commons/Banner.less @@ -42,6 +42,12 @@ } } + .wiki-overwatch & { + @media ( min-width: 768px ) { + background: url( https://liquipedia.net/commons/images/6/62/Overwatch_Banner_bg.jpg ) no-repeat center / cover; + } + } + .wiki-pubg & { @media ( min-width: 768px ) { background: url( https://liquipedia.net/commons/images/2/2d/PUBG_Banner_bg.jpg ) no-repeat center / cover; From 498739922a7899cc145496b7f36792a174a0bbd7 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Tue, 14 Jan 2025 23:52:40 +0900 Subject: [PATCH 04/16] Make linter happier --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 4c823792f1..5fddadfcbd 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -54,7 +54,8 @@ local CONTENT = { heading = 'Matches', body = '{{#invoke:Lua|invoke|module=Widget/Factory|fn=fromTemplate|widget=Match/Ticker/Container}}' .. '
[[Liquipedia:Upcoming and ongoing matches|See more matches]]
', + 'font-size:15px; font-style:italic; text-align:center;">' .. + '[[Liquipedia:Upcoming and ongoing matches|See more matches]]
', padding = true, boxid = 1507, }, From e3106ca16aa61f658fa47420954e473e91cdfce3 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 00:37:57 +0900 Subject: [PATCH 05/16] Update navcard images --- .../main_page/wikis/overwatch/main_page_layout_data.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 5fddadfcbd..dc9ef8f91a 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -86,7 +86,7 @@ return { }, }, { - file = 'Proper OWCS Finals.jpeg', + file = 'Team Falcons OWCS 2024 Major.jpg', title = 'Teams', link = 'Portal:Teams', count = { @@ -104,7 +104,7 @@ return { }, }, { - file = 'Proper OWCS Finals.jpeg', + file = 'OWCS Stockholm 2024 Trophy.jpg', title = 'Tournaments', link = 'Portal:Tournaments', count = { @@ -113,7 +113,7 @@ return { }, }, { - file = 'Proper OWCS Finals.jpeg', + file = 'Overwatch Heroes NavCard image.jpg', title = 'Heroes', link = 'Portal:Heroes', count = { From caed60bccaf78ed17087209a76666c3e45cea6d6 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 08:55:50 +0900 Subject: [PATCH 06/16] Update metadesc for OW wiki --- .../main_page/wikis/overwatch/main_page_layout_data.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index dc9ef8f91a..b98d0ff1db 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -72,8 +72,8 @@ return { lightmode = 'Overwatch-logo-lightmode.svg', darkmode = 'Overwatch-logo-darkmode.svg', }, - metadesc = 'The Overwatch esports wiki covering everything from players, teams and transfers, ' .. - 'to tournaments and results, maps, weapons, and operators.', + metadesc = 'Comprehensive Overwatch wiki with articles covering everything from heroes, to tournaments, ' .. + 'to competitive players and teams.', title = 'Overwatch', navigation = { { From 7c940ad7a8176eafbe4ae44cce82efaa2eed2669 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:08:09 +0900 Subject: [PATCH 07/16] Clear up transfers panel --- .../wikis/overwatch/main_page_layout_data.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index b98d0ff1db..bc16bab7cf 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -21,16 +21,7 @@ local CONTENT = { }, transfers = { heading = 'Transfers', - body = '{{Transfer List|limit=15}}\n
\n' .. - '
\'\'[[#Top|Back to top]]\'\'
\n' .. - '\n' .. - '
' .. - '[[Portal:Transfers|See more transfers]]' .. - '[[Transfer query]]' .. - '[[lpcommons:Special:RunQuery/Transfer|Input Form]]' .. - '' .. - '[[Portal:Rumours|Rumours]]
\n
', + body = '{{LPDB storage|false}}{{Liquipedia:News/Transfers}}{{LPDB storage|true}}', boxid = 1509, }, thisDay = { From 72def1c14080d06f1568d7b87f65b9033ee0b56f Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:09:42 +0900 Subject: [PATCH 08/16] fix duplicate mobileOrder entries --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index bc16bab7cf..16c5e6f092 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -186,7 +186,7 @@ return { { children = { { - mobileOrder = 8, + mobileOrder = 7, content = CONTENT.usefulArticles, }, }, From 9ba9717564c4ebe9bf5a553becbfeb750d3f215a Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:12:00 +0900 Subject: [PATCH 09/16] standardize "more matches" page Co-authored-by: Rikard Blixt --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 16c5e6f092..e28af09a8e 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -46,7 +46,7 @@ local CONTENT = { body = '{{#invoke:Lua|invoke|module=Widget/Factory|fn=fromTemplate|widget=Match/Ticker/Container}}' .. '
' .. - '[[Liquipedia:Upcoming and ongoing matches|See more matches]]
', + '[[Liquipedia:Matches|See more matches]]', padding = true, boxid = 1507, }, From 55ae958f4f4d03a52f998d0ca17bbd0f2c935e1f Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:13:36 +0900 Subject: [PATCH 10/16] add missing datatype annotation --- .../filter_buttons/wikis/overwatch/filter_buttons_config.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua index 707867e02c..ddbd4b6f6e 100644 --- a/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua +++ b/components/filter_buttons/wikis/overwatch/filter_buttons_config.lua @@ -9,6 +9,7 @@ local Tier = require('Module:Tier/Utils') local Config = {} +---@type FilterButtonCategory[] Config.categories = { { name = 'liquipediatier', From fbbf1d605a3682e41ebc1d2b383335fb7e9bdde6 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 21:15:50 +0900 Subject: [PATCH 11/16] change image for maps navcard --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index e28af09a8e..9bb10e99c4 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -114,7 +114,7 @@ return { }, }, { - file = 'Junkertown Overwatch map.jpg', + file = 'Kings row map.jpg', title = 'Maps', link = 'Portal:Maps', count = { From 243bcf00db0a989f2c531c9adcb49d72ba37bbfd Mon Sep 17 00:00:00 2001 From: iGeneral Date: Wed, 15 Jan 2025 21:50:01 +0900 Subject: [PATCH 12/16] Update image for teams navcard --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 9bb10e99c4..b6ff7f317b 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -77,7 +77,7 @@ return { }, }, { - file = 'Team Falcons OWCS 2024 Major.jpg', + file = 'Crazy Raccoon 2024 Esports World Cup Champions.jpg', title = 'Teams', link = 'Portal:Teams', count = { From 7ddc74326c68c642f78833ced6f09dabdccd67fb Mon Sep 17 00:00:00 2001 From: elisa Date: Wed, 15 Jan 2025 21:51:55 +0900 Subject: [PATCH 13/16] Update banner image for Overwatch --- stylesheets/commons/Banner.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/commons/Banner.less b/stylesheets/commons/Banner.less index f1ada03f34..f75ab25b9d 100644 --- a/stylesheets/commons/Banner.less +++ b/stylesheets/commons/Banner.less @@ -44,7 +44,7 @@ .wiki-overwatch & { @media ( min-width: 768px ) { - background: url( https://liquipedia.net/commons/images/6/62/Overwatch_Banner_bg.jpg ) no-repeat center / cover; + background: url( https://liquipedia.net/commons/images/0/0a/Overwatch-bg.png ) no-repeat center / cover; } } From 2f10244c81750a493e5212aabc30eb77aca5a4a0 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Wed, 15 Jan 2025 22:36:55 +0900 Subject: [PATCH 14/16] set up transfers panel without transclusion --- .../wikis/overwatch/main_page_layout_data.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index b6ff7f317b..b2971194f4 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -21,7 +21,15 @@ local CONTENT = { }, transfers = { heading = 'Transfers', - body = '{{LPDB storage|false}}{{Liquipedia:News/Transfers}}{{LPDB storage|true}}', + body = '{{Transfer List|limit=15}}\n
' .. + '
[[#Top|Back to top]]
' .. + '' .. + '
' .. + '[[Portal:Transfers|See all Transfers]][[Transfer query]]
' .. + '•[[Special:RunQuery/Transfer|Transfer Generator]]' .. + '•[[Portal:Rumours|Rumours]]
', boxid = 1509, }, thisDay = { From a22f1f15dedbeaf0e2a6504cd7de3d8c2aef88a3 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:53:23 +0100 Subject: [PATCH 15/16] Update components/main_page/wikis/overwatch/main_page_layout_data.lua Co-authored-by: Verus <145709809+iamentry@users.noreply.github.com> --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index b2971194f4..273a00565b 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -25,7 +25,7 @@ local CONTENT = { '
[[#Top|Back to top]]
' .. '' .. - '
' .. + '
' .. '[[Portal:Transfers|See all Transfers]][[Transfer query]]
' .. '•[[Special:RunQuery/Transfer|Transfer Generator]]' .. From f7c01d16dae2c6b49e53503abc99e62be4304789 Mon Sep 17 00:00:00 2001 From: Verus <145709809+iamentry@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:06:22 -0600 Subject: [PATCH 16/16] Update main_page_layout_data.lua --- components/main_page/wikis/overwatch/main_page_layout_data.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main_page/wikis/overwatch/main_page_layout_data.lua b/components/main_page/wikis/overwatch/main_page_layout_data.lua index 273a00565b..b7efc5a0e9 100644 --- a/components/main_page/wikis/overwatch/main_page_layout_data.lua +++ b/components/main_page/wikis/overwatch/main_page_layout_data.lua @@ -25,7 +25,7 @@ local CONTENT = { '
[[#Top|Back to top]]
' .. '' .. - '
' .. + '
' .. '[[Portal:Transfers|See all Transfers]][[Transfer query]]
' .. '•[[Special:RunQuery/Transfer|Transfer Generator]]' ..