MediaWiki is free and open-source and is distributed under the terms of the GNU General Public License version 2 or any later version.