|
@@ -616,7 +616,7 @@ mostrarSSL() {
|
|
|
mostrarMediaWiki(){
|
|
|
# Introducir nombre wiki
|
|
|
while [ -z $nombreMediaWiki ]; do
|
|
|
- nombreMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI" --inputbox "Introduzca el nombre de la Wiki:." $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) wiki.$hostname --ok-button "Continuar" --cancel-button "Salir" 3>&1 1>&2 2>&3)
|
|
|
+ nombreMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI" --inputbox "Introduzca el nombre de la Wiki:." $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) --ok-button "Continuar" --cancel-button "Salir" 3>&1 1>&2 2>&3)
|
|
|
comprobarError $? 1
|
|
|
# Mejora: comprobar si el dominio ya está en uso
|
|
|
done
|
|
@@ -627,7 +627,7 @@ mostrarMediaWiki(){
|
|
|
# Mejora: comprobar si el dominio ya está en uso
|
|
|
done
|
|
|
# Introducir tipo de Wiki (abierta, creación de cuenta requerida, sólo editores autorizados o wiki privada)
|
|
|
- tipoMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI" --radiolist "<ESPACIO>: seleccionar <TAB>: cambiar <FLECHAS>: moverse\n\nEscoge el tipo de wiki que quieres instalar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
|
|
|
+ tipoMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI" --radiolist "<ESPACIO>: seleccionar <TAB>: cambiar <FLECHAS>: moverse\n\nEscoge el tipo de wiki que quieres instalar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
|
|
|
"Abierta" "Wiki Abierta" ON \
|
|
|
"CuentaRequerida" "Creación de cuenta requerida" OFF \
|
|
|
"EditoresAutorizados" "Sólo editores autorizados" OFF \
|
|
@@ -635,11 +635,10 @@ mostrarMediaWiki(){
|
|
|
--ok-button "Continuar" --cancel-button "Salir" --notags 3>&1 1>&2 2>&3)
|
|
|
comprobarError $? 1
|
|
|
# Introducir tipo de Licencia
|
|
|
- licenciaMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI" --radiolist "<ESPACIO>: seleccionar <TAB>: cambiar <FLECHAS>: moverse\n\nEscoge el tipo licencia para la wiki:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
|
|
|
+ licenciaMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI" --radiolist "<ESPACIO>: seleccionar <TAB>: cambiar <FLECHAS>: moverse\n\nEscoge el tipo licencia para la wiki:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 3 \
|
|
|
"Nada" "Sin Licencia" ON \
|
|
|
"CC-BY-SA" "Creative Commons Atribución-CompartirIgual" OFF \
|
|
|
"CC-BY-NC-SA" "Creative Commons Atribución-NoComercial-CompartirIgual" OFF \
|
|
|
- "Copyright" "Todos los derechos reservados" OFF \
|
|
|
--ok-button "Continuar" --cancel-button "Salir" --notags 3>&1 1>&2 2>&3)
|
|
|
comprobarError $? 1
|
|
|
}
|