[08:36:37] Hello, I am trying to figure out inactivity. For some reason RC doesn't show all edits. [08:36:39] https://tyrolmountains.miraheze.org/w/index.php?title=Special:RecentChanges&days=90000000000000000000&from= [08:36:46] Hi! Where can I find a description on the WMF / MW data structure and the associated Lua commands for Scribontu? [08:36:54] This is the maximum amount and it doesn't show the creating of the page "Zugspitze" [10:36:33] hello! [10:37:31] can somebody tell me some 'general topics' on which wikimedia presentations are carried out? [10:47:49] anybody? [11:36:15] Husun: Don't expect many people to be about today on Christmas [11:38:42] Husun: General in what sense? [12:00:41] yo,my nickname is AC_Q,i'm doing tasks on gci [12:01:49] AC_Q: Cool. It's Christmas, so you might not get much response toda [12:02:19] haha so be it, merry christmas [12:19:03] Reedy: I just realized I got a reply :D [12:19:46] Reedy: 'general' means normally, most commonly, on what topics are wmf presentations based on? [12:22:05] presentations where? [12:22:23] hold on, I brb [12:58:30] Reedy: i went away for pretty long time, sorry, anyways, wikimedia presentations and their resources available on https://commons.wikimedia.org/wiki/Category:Wikimedia_presentations, can they be grouped into any topics. [13:19:34] how I could get the url of a file in commons if i have the filename using mediawiki api? [13:22:52] The_Photographer: https://www.mediawiki.org/wiki/API:Imageinfo [13:24:09] Vulpix: thanks! [13:24:16] yw :) [14:07:43] Vulpix: are you there? [14:38:41] hi; I'm trying to extract an html representation from a wiki page, but some words are missing [14:38:48] for example: https://it.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&titles=Leonardo%20da%20Vinci&redirects=true [14:39:42] citations are missing ("{{Citazione|bla bla bla|Source}}") [14:39:52] is there a way to include them? [15:01:20] The_Photographer: now I am :) [15:01:37] frafra: do you want just text extracts, or the full page content? [15:02:22] I guess extracts strips all template content so infoboxes aren't included [15:05:57] Vulpix, yes, I think that this could be the problem; I would like to extract the text + this kind of template (Citazioni), because it contains citations, and they are part of the text [15:07:35] maybe I should extract the full page content and then try to remove stuff, but I don't know how I could do [15:08:47] frafra: May the Force be with you [15:09:07] frafra: the HTML of the entire page can be extracted with prop=revisions: https://it.wikipedia.org/w/api.php?format=json&action=query&prop=revisions&titles=Leonardo%20da%20Vinci&rvprop=content&rvparse=1&redirects=true [15:12:37] in my case I want extract the description from a file in commons, https://commons.wikimedia.org/w/api.php?format=json&action=query&prop=revisions&titles=File:Black%20Grouse%20(Tetrao%20tetrix)%20(W1CDR0001396%20BD3).ogg&rvprop=content&rvparse=1&redirects=true [15:12:51] maybe a getElementbyClassname "description" I dont know [15:13:46] thank you Vulpix and The_Photographer :) [15:14:02] :)] [16:32:38] I used '.noprint, .image, .thumb, .toc, .mw-editsection, .reference, .CdA { display: none; }' but it's not enough [16:33:17] I think I should get the wikitext, remove everything inside {{...}} (except "Citazione") and convert it to html [17:14:07] frafra: what is it that you want to do ? [17:14:29] Change the world [17:15:34] thedj, I made a little script in order to fetch some pages from the Italian version of Wikipedia and convert them into an audio file using espeak/festival [17:16:12] (it also produces a html and mobi ebook) [17:16:15] so text to speach.. [17:16:21] yes [17:16:45] it works quite well, but quotes are missing [17:17:20] (because they use a template and prop=extracts removes every template) [17:17:21] that's always the problem with those kinds of things.. requires a lot of curation, and you can do it all over again for every single wikipedia version :) [17:17:43] extracts remove tables and a few classes. [17:18:22] do you have an example of a quote ? [17:18:26] eheheh :) I tried to fetch the html version and then apply a simple css (like a blacklist), but some templates have no class [17:18:29] sure [17:19:25] https://it.wikipedia.org/w/index.php?title=Leonardo_da_Vinci&action=edit§ion=1 [17:19:30] second line [17:20:17] if you use extracts, you get something like "

Biografia

\n

...", so the whole section is empty [17:20:20] actually, extract usually only gets the first paragraph. so that is why it's not in the extract [17:20:50] although.. [17:21:01] in this case it's also a table. so it will also be stripped for that. [17:21:27] to which the answer of the devs will be "fix the template, who the .... puts a quote in table" [17:22:20] ehehhe [17:26:32] thank you thedj, I'll propose a different version [18:07:59] Hello Everyone! Merry Christmas! [18:23:22] Merry Christmas ananayarora and everyone! :) [19:51:37] mmm... https://www.wikidata.org/wiki/Q9381 links to "Adam Smith" for Italian language, but https://www.wikidata.org/wiki/Special:EntityData/Q9381.json shows "Adam Smith levine", but this page doesn't exists [19:55:15] Presumably some caching isue [19:55:16] *issue [19:56:06] Gesundheit, Reedy [19:56:17] Danke [20:11:18] legoktm: I need help :$ [20:11:22] "File must end with a newline character" [20:11:32] This is what Jenkins bot is giving me. [20:11:37] FlorianSW: ^^ [20:11:49] https://integration.wikimedia.org/ci/job/php-composer-test/26632/console [20:13:05] ananayarora: that's correct, just add a new line after the last one :) It needs to be an empty line at the end of the file. [20:13:14] That's what jenkins tries to say to you :P [20:13:21] FlorianSW: Oh! [20:15:00] FlorianSW: Uploaded the new patchset! Let's wait for Jenkins-bot to review it [20:15:27] Hats off to the people who made all these cool automated things [20:23:28] FlorianSW: PHP Composer Test Succeeded! :D [20:23:47] yes *thumbsup* [20:24:01] :D [20:24:12] But there's some error in the Unit tests [20:24:13] https://integration.wikimedia.org/ci/job/mediawiki-extensions-qunit/24538/consoleFull [20:24:20] FlorianSW: ^ [20:24:51] qunit tests are flaky [20:25:57] ananayarora: Like Reedy said, that's not a problem with the change :) [20:26:14] FlorianSW: Okay! [20:26:26] So there's nothing I can do about it? :$ [20:26:43] recheck [20:27:00] Unless you're changing js, you can just ignore it [20:27:44] Reedy: I didn't change JS. Only PHP. There was a PHP Composer Error which was fixed in this patchset by adding a new line in the end of the file. I think we can ignore this then [20:28:02] Sounds like it [20:28:27] Reedy: Should I submit the task in GCI then? [20:28:35] ananayarora: yep [20:28:40] For review? I probably would [20:29:02] Is it just me or are karma tests timing out more often? [20:29:21] ...more often than before? [20:29:37] Karma? [20:29:46] FlorianSW: Can you approve it in Gerrit, so that it's approved by Andre on the GCI panel? [20:29:53] on Gerrit* [20:29:55] karma -> karma-qunit runner [20:30:16] ananayarora: is Andre the mentor? [20:30:50] FlorianSW: I'm not sure. His name isn't there in the Mentors list, but he did send my work back just now. [20:30:56] On GCI. [20:31:10] can you give me a link to the task? [20:31:29] https://codein.withgoogle.com/dashboard/task-instances/5730140826894336/?sp-page=1 [20:31:42] As in, "25 12 2015 20:19:43.746:WARN [Chromium 47.0.2526 (Ubuntu 0.0.0)]: Disconnected (1 times), because no message in 60000 ms." [20:32:05] Which leads to "Task "karma:main" failed" [20:32:09] FlorianSW: http://prntscr.com/9ihozh [20:32:36] OH-: That looks like a timeout on the server. [20:32:57] Yes, it's just that I never noticed these before [20:33:17] ananayarora: Like Andre said, he "just did it because" of my -1 :) Legoktm can approve the task, and I'm sure he will approve the change in gerrit, too :) [20:33:30] Either they happen much more frequently than before, or I didn't work in areas that had those tests [20:33:34] FlorianSW: Okay! [23:16:05] Hi, any can help me? [23:16:22] I have problems with the mergehistory tool