Smalyshev has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/378351 )
Change subject: Move "all category wikis" script to more generic form ...................................................................... Move "all category wikis" script to more generic form Change-Id: I4dbc0aaf5240d38bc7e2944104bb6cae23409e00 --- R dist/src/script/forAllCategoryWikis.sh 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/rdf refs/changes/51/378351/1 diff --git a/dist/src/script/loadAllCategories.sh b/dist/src/script/forAllCategoryWikis.sh similarity index 78% rename from dist/src/script/loadAllCategories.sh rename to dist/src/script/forAllCategoryWikis.sh index 22e37d7..1f4521e 100755 --- a/dist/src/script/loadAllCategories.sh +++ b/dist/src/script/forAllCategoryWikis.sh @@ -1,6 +1,7 @@ #!/bin/bash DUMP_LIST=${DUMP_LIST:-"https://noc.wikimedia.org/conf/categories-rdf.dblist"} DIR=${DIR:-`dirname $0`} +COMMAND="$1" if [ -f $DUMP_LIST ]; then fetch="cat" @@ -9,6 +10,6 @@ fi $fetch $DUMP_LIST | while read wiki; do - echo "Loading $wiki..." - $DIR/loadCategoryDump.sh $wiki -done \ No newline at end of file + echo "Processing $wiki..." + $DIR/$COMMAND $wiki +done -- To view, visit https://gerrit.wikimedia.org/r/378351 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4dbc0aaf5240d38bc7e2944104bb6cae23409e00 Gerrit-PatchSet: 1 Gerrit-Project: wikidata/query/rdf Gerrit-Branch: master Gerrit-Owner: Smalyshev <smalys...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits