summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FunnyQuestion.conf.php.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/FunnyQuestion.conf.php.sh b/FunnyQuestion.conf.php.sh
index 66549381..d280e3de 100644
--- a/FunnyQuestion.conf.php.sh
+++ b/FunnyQuestion.conf.php.sh
@@ -7,17 +7,17 @@ declare -A prompts
prompts[en]='What is the output of the command <tt>%s</tt>?'
{
- echo '<?php'
- echo -n '$wgFunnyQuestions = array('
+ echo '<?php'
+ echo -n '$wgFunnyQuestions = array('
- nl='\n'
- for lang in "${!prompts[@]}"; do
- printf "${nl}\t\"${lang}\" => array(\"${prompts[$lang]}\" => \"%s\")" "$cmd" "$answer"
- nl=',\n'
- done
+ nl='\n'
+ for lang in "${!prompts[@]}"; do
+ printf "${nl}\t\"${lang}\" => array(\"${prompts[$lang]}\" => \"%s\")" "$cmd" "$answer"
+ nl=',\n'
+ done
- echo
- echo ');'
+ echo
+ echo ');'
} > /srv/http/wiki/FunnyQuestion.conf.php
touch /srv/http/wiki/extensions/FunnyQuestion/FunnyQuestion.i18n.php