Thread:Project:Support desk/Legal issues modifying MediaWiki locally

There must be a simple link to this but I can't find it! What legal issues are there if I modify the MediaWiki code for my own or my company's use? Do I need to submit the new code to the open source community? (The changes are always very minor and I usually do submit - I just want to know what would happen if I missed one.)