[06:00:56] Hi guys [06:01:10] I'm trying to run some js code on my site, can anyone help me with that? [06:01:55] This is the code I'm trying to run: https://github.com/samsch/cryptocurrency-table#running-this-project [06:02:04] made a widget for it like this: https://www.thecryptowiki.org/Widget:Tracker2 [06:02:06] but not working [06:02:09] any ideas? [06:02:43] I installed it on another website that had no extensions installed, and it worked. :/ [07:18:24] hi [07:18:52] I'm trying to run some js code on my site, can anyone help me with that? [07:18:55] This is the code I'm trying to run: https://github.com/samsch/cryptocurrency-table#running-this-project [07:18:58] made a widget for it like this: https://www.thecryptowiki.org/Widget:Tracker2 [07:19:00] but not working [07:50:37] DeepChill: #mediawiki [09:39:34] MaxSem: Would be cool if you could take another look at https://gerrit.wikimedia.org/r/#/c/398094/6 :-) [09:47:50] hello; what is the value of $wgCopyUploadsDomains for commons.wikimedia.org? [10:01:45] qq[IrcCity]: https://noc.wikimedia.org/conf/InitialiseSettings.php.txt [10:04:57] thanks andre__ – more info than I expected to get. [11:19:11] BTW why don’t such tools as https://noc.wikimedia.org/conf/highlight.php neither produce id="…" nor use CSS? [15:04:21] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @addshore & @CFisch_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:20:44] O/ [15:34:18] \o/ [15:49:00] =o [15:53:18] Hello all [15:53:42] 👋 [15:55:25] Hey Lucas_WMDE. Did the meeting started ? [15:55:46] Onix it officially starts in 5 min :-) [15:55:50] onix: no, I’m not even hosting it – I just wanted to join the general wave of greetings :) [15:56:38] Haha. Greetings to you so [15:56:42] But this channel is open for everyone and questions in general can be asked 24/7 I would say ;-) [16:00:11] Technical Advice IRC meeting starting now in channel #wikimedia-tech, hosts: @addshore & @Christoph_Jauera_(WMDE) - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [16:00:39] o/ [16:00:40] \o [16:00:47] 7w 25 [16:00:52] sorry [16:00:53] O/ [16:00:58] \o/ [16:01:13] Hello everyone :) [16:01:24] Welcome everybody to the 2nd TAI in 2018! [16:01:33] +M [16:01:35] :-D [16:02:08] 0/ [16:02:15] it's time for TAIM ;) [16:02:45] hello my people [16:03:14] If we have any super clean rounded questions I think it would be cool to try and include them on https://discourse-mediawiki.wmflabs.org/ :) [16:03:20] hi geniack_ [16:03:23] Yes [16:03:24] oh, it's time for TAI [16:03:25] docker run -d --link sql.wikimedia.es:sql.wikimedia.es --link mail.wikimedia.es:mail.wikimedia.es -v /opt/docker-wmes/dev-log/log:/dev/log -v /opt/docker-wmes/dev-log:/dev/syslog:ro -v /opt/tubin:/var/www -v /opt/wmes-config/web/wikis/apache2/:/etc/apache2 -v /opt/docker-logs/apache2/wiki:/var/log/apache2 --name wiki.wikimedia.es --hostname wiki.wikimedia.es wmes-mediawiki [16:03:31] argh [16:03:36] International Atomic Time [16:04:15] One thing to announce here: We now have a board for dev where questions can be asked [16:04:21] and answers are preserved [16:04:36] so spread the word :-) [16:04:42] https://discourse-mediawiki.wmflabs.org/ [16:04:55] and a slightly annoying bot ;) [16:06:15] 2nd thing I would like to point your attention to: [16:06:53] The 2018 Hackathon is coming and you can register attend for scholarships! [16:07:12] https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2018/ [16:07:22] Goat for it! [16:08:21] CFisch_WMDE: Yes, and deadline is 30th Jan. [16:08:21] CFisch_WMDE: Goat? :D [16:08:26] Thanks CFisch_WMDE [16:08:45] Yes deadline for scholarships is 30th Jan [16:09:33] d3r1ck: https://phabricator.wikimedia.org/project/profile/2926/ [16:09:39] ;-) [16:10:32] So anyone any technical questions, struggles with code? :-) [16:10:32] CFisch_WMDE: lol [16:10:48] CFisch_WMDE: Thanks for the link! :D [16:13:13] So I love PDFs even though reading wikis are better since you can correct a mistake [16:13:28] But when I go to this page: https://www.mediawiki.org/wiki/Manual:MediaWiki_Developer%27s_Guide and try to download the pdf, it says rendering failed [16:13:33] Any idea what is happening? [16:14:48] d3r1ck: did you see https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality#Update_September_2017 ? [16:15:59] Okay I see, maybe the pages that need such functionalities to be updated or a notice put that pdfs are not currently available? [16:16:08] https://m.mediawiki.org/wiki/Wikimedia_Hackathon_2018/ at the Same time the page is empty and no info about the 2018 hackaton for me :( [16:16:14] Platonides: Honestly I didn't know about the OCG service not working till now [16:16:35] OCG is dead. [16:16:37] onix: Yes, this is the page: https://m.mediawiki.org/wiki/Wikimedia_Hackathon_2018 [16:16:42] onix: try https://m.mediawiki.org/wiki/Wikimedia_Hackathon_2018 [16:16:47] :-) [16:16:49] So with the trailing "/", it's a different stuff :) [16:17:32] d3r1ck, that link is a book. See https://phabricator.wikimedia.org/T177076 [16:17:56] no idea about the state of that task though :-/ [16:18:06] Can we ask IRC-related questions [16:18:11] Probably not right? [16:18:29] ask whatever you want to ask :P [16:18:50] andre__: Okay! Hopefully, some other service replaces that in the next coming months, I love PDFs :) [16:18:51] Platonides: Thanks [16:18:55] who deals with wikimedia cloaks? [16:18:59] ^ [16:19:09] d3r1ck: Electron and Proton should, at some point [16:19:18] Adotchar, https://meta.wikimedia.org/wiki/IRC/Cloaks [16:19:18] * CFisch_WMDE afk for a few min .. sry brb [16:19:21] Been waiting for cloak since late Oct [16:19:50] andre__ I know that link. I’ve been waiting since mid November. It says it should take a week [16:20:03] Adotchar, mynameisnotdave, I think you can ping on #wikimedia-ops after the meeting [16:20:11] k thanks [16:20:12] no [16:20:13] d3r1ck: sure thx [16:20:15] Then also, on the link andre__ sent, you will see the people working on that [16:20:17] Adotchar: please not [16:20:23] Okay I won’t... [16:20:26] Ops have nothing to do with IRC cloaks [16:20:34] Ohh okay! [16:20:41] lol alright [16:20:45] Mine took more than a month and 2 weeks [16:20:49] https://meta.wikimedia.org/wiki/IRC/Cloaks#People_who_administer_Wikimedia_cloaks lists people. [16:20:57] I think 1 month to be processed [16:21:03] You could send them an email on wiki. Or try to find them on IRC. [16:21:09] So I'll say you should exercise some patience :) [16:21:23] (but as I said, #wikimedia-ops has nothing to do with IRC cloaks on Freenode, hence my "no" here) [16:21:41] andre__: Yes! Understood :) [16:25:36] Don't know if Thiemo of WMDE is around but just wanted to know if this has been handled: https://phabricator.wikimedia.org/T153204 [16:25:47] Maybe addshore knows about this? [16:26:24] Also Lydia_WMDE ;) [16:27:26] *reads up* :D [16:28:22] interesting, well, it doesn't look like it is being actively worked on as it is not on the current wikidata sprint board [16:29:04] as you asked for WMDE people, I thought this would have been T184354 [16:29:34] addshore: Okay! But there is a pending patch for that even thought it's a WIP [16:30:10] Phantom42: I can't view that :( [16:30:25] addshore: But it says will be considered for the next sprint, so I'll just be patient then :) [16:30:34] ahh yes Platonides, I also don't know the state of that! [16:30:49] :( [16:30:56] d3r1ck, indeed! the "considering for next sprint" column is rather large :D [16:31:59] Platonides: I can probably poke on our internal mailing list [16:34:25] addshore: Maybe a quick look at this would be of help and please do clear it? https://phabricator.wikimedia.org/rEMLG8deb35f51be698366dc90fee67917cac7a1707d3 [16:34:42] I can't access gerrit right now, my ISP is crazy but can get it via phab [16:37:36] re [16:39:23] d3r1ck: +2ed :) [16:39:39] addshore: Thanks very much! I'm happy :) [16:49:12] wheeee :) [16:49:36] oooh, CFisch_WMDE a JS question! https://discourse-mediawiki.wmflabs.org/t/javascript-resourceloader-general-load-mask-available/56 [16:50:35] :-D [16:50:42] Hi rfarrand ! [16:50:44] :-) [16:50:55] CFisch_WMDE Hey!! [16:51:04] o/ [16:51:09] Nice job getting Birgit a goat! I am assuming that was all your idea? [16:51:22] Zimt...such a yummy name. [16:51:27] hey addshore :) [16:51:27] oh, I just realized I have a question too :D [16:51:35] Lucas_WMDE: fire away! [16:51:39] Yes, mainly Johanna's [16:51:40] andre__: indeed! [16:51:58] what’s the best way to add a ResourceLoader module to all pages of a wiki when my extension currently doesn’t see an OutputPage anywhere? [16:52:23] the extension mainly provides an API module, and the ResourceLoader module calls it from the client [16:52:34] on literally all page loads? [16:53:04] well, the module to be loaded has a skip function, so it wouldn’t actually be loaded everywhere [16:53:23] but on all page loads of Wikidata entities [16:53:35] hmm, so I expect you would want one of the "Page Rendering" php hooks [16:53:42] d3r1ck: Hey! Just received your ping. Did you have some questions to me? [16:53:45] (hm, that reminds me, might be a good idea to skip constraint checks on historical and dif fpages…) [16:54:06] so Lucas_WMDE you want it loading on all aritcles in a set of namespaces? so for wikibase all entity namesapaces? [16:54:07] Phantom42: Hmmm... Nope! My memory is very volatile at times :) [16:54:25] addshore: yeah [16:55:07] d3r1ck: Hm, okay :) [16:55:45] hmmmm [16:56:32] BeforePageDisplay perhaps [16:57:23] "Allows last minute changes to the output page, e.g. adding of CSS or JavaScript by extensions." [16:57:26] sounds about right [16:57:32] sounds great, thanks! [16:57:35] https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay [16:58:09] one of those annoying things about repository browsing [16:58:10] Lucas_WMDE: mind asking the question on https://discourse-mediawiki.wmflabs.org/ too? :D [16:58:13] I am looking for a tool [16:58:20] which is on a repository [16:58:22] and then I can put an answer up and the answer will remain easily searchable for ever! [16:58:26] addshore: okay :) [16:58:26] but I don't remember its name [16:58:30] any suggestions? [16:58:33] I wasn’t sure if it was a good question :D [16:58:54] Platonides: a "tool" that is on a "repository"? what sort of tool and what sort of repository? [16:59:00] what does it do? :) [16:59:09] addshore: I was lookign for "2gerrit" [16:59:20] it's at a repository with miscelaneous tools :P [16:59:26] tools to do with? [16:59:28] :D [16:59:36] mediawiki code? [16:59:38] on gerit? or? [16:59:51] no, it's a wmf repo [16:59:58] I would just browse the folders [17:00:01] 0 matches @ https://github.com/search?q=org%3Awikimedia+2gerrit&type=Code [17:00:15] but there doesn't seem to be a way to do that [17:00:45] addshore: don't forget, we also now have https://codesearch.wmflabs.org/search/ for code search [17:01:00] indeed :D I love that! [17:01:13] It's faster than doing it locally, hah! [17:01:43] So the official hour is up now, but as said before, you can always stick around and ask questions .... or use https://discourse-mediawiki.wmflabs.org/ [17:02:44] and don't forget to register for the Hackathon scholarships if you need one! https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2018 [17:06:07] addshore: https://discourse-mediawiki.wmflabs.org/t/how-should-i-add-a-resourceloader-module-to-most-pages-from-an-extension/57 [17:06:14] Lucas_WMDE: sweeet! [17:07:12] oooh, I can see that you’re writing a reply! [17:07:34] hm, not sure if that’s a good thing actually… [17:08:15] Lucas_WMDE: you can? =o [17:08:49] yup [17:09:11] can you see that I’m composing a reply to you? [17:09:22] yes! [17:47:11] OutputPage::getTitle()’s return type is Title|null. Is it actually possible for an output page to have no title? (outside of test setups) [17:59:59] Lucas_WMDE: if something uses an OutputPage while running e.g. from CLI, in load.php, in the web installer, or while handling an exception that happened before we set a title [18:00:34] MatmaRex: hm, the exception part might happen in my case [18:00:41] so I’ll just check for null :) thank you!