[00:21:26] hi [00:22:11] i'm running 1.31, and i read that parsoid is moving to a php version. what do i need to do to smoothly migrate from 1.31 to a newer version of mw and parsoid? [00:24:09] oh, I see, the js version is still the supported version until the php version is built into mw [11:24:47] how to grant some user Bob right to edit only page /foo/ and its subpages, instead of allowing him to edit all pages? [13:28:33] hi all [13:28:53] hae nstall the ms multi upload wiki extension [13:29:30] but getting error -200 [13:31:57] Msupload [13:34:19] wonderer: which MediaWiki version? Which branch and version of that extension? [13:34:54] and what does the server log show? [13:39:19] Not to mention, what and where is error -200 [13:47:28] HTTP/1.1 -200 NOT OK [13:48:20] Well that's a new one [13:48:25] Where do you see this? [13:49:04] Negative numbers aren't valid http status codes... [13:49:08] oh sorry I was joking, hadn't noticed you were doing actual support [13:50:02] Oh sorry, I'm just half paying attention, I didn't realize that you were a different person than original poster [13:50:39] As a joke, that is kind of funny, and also sort of what went through my mind when wonderer originally claimed an error code of -200 [14:20:40] anyoneknow how i can fix this error? https://pastebin.com/G69VgH0e [14:21:48] wonderer: you need to install either bcmath or gmp php extensions [14:22:08] wonderer: on debian or ubuntu you would need to run: sudo apt install php-gmp [14:22:09] probably [14:26:04] ah ok thx bawolff [16:31:00] * wonderer LIVE Starship SPACEX SPACE LAUNCH FACILITY Rollout * https://www.youtube.com/watch?v=220AeiF99fI [18:20:18] Anyone know which database table the location of pictures are held in? [18:21:58] It's not, exactly [18:22:21] File repos are defined in config [18:22:30] And based on filename, you can then work out where the file would be [18:25:44] Thanks Reedy. But I was recently hit by spammers creating 20k+ accounts and countless articles on Poker, etc. [18:26:13] It was no use trying to clean up the database so I dropped it and started over. (after exporting my articles) [18:26:44] But now MW does not recognize any pictures even though they are in the file structure. [18:26:52] Right [18:26:59] It needs the rows in the database to know the images exist [18:27:05] ie there has been a file uploaded [18:27:23] I guess you didn't export the File namespace? [18:27:37] I have a sql dump and have imported it (under a different name). [18:27:53] Is this a table? [18:28:42] Files have rows in the page (plus potentially the archive), revision, image tables... [18:30:15] Hm, a table called "imagelinks". Now I have to figure out how to list to confirm, then export. [18:31:13] imagelinks is a list of the images used on other pages [18:32:00] I am not understanding either of your past two statements even though English is my native language... [18:32:35] There is not one table [18:32:47] Uploading a file creates many rows in many tables [18:32:58] Oh no. [18:33:00] And for the second [18:33:18] it's a list of [[File:Foobar]] on pages [18:33:49] Well this is something that should have been handled in my article export. [18:34:08] And something that I should be able to get from my tainted dump. [18:34:14] You can definitely do the latter [18:34:43] For the former... Should and reality aren't necessarily the same [18:34:59] I don't know how you exported them, but Special:Export doesn't track file pages [18:35:17] That's how I did the clean articles. [18:35:34] Recommendation? [18:35:43] Do you have many files? [18:35:56] Prob 20 pictures. [18:36:00] FWIW, the files are saved on disk, probably in a folder callled images in your wiki root [18:36:09] They will likely be in sub folders [18:37:44] Yes, in mediawiki-images (cooperative to mediawiki root). Then in mediawiki, a symlink to the images dir. [18:38:57] ... and billions of subdirs. [18:40:12] Well, if you have 20 files, I doubt there's be billions ;) [18:40:20] It'll only be two levels deep, at max, but possibly a bit wide [18:41:00] Start over? [18:41:21] How far do you want me to go back? [18:41:34] Or just read https://www.mediawiki.org/wiki/Manual:$wgHashedUploadDirectory [18:41:37] No I mean should I start over? [18:43:49] Did you try https://www.mediawiki.org/wiki/Extension:Nuke ? [18:45:21] Some of those are quite old and did not work. Don't remember what went wrong with that one. [18:51:30] you can try to do a find -type f in the mediawiki images directory... most of your subdirectories will be empty if you've so few images [22:32:26] Hi, maybe a stupid question, but is there a way to get all inserted/edited articles of a user in a given time period? [22:32:49] Anything is possible [22:35:19] :D Reedy what would be the easiest way? [22:35:31] Need a bit more context [22:35:44] Against your own wiki, against Wikipedia, against another wiki? [22:36:02] Do you want it machine readable? [22:37:26] On my own wiki and human readable [22:37:48] https://en.wikipedia.org/w/index.php?target=Reedy&namespace=all&tagfilter=&start=2020-02-01&end=2020-02-29&limit=100&title=Special%3AContributions [22:38:08] Special:Contributions is the page you want... [22:39:41] Nice, thank you Reedy. I'll test it right now [22:44:47] oooh man thanks Reedy how could I overlook that. Damn are you a bot or human, always so quick when someone asks you something :D [22:45:00] Or just bored ;) [22:45:28] hehehe [22:47:42] so thank you again, saved me a lot of time and have a good night