[00:09:39] Can Anyone help me getting started with contributing in wikimedia projects. [00:22:48] saurav: Sure. See https://www.mediawiki.org/wiki/How_to_contribute [03:08:03] I have a private wiki with 19 users, and so far I have given everyone a username and made all the passwords the same. I wanted to change that, so I created a super simple PHP script and HTML form that they filled out, so I could change their passwords. I didn't store the passwords in plaintext, I stored the hashed versions of the passwords, using the default hashing algorithm that comes with PHP. [03:08:39] Anyone have any ideas how I can take these user's password hashes and update their user profiles to reflect what they submitted on my custom PHP script? [03:09:08] Any reason you didn't tell them to use Special:ChangePassword? [03:09:27] php changePassword.php --password="password1234" wouldn't work, because the script doesn't accept password hashes. [03:09:45] I meant visiting Special:ChangePassword on the wiki [03:10:14] But no, I'm mosty certain that MediaWiki is generating hashes differently than you did [03:10:14] legoktm, I wanted to be able to take their password (hash) and use it for anything I needed--like logging into the Apache server. [03:11:35] So, I did this: password_hash($_REQUEST["pass"], PASSWORD_DEFAULT); [03:11:46] MediaWiki uses salting so that's not going to be possible [03:12:04] I thought it salted it by default. [03:12:46] It might, but I don't think it'll be the same salt. [04:26:27] legoktm, I really need to figure this out. Would you know anyone who could help? [04:28:42] Goop: I told you that I don't think it's possible, and you should tell your users to go to Special:ChangePassword and use that [19:52:22] On which mediawiki page is report when I want to make new page or edit? [19:55:17] Zoranzoki21: I don't quite understand you, but the Recent changes page (linked in the sidebar, or go to Special:RecentChanges directly) lists all recently created or edited pages [19:55:58] If you're asking how to create / edit a page, just go to that page and select either the "Create" or "Edit" tab along the top. If you don't see that tab (for example, it may say "View source" instead), then you do not have permission to create or edit that page [19:57:03] When I want to edit or create page, I see message.. On which mediawiki I can change it? [20:00:49] ?uselang=qqx [20:03:06] Reedy: Thank you [21:28:42] hello [21:29:18] is it possible to take a mediawiki site on my server and host it on my local development environment? [21:30:15] jfive_: sure [21:30:31] your local environment should have PHP, MySQL, and a webserver installed (such as Apache) [21:30:45] from there you can install/run mediawiki normally [21:31:15] if you want to import content from your production site, take a backup/dump of the database on prod, copy it locally, and restore it [21:31:24] mysqldump is a good utility for that [21:31:27] Skizzerz: yes I have a lamp stack here... however, when i try it I just get: Sorry! This site is experiencing technical difficulties. [21:31:35] (mysqldump to dump, then the plain mysql command to import) [21:31:38] and no errors in apache's log [21:31:59] is it a mediawiki error message or a generic one? [21:32:42] yeah i'm a web dev by trade so i imported the db, pulled down the files with git, changed the host name in LocalSettings.php [21:32:57] didn't quite answer my question :) [21:33:03] i don't know, it looks like this: https://screencast.com/t/8jJMN1yqm [21:33:08] if it's a mw error message, set $wgShowExceptionDetails = true; in your LocalSettings.php [21:33:13] i've never seen this type of error page before [21:33:19] ah [21:33:26] yeah that's a mediawiki message [21:33:31] in that case, it can't talk to your db [21:33:38] hmm [21:33:40] make sure that your db settings in LocalSettings.php are correct [21:33:46] hostname/username/password [21:34:02] you can do that $wgShowExceptionDetails = true; thing too, it's useful when debugging/developing [21:34:48] doing that should hopefully give more details as to exactly what went wrong (can't connect, can't log in, db doesn't exist, etc.) [21:34:50] ah man, you're right... i had the old db name haha [21:35:22] cool :) [21:35:25] thank you! [21:35:29] $wgDebugToolbar = true; is another useful setting [21:35:31] * jfive_ slaps forehead [21:35:41] it adds a bar at the bottom of every page which exposes a lot of useful info when developing [21:36:05] awesome [21:36:45] in your own code (if you're doing extension development, etc), you can write to the log there with MWDebug::log( 'Content goes here' );