Thread:Project:Support desk/Where is the BaseTemplate class?

I'm trying to edit how MediaWiki renders my sidebar list items. Does anyone know where the BaseTemplate class is? I need to modify makeListItem.