mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Move EchoHooks into includes/
Change-Id: I6fe78ca2763f1d449198d9f4e9a0c4d9b8e081f7
This commit is contained in:
parent
28f6be7a31
commit
e33b42882d
|
@ -954,7 +954,7 @@
|
|||
"EchoForeignNotifications": "includes/ForeignNotifications.php",
|
||||
"EchoForeignPresentationModel": "includes/formatters/EchoForeignPresentationModel.php",
|
||||
"EchoForeignWikiRequest": "includes/ForeignWikiRequest.php",
|
||||
"EchoHooks": "Hooks.php",
|
||||
"EchoHooks": "includes/EchoHooks.php",
|
||||
"EchoHtmlDigestEmailFormatter": "includes/formatters/EchoHtmlDigestEmailFormatter.php",
|
||||
"EchoHtmlEmailFormatter": "includes/formatters/EchoHtmlEmailFormatter.php",
|
||||
"EchoIcon": "includes/formatters/EchoIcon.php",
|
||||
|
|
|
@ -92,7 +92,7 @@ class EchoHooks {
|
|||
global $wgResourceModules;
|
||||
|
||||
$testModuleBoilerplate = [
|
||||
'localBasePath' => __DIR__,
|
||||
'localBasePath' => dirname( __DIR__ ),
|
||||
'remoteExtPath' => 'Echo',
|
||||
];
|
||||
|
||||
|
@ -146,7 +146,7 @@ class EchoHooks {
|
|||
'dependencies' => [
|
||||
'oojs'
|
||||
],
|
||||
'localBasePath' => __DIR__ . '/modules',
|
||||
'localBasePath' => dirname( __DIR__ ) . '/modules',
|
||||
'remoteExtPath' => 'Echo/modules',
|
||||
'targets' => [ 'desktop', 'mobile' ],
|
||||
];
|
||||
|
@ -191,7 +191,7 @@ class EchoHooks {
|
|||
// DatabaseUpdater does not support other databases, so skip
|
||||
return;
|
||||
}
|
||||
$dir = __DIR__;
|
||||
$dir = dirname( __DIR__ );
|
||||
$baseSQLFile = "$dir/echo.sql";
|
||||
$updater->addExtensionTable( 'echo_event', $baseSQLFile );
|
||||
$updater->addExtensionTable( 'echo_email_batch', "$dir/db_patches/echo_email_batch.sql" );
|
Loading…
Reference in a new issue