zhtest / WikibaseClientLite /WikibaseClientLite.php
arolstar52's picture
Upload 10 files
227d7ba verified
Raw
History Blame Contribute Delete
877 Bytes
<?php
/**
* Legacy entry point kept for deployments that still require_once this file.
* New deployments should load this shim with wfLoadExtension('WikibaseClientLite')
* so extension.json can register the #property and #statements magic words.
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This file is part of MediaWiki and is not a valid entry point.' );
}
$wgExtensionCredits['other'][] = [
'path' => __FILE__,
'name' => 'WikibaseClientLite',
'author' => 'Local deployment shim',
'description' => 'Minimal Scribunto mw.wikibase compatibility layer for read-only mirrors.',
'version' => '0.1.2',
];
// Do not register parser hooks here. MediaWiki 1.43 requires parser-function
// magic words to be registered through ExtensionMessagesFiles before setFunctionHook().
// LocalSettings.php in this package uses wfLoadExtension('WikibaseClientLite').