In several occasions there have been discussions about the need to investigate sources to fund the development of MediaWiki features relevant for third parties. Wikimedia offers grants that potentially could be used for some features, and other possibilities for funding out of Wikimedia should b epxlored as well.
This is a task that the MediaWiki Stakeholders Group could lead.