Closed kizule closed 6 months ago
DNM, I'm testing this patch. At this moment, it's showing notice that caching-related constants are already defined in MediaWiki's includes/Defines.php file.
I don't guarantee that this is working fine at the moment, I'll test this further and cleanup the SemanticCite.php file.
Any confirmation yet if the "PHP Fatal error: Uncaught Error: Undefined constant "CACHE_ANYTHING"" issue is resolved and 3.0 release status? Thanks in advance for all you guys are doing ;)
When (SemanticCite ~3.0) installed through composer it will throw a dependency error, and packages will not be installed. For now I'm using the dev-master and manually change CACHE_EVERYTHING
to -1
in /var/www/html/extensions/SemanticCite/DefaultSettings.php
SMW 4.1, MW 1.39, PHP 8.1
I'm going to create a new PR.
Fixes #107 completely.