[00:40:34] Hmm, i can't do a intitle:Foo OR intitle:Bar in cirrus search? [00:41:33] You can run two searches. [00:42:13] yeah, but i don't want to do that ;) [01:00:03] Also, what's the proper way to modify an oojs-ui input field from my gadget [01:00:22] $( '#idOfInput' ).val( 'foo' ) no longer seems to work [01:16:53] bawolff: OO.ui.infuse('#idOfWidget').setValue( ... ) maybe? [01:17:03] or some other way to get the OO.ui object [01:17:14] Well i can try that [01:25:47] note that it's OO.ui.infuse('idOfWidget') or OO.ui.infuse($('#idOfWidget')) [01:26:02] (otherwise yes) [01:36:10] why is there a dompurify module registered? [01:36:27] (Dompurify should not be used to sanitize html) [01:38:28] bawolff: https://codesearch.wmflabs.org/search/?q=dompurify&i=nope&files=&repos= visualeditor [09:46:42] Hey! I try to copy Template:Navbox_with_collapsible_groups (https://en.wikipedia.org/wiki/Template:Navbox_with_collapsible_groups) from English Wikipedia to my wiki (https://trv.banenor.no/wiki/Forside), but it does not seem to work properly (do not collapse, and text justification is all wrong). What do I miss? I've copied the "collapsible" class from Common.css and the code for "Collapsible tables" from Common.js, but still no luck. [13:21:59] I am working on a bug present in mediawiki1.22 . 'git branch -a' shows only up to REL1_23. Is there any way to checkout to REL1_22 [14:09:46] Gopa___ hi, nope [14:09:52] REL1_22 has been deleted [14:09:59] as it is a unsupported release. [14:16:46] paladox: is there no other way [14:17:00] Gopa___ nope unless you check out a tag [14:17:43] git checkout 1.22.15 [14:18:30] Gopa___ ^^ [14:20:10] paladox: No 1.22.15 is not showing to me [14:20:19] Hmm. [14:20:52] https://github.com/wikimedia/mediawiki/tree/1.22.15 [14:20:55] Gopa___ ^^ [14:56:20] Hey! After upgrade to MediaWiki 1.30, my custom changes in MediaWiki:Common.js do not seem to have effect any more. I have read release notes for MW 1.30 and other docs, googled and debugged, but still have no clue what can result it. Any suggestions? :/ [15:11:15] Hi avahnoach. [15:12:24] avahnoach: You could try putting a console.log('testing'); line in that wiki page to test whether it's loading. [15:14:16] is it possible to query the api to return a list of languages in which a certain searchterm is defined? For example 'boom' means something in dutch and in english. [15:15:11] from what i can see the queries have to already specify a language like: https://en.wikipedia.org/etc [15:15:48] Ivy: It seems that it does :/ Wonder why the rest of the code does not work anymore, then. [15:15:57] Ivy: https://trv.banenor.no/wiki/MediaWiki:Common.js [15:16:32] avahnoach: Do you see this error? "Uncaught ReferenceError: addOnloadHook is not defined" [15:17:17] avahnoach: You probably need to rewrite some of this JavaScript to not use addOnloadHook. [15:17:38] xorgate: You could look at Wikidata maybe. [15:17:59] xorgate: For example: https://www.wikidata.org/wiki/Q723972 [15:18:10] But Wikidata is focused on concepts, not terms, per se. [15:18:29] It sounds like you want "boom" in English and Dutch, even if the two are unrelated? [15:19:13] Ivy: yes I want (my users) to search for a word they do not know the meaning of, and make a list of languages in which this word is defined on wikipedia, so they can choose one [15:19:57] The opensearch API may cut across languages, I don't know. [15:20:19] suppose you are german and you hear 'boom' on tv or whatever, then type it, and get a list of languages, hopefully one in german, and then show the german article [15:20:47] Instead of using a search engine like Google? [15:21:00] Ivy: Thank you, I will check this out! [15:21:20] ivy yes i think this process can be optimized [15:21:38] xorgate: Neat. :-) [15:21:39] avahnoach: No problem. [15:22:06] like for example the dutch article of 'boom' (tree, in english) has a bunch of links to this article in other languages. i want to use this to make it easier to find information [15:22:25] avahnoach: https://www.mediawiki.org/wiki/ResourceLoader/Legacy_JavaScript has some documentation about replacing addOnloadHook. [15:22:57] so far my experience with opensearch is that i have to supply a language already [15:23:21] xorgate: Are you familiar with interlanguage links? [15:23:32] Like if you look up "Barack Obama" on the English Wikipedia, you have links to the German version of the same article? [15:23:54] That data got migrated/moved into Wikidata mostly, I think. So if that's what you want, you could query Wikidata's API I think. [15:26:52] hm i am not yet familiar [15:28:08] ivy yes those links are what i mean.. But I wish to make the jump from 'Finch' (en) to 'Vink' (nl), but first I need to know that 'finch' is defined in english. preferrably without specifying english [15:28:47] i will check wikidata, thanks [17:21:57] dr0ptp4kt: fwiw - https://phabricator.wikimedia.org/T183313#3919531 is indeed the sort of comment that I think these discussions should start from. Although I may be a minority in my view there. Seems like most people want to discuss already existing debates [18:42:01] CindyCicaleseWMF: https://www.mediawiki.org/wiki/Gerrit/%2B2#Non-wikimedia_extensions [18:58:13] Thanks, bawolff. That is the guidance I followed for years as a volunteer extension developer, yet I have received complaints about self merge to non-Wikimedia extensions of which I am the sole maintainer. [18:59:02] Code review is undoubtedly a good thing, and I would like to set more of it, but it doesn't always happen visibly on gerrit for non-Wikimedia extensions. [18:59:46] s/set/see/ [18:59:50] My view is that code review policy for an extension should be entirely determined by its author/maintainer if its not wmf. Sure code review is nice, but its impoosible when you're the only contributor [19:46:59] +1 to bawolff [21:19:18] HI.. I forgot how to make to showing changes in recent changes look as on wiki projects? [21:20:15] On link you can see on what I think https://yadi.sk/i/7gkJix0U3RiuBv [21:24:48] HI.. I forgot how to make to showing changes in recent changes look as on wiki projects? [21:24:52] On link you can see on what I think https://yadi.sk/i/7gkJix0U3RiuBv [22:55:07] https://gerrit.wikimedia.org/r/#/projects/mediawiki/core,dashboards/default has weird dates [22:56:08] like https://gerrit.wikimedia.org/r/367326 seemed to have weird last touched [23:08:56] Oh, xorgate left. [23:09:01] I was going to ask if he figured it out. [23:25:37] bawolff: if someone removes themselves (or adds!) as a CC, then it updates last touched, but leaves no other visible trace [23:25:43] Ah