mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
Start showing warning for deprecated PHP entry point
Change-Id: I375f5676f90a92b543a22296394f182d63d13e12
This commit is contained in:
parent
23d4fdfb18
commit
05d0874142
|
@ -25,11 +25,11 @@ if ( function_exists( 'wfLoadExtension' ) ) {
|
|||
wfLoadExtension( 'MultimediaViewer' );
|
||||
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
||||
$wgMessagesDirs['MultimediaViewer'] = __DIR__ . '/i18n';
|
||||
/* wfWarn(
|
||||
wfWarn(
|
||||
'Deprecated PHP entry point used for MultimediaViewer extension. ' .
|
||||
'Please use wfLoadExtension instead, ' .
|
||||
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
||||
); */
|
||||
);
|
||||
return;
|
||||
} else {
|
||||
die( 'This version of the MultimediaViewer extension requires MediaWiki 1.25+' );
|
||||
|
|
Loading…
Reference in a new issue