[00:10:52] heh I am actually having a fairly serious problem with imagemagick not compressing PNGs well. [00:11:02] user uploads a 775 KB png, that seems reasonable [00:11:14] but the next thumb size down is +2MB [00:11:37] so my MW thumbs directory is starting to balloon. [00:12:38] Sometimes that can happen if the user uploads very large pallete pngs, because mediawiki outputs 24 bit colour version [00:17:07] ah I see... [00:17:13] that would be the exact problem [05:49:24] hello [05:50:20] how to add a certain user to an administrator group? [05:50:22] :D [14:47:27] boa tarde [16:01:18] I wonder what the difference is between wikipedia and mediawiki.org which causes me to see a FOUC on the latter but not on the former [16:09:10] Quasar``, what is "wikipedia"? [16:09:22] en.wikipedia.org [16:09:23] there are 300 Wikipedias, I think [16:09:42] Same when not logged in? [16:09:50] Could always be user scripts/gadgets [16:10:12] yep makes no difference [16:10:56] I never see the FOUC on here even though all other mediawiki-using sites (including my own) seem to be affected (AFAIK it is a bug in Firefox, so my curiosity is if wikipedia itself has some kind of workaround in place) [17:12:48] lol well I solved that... [17:13:09] disabling Greasemonkey makes it go away. [19:37:20] How to automatically extract meta-data from media files to wiki-categories? i have a bunch of pictures (5.000) and pdfs (2.000) that are tagged with categories (e.g. sports, politics) in their meta-data. i want wiki to automatically read these meta-data and make categories. so in the end if i click on "sports" i get all the media (pictures and pdfs) tagges with "sports". how can i do that? [19:37:39] you'd need an extension [19:37:47] and I don't think one exists which does that [19:38:42] could also do it with a bot I suppose, since you'd be looking at custom code either way [19:40:32] so you can't think of any workaround for those who can't program? :) [19:41:03] It's not really a workaround needed. It's something that would need a custom solution to a custom problem... [19:41:07] pay someone to program it for you? [19:41:09] or ask nicely? [19:46:03] i'd prefer to pay than to ask nicely :) maybe if you'd do that for me we can chat private somewhere? [19:53:07] Guest84961: check the tabs along the top of the webchat, you should see one with my name on it. If you type there, it'll send stuff to me privately [20:49:27] cheers, trying to dockerize mediawiki and using postgres i made an interesting discovery... when using the visual setup process which gives me a LocalSettings.php I get a fully functional database from the looks [20:49:40] calling maintenance/install.php not... [20:50:19] anyone an idea as to what may be going wrong? and no, i have used in either case the exact same user/password/dbname/server/port config [20:50:30] Any errors? [20:51:50] let me search up the error i got again from history and pastebin it [20:51:58] give me a short moment [21:10:43] https://bpaste.net/show/b6bd337f7dae [21:11:14] this is my script invocation after filling in the LocalSettings.php [21:11:31] Might be best filing a bug, detailing which version of MW you're using [21:11:32] !bug [21:11:32] https://phabricator.wikimedia.org [21:11:34] ffs [21:11:39] !filebug [21:11:41] !fileabug [21:11:41] https://phabricator.wikimedia.org/maniphest/task/create/ [21:12:09] Reedy: the thing is, it doesn't happen when i run the default installer and to my experience not once the initial database is set up in mediawiki [21:12:13] eh in postgres [21:12:40] is this the correct install.php command btw? [21:12:53] It looks to be correct [21:13:10] It's definitely creating some stuff, so it can't be far wrong if it is indeed wrong [21:13:57] looks like it's running updates before creating the initial DB structure [21:14:01] mvaenskae: any reason you're using PG? [21:14:16] $info = $this->db->fieldInfo( $table, $field ); [21:14:17] if ( $info->defaultValue() !== $default ) { [21:14:24] fieldInfo can and apparently does return null [21:16:20] * Reedy files https://phabricator.wikimedia.org/T188441 for the returning null [21:16:34] Kinda amusing it works through the web, but not via the cli [21:17:21] MaxSem: i am dockerizing mediawiki for my student association and from what i gather they want to use postgres because their instance of mysql has some runtime bugs where the db just decides to go away [21:17:49] Are you installing pg inside docker too? [21:17:54] Reedy: i just deleted the LocalSettings.php file in the docker and redid my config [21:18:29] no, i am using a docker-container of what i know will be upstream but also my local postgres instance to exclude issues with networking [21:18:45] also because akonadi uses it and i like to have access to my mails :) [21:19:52] mw is the latest LTS version, i build upon ubuntu-16.04 and use their current package's for php and the likes [21:21:42] MaxSem: if it wasn't for their desire to use postgres i would go with mysql/mariadb but i have no other choice here really :/ [21:26:02] can i verify the correct approach to generating the brand new wiki? [21:27:07] as i have my current LocalSettings.php am i correct in copying that over to a new mediawiki install, THEN calling install.php as i show in my bpaste and then afterwards, if required calling update.php? [21:27:51] I wouldn't say copying in LocalSettings first made sense before running install.php [21:28:44] hm, maybe that is the problem caused on my end [21:29:38] Maybe... [21:29:53] As it seems to be trying to run update.php quite early on in install.php [21:30:32] should i call update.php before or after copying LocalSettings.php then? [21:32:54] after [21:33:14] But it looks like it's failing during install.php anyway [21:34:23] i will test it out right now [21:34:43] hm, still the same error [21:38:47] thanks for the help though, it allows me reporting back on my findings with my student association [22:00:41] Does anyone have an export of "Category:Article_message_templates" from wikipedia before 1.31? I am on 1.30 and would like to use these templates [22:02:17] Col: why does mediawiki version matter? [22:02:34] wikipedia doesn't suddenly change everything because a new version is installed; the content largely remains static [22:02:50] although a lot of templates have been converted into lua for performance reasons, so you may need Extension:Scribunto [22:03:27] I have that extension [22:03:37] The import will not work [22:04:34] what happens when you try? [22:06:19] Well I was getting a database error at first, now I am getting 504s [22:07:23] The db error said something to the effect of "Did you forget to run migrations after upgrading?" This is a new install [22:08:49] Did you install any extensions after installing it? [22:11:12] Cite, CiteThisPage, Scribunto, WikiEditor are all the extensions I have installed. [22:11:18] I also have Lua 5.1.5 [22:11:31] oh and Interwiki [22:11:50] !debug [22:11:50] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [22:12:37] do we have something similar to recentchanges, that lists pages changed since my last visit (regardless of the date they were changed on)? [22:31:46] So in the log I have a block like this https://pastebin.com/eucSGPRd for like every template that was in the import [22:35:44] Col: you need to re-run the upgrader after installing extensions [22:36:42] otherwise db tables for extensions won't be set up [22:37:54] Where do I run the upgrader? [22:45:07] https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script [22:51:56] I just ran that and the logs still look the same, still getting the 504 [23:25:17] I am seeing a lot of "Error: bad argument #1 to 'title.new' (number or string expected, got nil)" in the lua log