Fork me on GitHub

Wikimedia IRC logs browser - #wikimedia-tech

Filter:
Start date
End date

Displaying 166 items:

2018-08-08 03:06:24 <Ursula> I'm intermittently having issues with loading scripts from meta.wikimedia.org on en.wikipedia.org.
2018-08-08 14:00:11 <wm-bot> Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @jakob_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-08-08 14:50:08 <wm-bot> Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @jakob_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-08-08 15:00:38 <jakob_WMDE> welcome to today's Technical Advice IRC Meeting hosted today by leszek_wmde and me!
2018-08-08 15:00:49 <Lucas_WMDE> o/
2018-08-08 15:00:57 <jakob_WMDE> o/
2018-08-08 15:01:33 <Lucas_WMDE> is not leszek_wmde, just to avoid confusion ^^
2018-08-08 15:02:17 <jakob_WMDE> we have one open question from Lucas_WMDE which Leszek (who will be here any minute now) promised to look into
2018-08-08 15:02:33 <jakob_WMDE> does anyone else have any questions for now? :)
2018-08-08 15:05:25 <leszek_wmde> So let's maybe pick the topic from the list: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-08-08 15:05:53 <leszek_wmde> Lucas_WMDE: you've asked: we might need something like a {{USERLANGUAGE}} magic word. Such a magic word has been requested for ages (phabricator:T4085), and would in the past have caused problems with the cache; I would appreciate any information on how feasible it would be to introduce this today
2018-08-08 15:05:54 <stashbot> T4085: Add a {{USERLANGUAGE}}/{{USERLANG}} magic word - https://phabricator.wikimedia.org/T4085
2018-08-08 15:06:10 <leszek_wmde> Lucas_WMDE: that is the very interesting question indeed
2018-08-08 15:06:58 <leszek_wmde> Lucas_WMDE: disclaimer to begin with I am not the parser expert
2018-08-08 15:07:47 <leszek_wmde> Lucas_WMDE: I am concerned though that if I understand the idea behind parser cache right, having some magic word like this would practically mean disabling parser cache functionality for the page using this magic word
2018-08-08 15:07:59 <hoo> On multi-lang wikis that would be fine to have (we split the PC by user lang there often anyway)
2018-08-08 15:08:09 <hoo> On monolinguals this would not be acceptable
2018-08-08 15:08:58 <hoo> But shaping the concept slightly differently like a target language might work :)
2018-08-08 15:08:59 <leszek_wmde> Lucas_WMDE: unless Parser could be taught to handle somehow a "slot" that shouldn't be cached
2018-08-08 15:09:24 <leszek_wmde> Lucas_WMDE: but I am not sure if this is even feasible, so I might be talking pure nonsense here
2018-08-08 15:09:36 <d3r1ck> jakob_WMDE, Lucas_WMDE, o/
2018-08-08 15:09:54 <Lucas_WMDE> well, dewiki has MediaWiki:Lang to effectively provide {{USERLANGUAGE}} (masquerading as {{int:Lang}})
2018-08-08 15:10:01 <jakob_WMDE> d3r1ck: o/
2018-08-08 15:10:01 <Lucas_WMDE> does that mean when they use {{int:Lang}} they break the cache?
2018-08-08 15:10:13 <leszek_wmde> I see parser wizards like DanielK_WMDE and tgr are in the channel. Maybe they'd have some thoughts on this topic?
2018-08-08 15:10:15 <Lucas_WMDE> (wikidata has the same trick, and I don’t know how many other wikis as well)
2018-08-08 15:10:18 <hoo> Lucas_WMDE: Yeah
2018-08-08 15:10:48 <hoo> in practice this might be ok (if only used on few pages and almost all users have German set anyway)
2018-08-08 15:11:57 <d3r1ck> hoo: Recently, I updated my Wikibase and got some issues around ItemId object
2018-08-08 15:12:07 <hoo> PC is basically a key-value store… and on mono-lingual pages the user language is not part of the key, while on multilinguals it is
2018-08-08 15:12:12 <d3r1ck> I tried but no way to fix and I had to reinstall WB from scratch
2018-08-08 15:12:29 <d3r1ck> I dropped the questions on #wikidata, let me fetch the logs
2018-08-08 15:12:35 <jakob_WMDE> d3r1ck: class not found errors?
2018-08-08 15:12:48 <d3r1ck> jakob_WMDE: Yeah, let me search the logs
2018-08-08 15:13:35 <chicocvenancio> I have a task that I need some help https://phabricator.wikimedia.org/T201374
2018-08-08 15:13:35 <chicocvenancio> Basically one of the images from the 500px site my tool allows to import into commons is triggering a safety check for .jar files. Is there an automated way to change the image to be complaint with the check?
2018-08-08 15:13:38 <leszek_wmde> hoo: so Lucas_WMDE asks in the context of T200814, which, potentially "might be ok" to use a hack like int:Lang. Although the number of pages might a bit more than a few. So I sadly cannot provide much help, sorry
2018-08-08 15:13:38 <stashbot> T200814: Use language names instead of language codes in edit summaries - https://phabricator.wikimedia.org/T200814
2018-08-08 15:13:43 <jakob_WMDE> d3r1ck: we recently made it a requirement to load Wikibase classes from mediawiki using the composer merge plugin
2018-08-08 15:14:13 <d3r1ck> jakob_WMDE: Ohh I see
2018-08-08 15:14:21 <jakob_WMDE> d3r1ck: so these issues are likely to go away if you add a `composer.local.json` to your mediawiki directory
2018-08-08 15:14:23 <hoo> leszek_wmde: Oh, we're talking about edit summaries?
2018-08-08 15:14:30 <Lucas_WMDE> leszek_wmde: but we shouldn’t really encode that int:Lang hack directly into Wikibase
2018-08-08 15:14:31 <leszek_wmde> hoo: yes
2018-08-08 15:14:32 <tgr> I'm nowhere near a parser wizard, but FWIW Commons uses {{USERLANGUAGE}} and it's not on fire yet
2018-08-08 15:14:34 <hoo> In that case this can be done… those are not cached anyway
2018-08-08 15:14:44 <tgr> not sure how feasible it is for more wikis
2018-08-08 15:14:55 <hoo> they also use a different "parser"
2018-08-08 15:15:02 <d3r1ck> jakob_WMDE: Here is the error "extensions/Wikibase/lib/WikibaseLib.entitytypes.php: Class 'Wikibase\DataModel\Entity\ItemId' not found"
2018-08-08 15:15:03 <leszek_wmde> Lucas_WMDE: yes, encoding this into wikibase wouldn't be possible of course. That would be per wiki only
2018-08-08 15:15:12 <hoo> And Wikibase stuff even has more specific stuff to turn summaries into HTML
2018-08-08 15:15:25 <hoo> so in edit summaries this is perfectly feasible
2018-08-08 15:15:30 <Lucas_WMDE> tgr: how does Commons use it? is there some extension that provides this which is only enabled on Commons?
2018-08-08 15:15:43 <d3r1ck> jakob_WMDE: So maybe the documentation on Wikibase should be updated? So one know exactly what to do?
2018-08-08 15:15:44 <tgr> no, same int:lang trick
2018-08-08 15:15:48 <hoo> Even if the magic word were to exist, you couldn't use it in edit summaries
2018-08-08 15:15:55 <hoo> edit summaries don't use the real parser
2018-08-08 15:15:55 <leszek_wmde> hoo: oh right they do. So wikibase should "only" somehow mimic the behaviour of whatever parser does for int:lang?
2018-08-08 15:16:08 <Lucas_WMDE> ah, ok
2018-08-08 15:16:08 <hoo> Kind of, yes
2018-08-08 15:16:09 <tgr> they used to use it pretty heavily as a template localization mechanism though
2018-08-08 15:16:36 <leszek_wmde> chicocvenancio: reading up task you mentioned
2018-08-08 15:16:46 <d3r1ck> jakob_WMDE: Assuming I didn't redo the whole installation, is there a work around on how to fix that?
2018-08-08 15:17:23 <leszek_wmde> d3r1ck this looks like class autoloading issue. This have actually changed slightly in Wikibase very recently
2018-08-08 15:17:25 <jakob_WMDE> d3r1ck: which installation guide did you follow? I had a quick look and found that https://www.mediawiki.org/wiki/Wikibase/Installation and the readme https://phabricator.wikimedia.org/diffusion/EWBA/browse/master/README.md$53 already have the pointer to the composer merge plugin there
2018-08-08 15:18:09 <hoo> I only updated the mediawiki.org page today
2018-08-08 15:18:34 <jakob_WMDE> d3r1ck: adding `composer.local.json` with the JSON it has in the two links I just mentioned should do the trick :)
2018-08-08 15:18:34 <hoo> so revisiting it might make sense… installation via running composer in Wikibase no longer works
2018-08-08 15:18:41 <jakob_WMDE> oh, thanks hoo!
2018-08-08 15:20:33 <d3r1ck> hoo: Thanks for updating :)
2018-08-08 15:21:04 <d3r1ck> jakob_WMDE: Yeah, hoo just saved the day :D
2018-08-08 15:21:13 <Niridya> hello ;) do you have news about this task https://phabricator.wikimedia.org/T64987 ?
2018-08-08 15:21:51 <jakob_WMDE> d3r1ck: great! :)
2018-08-08 15:22:06 <Reedy> Niridya: It looks like it's blocked on an upstream bug
2018-08-08 15:22:45 <DanielK_WMDE> leszek_wmde: the output of all slots is cached together. so if one slot is not cached, nothign is
2018-08-08 15:23:17 <leszek_wmde> there you go. I new I should not be using the word "slot" without a disclaimer I don't mean anything related to MCR :)
2018-08-08 15:23:18 <Niridya> Reedy oh ! and does a task exist for this bug ?
2018-08-08 15:23:28 <leszek_wmde> I meant part of the actual page/slot
2018-08-08 15:23:45 <leszek_wmde> but it also turned out that it all is not related to parser cache apparently DanielK_WMDE
2018-08-08 15:23:48 <d3r1ck> There's been a pending patch, https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/367320, maybe Theimo can throw more lights?
2018-08-08 15:23:52 <Reedy> https://bugzilla.gnome.org/show_bug.cgi?id=739329 -> https://gitlab.gnome.org/GNOME/librsvg/issues/95
2018-08-08 15:24:02 <d3r1ck> jakob_WMDE: Lydia had to give some pointers on what to do after that patch
2018-08-08 15:24:41 <DanielK_WMDE> leszek_wmde: non-cached bits and pieces are possible but hack: cache a placeholder in the text, "hydrate" later. core does this for edit links. wikibase does this for the term box
2018-08-08 15:24:54 <Niridya> Reedy so it's not a problem in our side. thanks ;)
2018-08-08 15:25:29 <Niridya> Reedy and do you have news about https://phabricator.wikimedia.org/T174374 ?
2018-08-08 15:26:26 <Reedy> Niridya: Nope. If there's been no comments, changes of status, or dependent bugs added/removed, chances are there's no updates
2018-08-08 15:26:32 <d3r1ck> jakob_WMDE: Tomorrow will clock 1 year that the patch has been around :)
2018-08-08 15:27:01 <Niridya> Reedy thanks ;)
2018-08-08 15:28:29 <jakob_WMDE> d3r1ck: I'm taking a look at it right now. Unfortunately Thiemo is on leave this week, but I could try to ping him about it next week
2018-08-08 15:28:46 <d3r1ck> jakob_WMDE: ohh thank you very much :)
2018-08-08 15:29:12 <d3r1ck> I'm pretty sure that task has a lot of poking around to do in order to get it resolved
2018-08-08 15:29:26 <d3r1ck> Some discussions as per whether it should be done or not and why etc
2018-08-08 15:30:13 <leszek_wmde> chicocvenancio: sorry for taking that long to get back to you
2018-08-08 15:30:36 <leszek_wmde> chicocvenancio: sadly I am not aware of automatic ways to "fix" images like that
2018-08-08 15:31:17 <chicocvenancio> :(
2018-08-08 15:31:46 <leszek_wmde> chicocvenancio: it is an annoying bug though
2018-08-08 15:32:03 <Lucas_WMDE> if the {{USERLANGUAGE}} discussion is over I’ll log off for now, see you all
2018-08-08 15:32:31 <chicocvenancio> leszek_wmde: On the "exif has html tags" I managed to pad the jpeg and that solved it
2018-08-08 15:33:00 <chicocvenancio> But this doesn't seem as easy
2018-08-08 15:33:25 <jakob_WMDE> d3r1ck: I added myself to the reviewer list and will try to have a look as soon as I'm not swamped with other stuff ;)
2018-08-08 15:33:44 <leszek_wmde> chicocvenancio: do you maybe have any hint what part of the jpeg file might be involved?
2018-08-08 15:33:50 <d3r1ck> jakob_WMDE: Sure :)
2018-08-08 15:34:05 <leszek_wmde> I am not sure how deep did you manage to dig into this really chicocvenancio :)
2018-08-08 15:34:17 <chicocvenancio> Apparently the end bytes
2018-08-08 15:35:00 <chicocvenancio> IE6 ignored mime types and tried to figure out filetypes from content
2018-08-08 15:35:48 <chicocvenancio> And hiding a jar in images was an attack vector. Because it not only looked at the beginning of the file, but the end as well
2018-08-08 15:36:27 <chicocvenancio> And apparently some innocent images trigger this by accident
2018-08-08 15:36:45 <chicocvenancio> (not sure what IE6 would do with them...)
2018-08-08 15:37:08 <leszek_wmde> chicocvenancio: oh
2018-08-08 15:37:10 <Reedy> own your computer
2018-08-08 15:37:53 <chicocvenancio> So basically I am looking for a lossless process to change the ending of the image file into something that won't make it seem like a zip file
2018-08-08 15:38:31 <chicocvenancio> Reedy: I mean I'm not sure what IE6 would do with the innocent images that look like zip files...
2018-08-08 15:38:58 <chicocvenancio> Not the maliciously created ones
2018-08-08 15:40:42 <Reedy> It's quite possible you're just getting a false positive in the MW detection
2018-08-08 15:41:04 <chicocvenancio> Indeed
2018-08-08 15:41:22 <d3r1ck> Just a notice lately when I use flow. When I want to mention someone using the @<name>, once it inserts the name of the person mentioned, the cursor moves to the beginning of the name rather than the end of the name, is it intentional?
2018-08-08 15:42:34 <leszek_wmde> chicocvenancio: how frequent those false positives are, do you have any estimate?
2018-08-08 15:47:16 <d3r1ck> I'm also wondering how watchlist link behaves lately on wikis, has someone seen this? https://phabricator.wikimedia.org/T200656, Andre gave some hints already
2018-08-08 15:47:44 <chicocvenancio> leszek_wmde: Not very frequent, 1 in 40k if the 500px is a random sample
2018-08-08 15:47:58 <leszek_wmde> chicocvenancio: not that I am happy to give such advice, but if the case are really rare, maybe some manual fixing (like the file save again etc) would be good enough
2018-08-08 15:48:04 <leszek_wmde> chicocvenancio: oh, 1 in 40k
2018-08-08 15:48:39 <leszek_wmde> chicocvenancio: sorry to not have better thing to offer than hope this is a really an edge case :)
2018-08-08 15:49:11 <chicocvenancio> Thanks for thinking about it, leszek_wmde
2018-08-08 15:50:10 <leszek_wmde> chicocvenancio: you're welcome
2018-08-08 15:50:20 <d3r1ck> jakob_WMDE: Is it possible to have interwiki Categories? Something like this: [[mw:Category:Some category]]?
2018-08-08 15:50:47 <d3r1ck> That is coming in handy, I remember I wanted to use that sometime ago
2018-08-08 15:51:32 <d3r1ck> Assuming I'm on Meta-Wiki and want to add a category that is on MediaWiki wiki and don't want to create it on Meta-Wiki, can I do [[mw:Category:Some category]]?
2018-08-08 15:52:18 <Reedy> No
2018-08-08 15:52:21 <jakob_WMDE> d3r1ck: ohh, that is outside of my expertise unfortunately. can someone else in the channel offer help regarding that?
2018-08-08 15:52:23 <Reedy> That'll link to it
2018-08-08 15:53:06 <d3r1ck> Reedy: Is interwiki categories useful at all? Maybe a use case to see if this can be tried out or something?
2018-08-08 15:53:14 <d3r1ck> jakob_WMDE: Okay, np
2018-08-08 15:53:23 <apergos> afaik there is no cross-category capability, a caegory exists on the local wiki and is in the table, or it isn't
2018-08-08 15:53:28 <apergos> *category
2018-08-08 15:53:44 <d3r1ck> apergos: Okay! :)
2018-08-08 15:55:11 <apergos> some categories do have interwiki links already. example: https://en.wikipedia.org/wiki/Category:Privacy_law
2018-08-08 15:55:30 <Reedy> yay, wikidata
2018-08-08 16:00:39 <jakob_WMDE> and that concludes today's Technical Advice IRC Meeting! thanks everyone for participating and for the questions!
2018-08-08 16:00:49 <jakob_WMDE> see you! :)
2018-08-08 16:00:55 <apergos> thanks for running it!
2018-08-08 16:01:33 <leszek_wmde> thanks guys and make sure you join the next meeting on August, 15th!
2018-08-08 18:29:29 <revi> let's say admin who is int-admin deleted a CSS page, and later admin who IS NOT an int-admin tries to undelete that page. Is this possible (after the transition period is over)?
2018-08-08 18:30:03 <revi> (I know admin who is not int-admin won't be allowed to delete the page after the transition)
2018-08-08 18:30:44 <revi> (maybe tgr knows?)
2018-08-08 18:34:49 <Urbanecm> Good question revi
2018-08-08 18:45:05 <ToBeCloud> receiving 503s
2018-08-08 18:45:22 <sjoerddebruin> problem is known
2018-08-08 18:45:36 <ToBeCloud> I was almost sure :) thanks
2018-08-08 18:46:24 <ToBeCloud> yep they're working on it
2018-08-08 18:47:30 <apergos> to people reporting issues, there's some network things happening
2018-08-08 18:47:35 <apergos> and folsk are looking at it
2018-08-08 18:48:39 <Bencemac> it is back
2018-08-08 19:17:28 <apergos> investigation of this issue is still ongoing
2018-08-08 19:55:15 <Nemo_bis> revi: Usually actions on a title require the permission to edit that title. Per-namespace protections should not be affected by deletion.
2018-08-08 19:55:44 <Nemo_bis> (I've not checked the specific implementation here.)
2018-08-08 19:56:01 <Hauskatze> Nemo_bis: I think revi is now sleeping :)
2018-08-08 19:56:45 <Nemo_bis> writes for posterity
2018-08-08 22:00:08 <wm-bot> Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @chiborg - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
2018-08-08 22:02:04 <chicocvenancio> ^is this accurate ?
2018-08-08 22:03:22 <quiddity> chicocvenancio, no :/ It was last week, but not this week.
2018-08-08 22:23:25 <bd808> chicocvenancio, quiddity: I sent addshore and Fisch an email about the logic bug in their notification bot. It misfired today because of a sneaky bash type coercion problem.
2018-08-08 22:23:25 <quiddity> ty!
2018-08-08 22:23:53 <bd808> $(date "+%d") -gt 7 -- today that turned into "08" -gt "7" instead of 8 -gt 7 as they had hoped
2018-08-08 22:24:27 <bd808> Changing to $(date "+%e") should fix the bug
2018-08-08 22:31:35 <jem> Hi everyone, wm-bot4 is inviting to a technical meeting in half an hour in #wikimedia-bots, which is wrong
2018-08-08 22:50:12 <wm-bot> Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @chiborg - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting

This page is generated from SQL logs, you can also download static txt files from here