モジュール:Gerrit dashboard/MediawikiCore
提供: ひつじ小屋別館2代目
このモジュールについての説明文ページを モジュール:Gerrit dashboard/MediawikiCore/doc に作成できます
-- Gerrit open code review dashboard for the Mediawiki Core team
-- Displays all open code reviews filed by Core team members
-- Usage: {{#invoke:Gerrit dashboard/Mediawiki Core|link}}
local dashboard = require( 'Module:Gerrit dashboard' )
local link_to_dashboard = dashboard._link_to_dashboard
local team_members = {}
local dashboard_def = {}
local add_team_member = function ( member, name )
table.insert( dashboard_def, { member, {
{ 'status', 'open' },
{ 'owner', name }
} } )
table.insert( team_members, { member, name } )
end
add_team_member( 'Tim Starling', '"Tim Starling"' )
add_team_member( 'Bryan Davis', 'BryanDavis' )
add_team_member( 'Nik Everett', 'Manybubbles' )
-- gerrit has a limit of 10 queries per dashboard for some reason; greg-g is muted for now
--add_team_member( 'Greg Grossmeier', '"Greg Grossmeier"' )
add_team_member( 'Chad Horohoe', 'Chad' )
add_team_member( 'Brad Jorsch', 'Anomie' )
add_team_member( 'Ori Livneh', 'Ori.livneh' )
add_team_member( 'Antoine Musso', 'Hashar' )
add_team_member( 'Sam Reed', 'Reedy' )
add_team_member( 'Aaron Schulz', '"Aaron Schulz"' )
add_team_member( 'Chris Steipp', 'CSteipp' )
return {
link = function ( frame )
return link_to_dashboard( dashboard_def, 'MediaWiki Core', 'MediaWiki Core dashboard on Gerrit' ) .. ' <sup>[[Module:Gerrit dashboard/MediawikiCore|(source)]]</sup>'
end
}