Mediawiki install failure on fedora 32

Built a Fedora 32 system and installed apache (2.4.43) /php (7.4.6) /mediawiki (1.33.3) from the regular repo. Went through the MediaWiki install selecting all features. At the finalization page, told it to install and then it threw up. Posted this in the MediaWiki forum and was told to notify SemanticMediaWiki maintainers. I did that and they said the version of SemanticMediaWiki included in Fedora 32 is 1.8 which was abandoned 6 years ago and “will not work under any circumstances”. He also said the latest version is 3.1 but does not support php 7.4 so maybe this package should be removed until a newer version is released that supports other packages in the Fedora repo? For now, I will uninstall the package.

[XukdTH7z706fDeNemJRv-QAAABU] /wiki/mw-config/index.php?page=Install Error from line 464 of /usr/share/mediawiki/extensions/SemanticMediaWiki/includes/SMW_Setup.php: Call to undefined function wfProfileIn()


#0 /usr/share/mediawiki/extensions/SemanticMediaWiki/includes/SMW_Setup.php(426): smwfInitContentLanguage()
#1 /usr/share/mediawiki/extensions/SemanticMediaWiki/SMW_Settings.php(95): smwfInitNamespaces()
#2 /usr/share/mediawiki/extensions/SemanticMediaWiki/SemanticMediaWiki.php(74): require_once(string)
#3 /usr/share/mediawiki/includes/installer/Installer.php(1497): require_once(string)
#4 /usr/share/mediawiki/includes/installer/Installer.php(1597): Installer->includeExtensions()
#5 /usr/share/mediawiki/includes/installer/WebInstallerInstall.php(44): Installer->performInstallation()
#6 /usr/share/mediawiki/includes/installer/WebInstaller.php(264): WebInstallerInstall->execute()
#7 /var/www/wiki/mw-config/index.php(80): WebInstaller->execute()
#8 /var/www/wiki/mw-config/index.php(38): wfInstallerMain()
#9 {main}
1 Like

If you want to use Fedora for a Mediawiki deployment, I would go with a Docker image:

That way you can happily upgrade your Fedora every six months and your Wiki remains untouched in the container.

Those webapps have way too many specific requirements and dependencies that you ever get it stable on a fast-moving distro like Fedora. (CentOS would probably work much better).

Could be worth filing a bug and requesting the retirement of the package…



From the commit logs, the maintainer has not updated this package in the last few years. It’s only in Fedora because it continues to build successfully at each release. The package is actually pretty much unmaintained:

1 Like