Open JeroenDeDauw opened 2 years ago
use Wikibase\DataModel\Entity\NumericPropertyId;
use Wikibase\DataModel\Entity\PropertyId;
class Compat {
public static function newPId( string $id ): PropertyId {
if ( class_exists( NumericPropertyId::class ) ) {
return new NumericPropertyId( $id );
}
return new PropertyId( $id );
}
}
Don't know what is causing the error https://github.com/ProfessionalWiki/WikibaseEdtf/runs/4913925133?check_suite_focus=true
@addshore any idea? LocalSettings.php loading code is at https://github.com/ProfessionalWiki/WikibaseEdtf/blob/master/.github/workflows/installMediaWiki.sh