[01:59:03] hi, i accidentally deleted my images folder while upgrading mediawiki from 31 [01:59:15] what should i do to remove the images? [02:00:28] when i do php deleteArchivedFiles.php --delete [02:00:42] i get "unable to aquire lock *.png" [04:23:38] join [12:29:23] Hello, I have been trying to install MediaWiki locally for the past two days; I have been facing error "403 Forbidden" https://ibb.co/b5ZghPY ; I have tried to resolve it myself and moved on to the stackoverflow, tried to follow those suggestions, but wasn't able to resolve it; I have also tried purging everything and reinstalling LAMP and Core. I was frustrated and stuck with no ideas; please help me to come out of this. [12:29:23] Thanks in advance. [12:37:36] I am trying to remove a last name from a biography on Wikipedia. It seems like I can edit all the text except the "header", where the full name is used. I have now tried everything and read every FAQ, without getting anywhere. What to do? The person has gotten a divorce a long time ago, and want to remove the former spouses name from Wikipedia. [12:45:47] hi irmophus, #wikipedia-en is probably the better channel to ask the question in [12:46:05] or #wikipedia-en-help [13:41:16] drishya8: permissions [13:41:17] ? [15:10:27] biberao: Yes, Sorry for the delay [15:11:04] I also tried giving chmod 755 permissions. but no change. [15:12:07] drishya8: change the ownership [15:12:57] Sorry, I didn't get you; Get you please brief me on it? [15:14:24] Hello drishya8 umm I'm just wondering about why? Let me also check on it. [15:16:09] drishya8: [15:16:18] the webserver should have access to it? [15:17:01] Yes, I guess; How can I check it? [15:25:49] you can check what user/group your server has [15:25:53] and then match them [15:27:08] actually i never match them only for php [15:34:52] biberao: Thank you :) I'll surely try it out. [15:53:10] hello i upgraded to 1.32.0 and the recent changes header is very ugly, can I get the old style back [15:56:35] c: OOUI-ification? [16:02:32] i don't know anything about ooui [18:52:16] How can I change all the strings from "http://www.mediawiki.org" to "https://www.mediawiki.org" in all the thousands of files in a single command in Linux from the command line interface? Any suggestions please? [18:54:02] That string specifically? Why? [18:55:35] I found a lot of http protocals in Mediawiki code base, to change to https to make secure requests. [18:57:50] any idea reedy ? I have tried [18:57:50] sed -i 'http://(www\.)?mediawiki\.org/$https://(www\.)?mediawiki\.org/g' *.php [18:57:50] but it's not working in my case, can suggestioins please @Reedy [18:58:04] I'm not sure this is particularly necessary [18:58:09] Server side, we enforce HTTPS [18:58:33] Client side, www.mediawiki.org is in the HSTS lists for anyone running a recent ish browser [18:58:56] I know this doesnt not make any sense but still. [18:59:32] There's also numerous usages in core that I don't know if they should just be uniformly replaced with HTTPS either [19:00:16] Use find and sed, I guess. [19:00:32] * raghavendra Yeah I have tried this [19:00:35] sed -i 'http://(www\.)?mediawiki\.org/$https://(www\.)?mediawiki\.org/g' *.php [19:00:50] I can imagine there is something on stackoverflow about this [19:01:42] I have tried searching about this in stackoverflow, after a long workdone I thought of asking in community [19:02:21] raghavendra: Does sed accept more than one specific input file? [19:02:41] yes I guess [19:03:06] raghavendra, what makes you think so? [19:03:43] https://unix.stackexchange.com/questions/112023/how-can-i-replace-a-string-in-a-files [19:05:14] yeah the same thing I have mentioned in above sed command, any false in that ? [19:06:07] what "same thing"? [19:07:39] I have followed in the similar way as you suggested with the link, I have followed all those syntaxt correctly I guess, this I ment as samething :) [19:09:55] My guess would be something like: find . -name '*.php' -exec sed -i -e 's/http:\//https:\//g' {} \; [19:10:03] no idea, there are many ways to do this :) [19:10:28] Okay Thanks andre__ [19:35:03] hi. just installed mediawiki, but all pages seem to be completely blank. what could be going on? [19:39:03] shreyasminocha: do you mean completely blank and no output? you likely have an error; have a look at https://www.mediawiki.org/wiki/Manual:How_to_debug#PHP_errors for how to make it display [19:39:06] https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#You_see_a_Blank_Page [19:39:27] shreyasminocha: what andre__ said is a better link :) [19:40:05] i tried adding that snippet, but it didn't work last i tried. i haven't tried again since i started over, so let me have a look [19:43:11] it's nice that mw doesn't show error messages by default though :) [20:13:05] raghavendra: that should be .org$/ not .org/$ [20:13:23] plus you need to escape all the / signs which do not have special meaning [20:15:14] shreyasminocha: it's safer - you don't want to hand out too much info to a potential attacker :) [20:15:23] yeah :) [20:15:35] (didn't intend sarcasm) [20:25:26] added `error_reporting( E_ALL ); ini_set( 'display_errors', 1 );` to LocalSettings.php, restarted server. /index.php is still blank :( [20:29:26] took me this long because i was trying to start from scratch to undo silly stuff i might've done in debugging attempts [20:32:05] shreyasminocha: your LocalSettings.php probably has an error on it or something [20:32:54] Skizzerz: i ran `php maintenance/install.php --dbname 'wiki' --dbuser 'shreyasminocha' --lang 'en' wiki admin --pass ''` to generate it [20:33:03] if you have the ability to view/modify php.ini, check the error logging settings there and ensure that errors are being logged to a file somewhere [20:36:13] shreyasminocha: the cli installer is more of an advanced feature, as it skips some of the safety checks that the web installer runs to ensure that your environment works for mediawiki [20:36:34] i couldn't access the web installer :( [20:37:18] what happened when you tried? [20:38:21] was met with a blank page [20:38:39] well, then your web environment is broken [20:39:19] hmm... i'm using nginx [20:39:25] common causes are: wrong php version, wrong file permissions/ownership, bad php.ini file for web [20:39:53] turn on error logging/reporting in php.ini, delete LocalSettings.php and your database, then try accessing the web installer again [20:40:09] (oh, another common cause: missing/corrupted files, if some of them didn't get uploaded all the way) [20:41:03] okay, let me try. thanks for your time :) [23:02:53] More of a procedural question than a technical one, but: has anyone ever seen a Cite/Reference setup pointing to media? Using TimedMediaHandler if it helps.