How to make mediawiki public

Hello

I have installed mediawiki on yunohost but the wiki is private.
I must log in to acces it.

How can I modify configuration to make it public ?

thanks

Hi,
You can do this in the nginx configuration. I don’t think that it will hold after udpate but you just have to do it again:

Go to

/etc/nginx/conf.D/YOURDOMAIN.TLD.d/

and modify the end of the file mediawiki.conf

nano mediawiki.conf

Then comment the line at the end of the file

# Include SSOWAT user panel.
#  include conf.d/yunohost_panel.conf.inc;
}

You’ll be allowed to connect directly to the site
If anyone have a better solution, I’m interested

Hey.

I rather suggest to execute the following:

sudo yunohost app setting mediawiki unprotected_urls -v "/"
sudo yunohost app ssowatconf

See here: https://yunohost.org/#/packaging_apps

I opened the issue for the packager: https://github.com/mikangali-labs/mediawiki_ynh/issues/5

thank you for your proposed solutions.

The following commands are not working. I always have to login.

sudo yunohost app setting mediawiki unprotected_urls -v "/"
sudo yunohost app ssowatconf

There is a private mode parameter in the configuration file:

 # cat /etc/yunohost/apps/mediawiki/settings.yml
allowed_users: domos
domain: vesta.nohost.me
id: mediawiki
install_time: 1429965845
label: Mediawiki
mode: private
mysqlpwd: xxxxxxxxxxxxxxxxxxxxxxx
path: /wiki/
unprotected_urls: /   

How can I change it?