Difference between revisions of "Mediawiki"
From Anarchaserver
(Created page with "==FORGOT PASSWORD== To retrieve a password, when you know the username, you have to run a maintenance script in the folder: <code>cd /usr/share/mediawiki/maintenance</code> ...") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
To retrieve a password, when you know the username, you have to run a maintenance script in the folder: | To retrieve a password, when you know the username, you have to run a maintenance script in the folder: | ||
<code>cd / | <code>cd /var/www/mediawiki/maintenance</code> | ||
set the password for username 'example' to 'newpassword' | set the password for username 'example' to 'newpassword'<br /> | ||
<code>php changePassword.php --user=example --password=newpassword</code> | <code>php changePassword.php --user=example --password=newpassword</code> | ||
== CREATE USER == | |||
How to restrict access ? | |||
Log in your MediaWiki and click Special Pages at the bottom left of the screen. | Log in your MediaWiki and click Special Pages at the bottom left of the screen. | ||
Then click Log in / create an account and create a new MediaWiki account. | Then click Log in / create an account and create a new MediaWiki account. |
Latest revision as of 18:20, 8 May 2021
FORGOT PASSWORD
To retrieve a password, when you know the username, you have to run a maintenance script in the folder:
cd /var/www/mediawiki/maintenance
set the password for username 'example' to 'newpassword'
php changePassword.php --user=example --password=newpassword
CREATE USER
How to restrict access ?
Log in your MediaWiki and click Special Pages at the bottom left of the screen. Then click Log in / create an account and create a new MediaWiki account.