Module:Gerrit dashboard/MediawikiCore

From Bonkipedia

Documentation for this module may be created at Module: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' )
add_team_member( 'Brad Jorsch', 'Anomie' )
add_team_member( 'Ori Livneh', 'Ori.livneh' )
add_team_member( 'Aaron Schulz', '"Aaron Schulz"' )
add_team_member( 'Chris Steipp', 'CSteipp' )
add_team_member( 'Kunal Mehta', 'Legoktm' )
add_team_member( 'Stanislav Malyshev', 'Smalyshev' )
-- releng team should have their own dashboard
--add_team_member( 'Greg Grossmeier', '"Greg Grossmeier"' )
--add_team_member( 'Antoine Musso', 'Hashar' )
--add_team_member( 'Sam Reed', 'Reedy' )
--add_team_member( 'Chad Horohoe', 'Chad' )

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
}