From c0a6bb468f3564eeecaf00f06265b2d7b9e5ecfc Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 25 Jun 2006 02:37:45 +0000 Subject: [PATCH] - print out some more usefull links SVN-Revision: 3737 --- tools/upload_supertux_wiki.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/upload_supertux_wiki.sh b/tools/upload_supertux_wiki.sh index 9fc6254ad..40bb1beae 100755 --- a/tools/upload_supertux_wiki.sh +++ b/tools/upload_supertux_wiki.sh @@ -92,12 +92,18 @@ links -dump $STEP2_FILE | sed "s/ *Views/## EOF ##/;/## EOF ##/q" rm -f "$STEP1_FILE" "$STEP2_FILE" "$COOKIES_FILE" +WIKI_FILENAME=$(basename $FILENAME | sed -n "s/^\(.\).*/\1/p" | tr '[a-z]' '[A-Z]')$(basename $FILENAME | sed "s/^.\(.*\)/\1/") + echo "" echo "Link to the Image list:" echo " http://supertux.berlios.de/wiki/index.php/Special:Imagelist" echo " " echo "Link to the Image page:" -echo " http://supertux.berlios.de/wiki/index.php/Image:"`basename $FILENAME | sed -n "s/^\(.\).*/\1/p" | tr '[a-z]' '[A-Z]'``basename $FILENAME | sed "s/^.\(.*\)/\1/"` +echo " http://supertux.berlios.de/wiki/index.php/Image:"$WIKI_FILENAME +echo "" +echo "Wiki Link (first without thumbnail, second with):" +echo " [[:Image:$WIKI_FILENAME|$DESCRIPTION]]" +echo " [[Image:$WIKI_FILENAME|$DESCRIPTION]]" echo "" # EOF # -- 2.11.0