Spaces:
Running
Running
File size: 877 Bytes
82413ac 039c290 82413ac 227d7ba 82413ac 039c290 227d7ba 039c290 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?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').
|