[00:41:16] Hello, how to invalidate the ResourceLoader cache? [00:41:44] E.g. [00:41:47] https://it.wikipedia.org/w/load.php?debug=false&lang=it&modules=site.styles&only=styles&skin=vector [00:42:13] I can do this but it does not apply to the above one: [00:42:16] view-source:https://it.wikipedia.org/w/load.php?debug=false&lang=it&modules=site.styles&only=styles&skin=vector&invalidated [00:42:22] (Sorry:) [00:42:25] https://it.wikipedia.org/w/load.php?debug=false&lang=it&modules=site.styles&only=styles&skin=vector&invalidated [00:46:41] I'm 100% sure that this CSS is old. 20 minutes at least. :| [00:47:08] OK nothing, it changed automagically just now. [00:52:28] hi guys. is there a way to list users with more than 10 edits on my wiki? [01:01:37] It's a simple query from the database looking at the editcount field [01:02:01] valerio-bozzolan, is this exposed via the api also? [01:03:07] Yes and no [01:03:12] https://en.wikipedia.org/w/api.php?action=help&modules=query%2Ballusers [01:03:27] You can show that field, but it can't be used as filter [01:04:49] I'm quite sure that you have to do a database query to do it in an efficient way and without getting the entire list of your users (if they are thousands) [01:07:25] via the api, how do i continue, if there is more than 500 users (the limit for non-bots is 500)? [01:40:18] That's a FAQ :) [01:40:50] https://www.mediawiki.org/wiki/API:Query#Continuing_queries [01:57:50] cool [04:38:47] hello [07:57:46] I'm upgrading extensions in conjunction with 1.30.0 -> 1.31.0 upgrade. Should I move the old extensions out of the way before extracting the new ones or is it ok to extract over the existing extensions directories? [07:59:47] jubo2, I imagine moving them out of the way leaves less stray files around [07:59:57] Sveta: that's what I think too [08:34:02] I am finding article titles of non-latin characters in the enwiki dump. [08:34:05] Kind of off-topic, but weird. [10:13:04] i have imported some page with special characters in them. they appear to exist, because i can see them when searching... but they are not accessible. when i click the link shown in the search results, it goes to create a new page [10:13:07] example "Çoğulu" [11:19:33] khalella: how did you import? [11:20:12] Nikerabbit: i use importDump.php [11:21:37] Does anyone call to europarlament by using the tools on wikipedia? [11:21:39] i am generating the XML dump with python ElementTree... i think the string is probanly escaped somehow [11:22:37] <Nikerabbit> khalella: uhhuh, you could run maintenance/cleanupTitles.php to see if it is an encoding issue or similar [11:23:43] <khalella> > renaming 3882 (0,'モンゾ') to (0,'Broken/モンゾ') [11:23:46] <khalella> D: [11:24:36] <khalella> oh wow it does look like its fixing these... [11:26:25] <khalella> Nikerabbit: hell yes thank you [11:29:55] <Nikerabbit> khalella: you likely want to have a look what is causing those issues and fix it [11:30:10] <Nikerabbit> khalella: mediawiki is very picky about having the right encoding and unicode normalization [11:33:10] <khalella> Nikerabbit: i only need to import these once [23:17:55] <David_Hedlund> Is there any script in maintenance/ that I can use to create pages with? [23:18:43] <David_Hedlund> I couldn't figure out any script that does that by reading the 187 file names. [23:21:11] <Reedy> edit.php ? [23:22:34] <David_Hedlund> Reedy: I've already tried that one but it didn't work: echo $(date +%s.%N) > test.wiki; php /var/www/w/maintenance/edit.php "Test" Testa < test.wiki [23:23:29] <David_Hedlund> Reedy: http://<mydomain>/wiki/Testa says "There is currently no text in this page." [23:23:45] * David_Hedlund reading the options for edit.php [23:23:47] <Reedy> And what does Test say? [23:24:01] <Reedy> Cause it'd look like the first parameter passed would be the page name [23:25:18] <David_Hedlund> Reedy: Usage: php edit.php [--autosummary|--bot|--conf|--createonly|--dbpass|--dbuser|--globals|--help|--memory-limit|--minor|--no-rc|--nocreate|--profiler|--quiet|--server|--summary|--user|--wiki] <title> [23:26:21] <Reedy> Yes, the script works fine [23:26:22] <David_Hedlund> Reedy: Yeah, I forgot to add the -s option [23:26:28] <Reedy> on "Test" on my wiki, I see "1530746748.383550632" [23:27:24] <David_Hedlund> Reedy: It worked now with "-s" added. [23:41:20] <dsd> hey