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> ...")
 
Line 5: Line 5:
<code>cd /usr/share/mediawiki/maintenance</code>
<code>cd /usr/share/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 ==
== CREATE USER ==

Revision as of 21:05, 20 September 2015

FORGOT PASSWORD

To retrieve a password, when you know the username, you have to run a maintenance script in the folder:

cd /usr/share/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.