Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311427

Change subject: Move source files into src directory
......................................................................

Move source files into src directory

Change-Id: I58dd5a10609eb2d4f4b8d66577be195ec7f9657c
---
M extension.json
R src/CognateHooks.php
R src/CognateStore.php
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cognate 
refs/changes/27/311427/1

diff --git a/extension.json b/extension.json
index 193d2fb..c563b37 100644
--- a/extension.json
+++ b/extension.json
@@ -9,8 +9,8 @@
   "license-name": "MIT",
   "type": "other",
   "AutoloadClasses": {
-    "CognateHooks": "CognateHooks.hooks.php",
-    "CognateStore": "CognateStore.php"
+    "CognateHooks": "src/CognateHooks.php",
+    "CognateStore": "src/CognateStore.php"
   },
   "config": {
     "CognateWiki": false,
diff --git a/CognateHooks.hooks.php b/src/CognateHooks.php
similarity index 98%
rename from CognateHooks.hooks.php
rename to src/CognateHooks.php
index e00a951..419743d 100644
--- a/CognateHooks.hooks.php
+++ b/src/CognateHooks.php
@@ -102,7 +102,7 @@
                        return true;
                }
 
-               $dbDir = __DIR__ . '/db';
+               $dbDir = __DIR__ . '/../db';
                $updater->addExtensionUpdate(
                        array( 'addTable', 'inter_language_titles', 
"$dbDir/addInterLanguageTable.sql", true )
                );
diff --git a/CognateStore.php b/src/CognateStore.php
similarity index 100%
rename from CognateStore.php
rename to src/CognateStore.php

-- 
To view, visit https://gerrit.wikimedia.org/r/311427
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I58dd5a10609eb2d4f4b8d66577be195ec7f9657c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cognate
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to