Difference between revisions of "Mediawiki"
From Anarchaserver
(One intermediate revision by the same user 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'<br /> | set the password for username 'example' to 'newpassword'<br /> | ||
Line 9: | Line 9: | ||
== CREATE USER == | == 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.