You have two options for installing MediaWiki on Fedora: installing it as an rpm/dnf package or simply deploying the PHP yourself from the tarball or from the Git repository.
You can simply drop the tarball in a directory accessible to your web server, navigate to it and run the installation wizard. It is closer to the way the developers work, so it makes it easier for the developers to support you.
sudo dnf install -y httpd mysql-server php php-pear php-xml php-pdo-mysql php-intl php-pecl-zendopcache php-gd php-mbstring ImageMagick-perl
MediaWiki is available as of Fedora Core 4 or later. In order to install it, you should run (as root):