Difference between revisions of "Mediawiki"

From Anarchaserver
m
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 /usr/share/mediawiki/maintenance</code>
<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 />

Revision as of 17:36, 16 October 2020

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

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.