Adrian Lang has uploaded a new change for review.

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

Change subject: Move parsers from lib to repo
......................................................................

Move parsers from lib to repo

They are only used in repo.

Change-Id: I08bd8883614f1c85b71b52a3f5f56a9646b9f410
---
M lib/resources/Resources.php
M repo/resources/Resources.php
R repo/resources/parsers/getApiBasedValueParserConstructor.js
R repo/resources/parsers/getStore.js
R repo/resources/parsers/resources.php
5 files changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/66/172966/1

diff --git a/lib/resources/Resources.php b/lib/resources/Resources.php
index 8d2371d..c1d7968 100644
--- a/lib/resources/Resources.php
+++ b/lib/resources/Resources.php
@@ -137,7 +137,6 @@
                include( __DIR__ . '/deprecated/resources.php' ),
                include( __DIR__ . '/experts/resources.php' ),
                include( __DIR__ . '/jquery.wikibase/resources.php' ),
-               include( __DIR__ . '/parsers/resources.php' ),
                include( __DIR__ . '/wikibase.RepoApi/resources.php' )
        );
 
diff --git a/repo/resources/Resources.php b/repo/resources/Resources.php
index 2b49904..fc4d4d5 100644
--- a/repo/resources/Resources.php
+++ b/repo/resources/Resources.php
@@ -219,6 +219,7 @@
                $modules,
                include( __DIR__ . '/entityChangers/resources.php' ),
                include( __DIR__ . '/formatters/resources.php' ),
+               include( __DIR__ . '/parsers/resources.php' ),
                include( __DIR__ . '/store/resources.php' ),
                include( __DIR__ . '/utilities/resources.php' )
        );
diff --git a/lib/resources/parsers/getApiBasedValueParserConstructor.js 
b/repo/resources/parsers/getApiBasedValueParserConstructor.js
similarity index 100%
rename from lib/resources/parsers/getApiBasedValueParserConstructor.js
rename to repo/resources/parsers/getApiBasedValueParserConstructor.js
diff --git a/lib/resources/parsers/getStore.js 
b/repo/resources/parsers/getStore.js
similarity index 100%
rename from lib/resources/parsers/getStore.js
rename to repo/resources/parsers/getStore.js
diff --git a/lib/resources/parsers/resources.php 
b/repo/resources/parsers/resources.php
similarity index 100%
rename from lib/resources/parsers/resources.php
rename to repo/resources/parsers/resources.php

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I08bd8883614f1c85b71b52a3f5f56a9646b9f410
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Adrian Lang <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to