Closed Routhwick closed 1 year ago
Perhaps they can work around the issue by telling Composer that SMW is already installed. That said, installing the dependencies of MediaWiki and extensions independently with Composer is not safe. Composer is supposed to know about all dependencies and only install a single copy of each.
Setup
Issue
Last month, Miraheze turned down Semantic Result Formats due to incompatibility with their submodule-based approach to installing extensions. When @Universal-Omega attempted to install SRF on Miraheze during the mid-afternoon of September 12, the following backtrace resulted. (Emphasis in UO's commentary bolded.)
Fatal error: Cannot redeclare smwfContLang() (previously declared in /srv/mediawiki/w/extensions/SemanticResultFormats/extensions/SemanticMediaWiki/includes/GlobalFunctions.php:28) in /srv/mediawiki/w/extensions/SemanticMediaWiki/includes/GlobalFunctions.php on line 27
A little while later, UO added:
After I brought up this Hostinger support page to his attention, he elaborated further
After nearly a month's delay (due to babysitting + wiki-maintenance commitments et al.), I am making this filing on their behalf, and will send them any received feedback/concerns en route to tentative reconsideration. (I am a user of SMW on Miraheze, and also utilised SRF back when Referata had that as a companion extension.)
TL/DR: Any way to retrofit SRF's code so that Miraheze's submodules can handle it?